patchminder
Proof of concept · CISA assessment CVE-2026-50144

Memory corruptionin Tencent ncnn.

Published 15 Jul 2026 · Updated 17 Jul 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
High 7.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.2% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 5a0288f255daa6c3294f77109f67718e434ec020 or later
In plain words

ncnn is a high-performance neural network inference framework optimized for the mobile platform. In commit e54f7b1f88434e1d844ea0551b880a1cfb079ce1 and earlier, ncnn allows an out-of-bounds heap write in ncnn::ParamDict::load_param() when Net::load_param() loads a malicious .param model file because the parsed parameter id is checked only against id >= NCNN_MAX_PARAM_COUNT, allowing a negative id to index before the params[NCNN_MAX_PARAM_COUNT] array. This vulnerability is fixed by commit 5a0288f255daa6c3294f77109f67718e434ec020.

What to do now
  • Upgrade ncnn to 5a0288f255daa6c3294f77109f67718e434ec020 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
ncnn
before 5a0288f255daa6c3294f77109f67718e434ec020
5a0288f255daa6c3294f77109f67718e434ec020
CVE record
ncnn
20260526 and earlier
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 3 Jun 2026
    CVE ID reserved by GitHub_M.
  2. 15 Jul 2026
    Published in the CVE List.
  3. 17 Jul 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other ncnn vulnerabilities

Same weakness: Improper input validation

All CWE-20 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-50144: Memory corruption in Tencent ncnn. https://patchminder.com/cve/cve-2026-50144/ (accessed 5 December 2026).