CVE Explorer
CVE-2026-50144
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 5a0288
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-129","description":"CWE-129: Improper Validation of Array Index","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:202482fbe6dbce191dbe5b1c0dfa10998ade106d21daf51eaddff57d810968da · sha256:8701888c0092e63f… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:202482fbe6dbce191dbe5b1c0dfa10998ade106d21daf51eaddff57d810968da · sha256:8701888c0092e63f… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:202482fbe6dbce191dbe5b1c0dfa10998ade106d21daf51eaddff57d810968da · sha256:8701888c0092e63f… · /containers/cna/problemTypes/2/descriptions/0
Affected products and versions
1 source assertion{"product":"ncnn","vendor":"Tencent","versions":[{"status":"affected","version":"< 5a0288f255daa6c3294f77109f67718e434ec020"},{"status":"affected","version":"<= 20260526"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:202482fbe6dbce191dbe5b1c0dfa10998ade106d21daf51eaddff57d810968da · sha256:8701888c0092e63f… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:202482fbe6dbce191dbe5b1c0dfa10998ade106d21daf51eaddff57d810968da · sha256:8701888c0092e63f… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-129","description":"CWE-129: Improper Validation of Array Index","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:202482fbe6dbce191dbe5b1c0dfa10998ade106d21daf51eaddff57d810968da · sha256:8701888c0092e63f… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:202482fbe6dbce191dbe5b1c0dfa10998ade106d21daf51eaddff57d810968da · sha256:8701888c0092e63f… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:202482fbe6dbce191dbe5b1c0dfa10998ade106d21daf51eaddff57d810968da · sha256:8701888c0092e63f… · /containers/cna/problemTypes/2/descriptions/0
Source references
3 source assertions{"name":"https://github.com/Tencent/ncnn/commit/5a0288f255daa6c3294f77109f67718e434ec020","tags":["x_refsource_MISC"],"url":"https://github.com/Tencent/ncnn/commit/5a0288f255daa6c3294f77109f67718e434ec020"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:202482fbe6dbce191dbe5b1c0dfa10998ade106d21daf51eaddff57d810968da · sha256:8701888c0092e63f… · /containers/cna/references/1
{"name":"https://github.com/Tencent/ncnn/security/advisories/GHSA-jxmc-3mv6-7pwr","tags":["x_refsource_CONFIRM"],"url":"https://github.com/Tencent/ncnn/security/advisories/GHSA-jxmc-3mv6-7pwr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:202482fbe6dbce191dbe5b1c0dfa10998ade106d21daf51eaddff57d810968da · sha256:8701888c0092e63f… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/Tencent/ncnn/security/advisories/GHSA-jxmc-3mv6-7pwr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:202482fbe6dbce191dbe5b1c0dfa10998ade106d21daf51eaddff57d810968da · sha256:8701888c0092e63f… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.