{"api_version":"1","generated_at":"2026-07-24T21:14:22+00:00","cve":"CVE-2026-50144","urls":{"html":"https://cve.report/CVE-2026-50144","api":"https://cve.report/api/cve/CVE-2026-50144.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-50144","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-50144"},"summary":{"title":"ncnn: Out-of-bounds heap write in ParamDict::load_param via unchecked negative parameter id","description":"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-15 20:17:13","updated_at":"2026-07-17 13:18:54"},"problem_types":["CWE-20","CWE-129","CWE-787","CWE-20 CWE-20: Improper Input Validation","CWE-129 CWE-129: Improper Validation of Array Index","CWE-787 CWE-787: Out-of-bounds Write"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"7.1","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.1","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","data":{"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"}}],"references":[{"url":"https://github.com/Tencent/ncnn/commit/5a0288f255daa6c3294f77109f67718e434ec020","name":"https://github.com/Tencent/ncnn/commit/5a0288f255daa6c3294f77109f67718e434ec020","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/Tencent/ncnn/security/advisories/GHSA-jxmc-3mv6-7pwr","name":"https://github.com/Tencent/ncnn/security/advisories/GHSA-jxmc-3mv6-7pwr","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-50144","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50144","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Tencent","product":"ncnn","version":"affected < 5a0288f255daa6c3294f77109f67718e434ec020","platforms":[]},{"source":"CNA","vendor":"Tencent","product":"ncnn","version":"affected <= 20260526","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"50144","cve":"CVE-2026-50144","epss":"0.001080000","percentile":"0.014220000","score_date":"2026-07-20","updated_at":"2026-07-21 00:13:14"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-50144","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-07-17T12:27:05.477293Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-07-17T12:27:10.432Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"references":[{"tags":["exploit"],"url":"https://github.com/Tencent/ncnn/security/advisories/GHSA-jxmc-3mv6-7pwr"}],"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"ncnn","vendor":"Tencent","versions":[{"status":"affected","version":"< 5a0288f255daa6c3294f77109f67718e434ec020"},{"status":"affected","version":"<= 20260526"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-129","description":"CWE-129: Improper Validation of Array Index","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-15T20:04:07.099Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"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"},{"name":"https://github.com/Tencent/ncnn/commit/5a0288f255daa6c3294f77109f67718e434ec020","tags":["x_refsource_MISC"],"url":"https://github.com/Tencent/ncnn/commit/5a0288f255daa6c3294f77109f67718e434ec020"}],"source":{"advisory":"GHSA-jxmc-3mv6-7pwr","discovery":"UNKNOWN"},"title":"ncnn: Out-of-bounds heap write in ParamDict::load_param via unchecked negative parameter id"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-50144","datePublished":"2026-07-15T20:04:07.099Z","dateReserved":"2026-06-03T18:49:32.275Z","dateUpdated":"2026-07-17T12:27:10.432Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-15 20:17:13","lastModifiedDate":"2026-07-17 13:18:54","problem_types":["CWE-20","CWE-129","CWE-787","CWE-20 CWE-20: Improper Input Validation","CWE-129 CWE-129: Improper Validation of Array Index","CWE-787 CWE-787: Out-of-bounds Write"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-17T12:27:05.477293Z","id":"CVE-2026-50144","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"50144","Ordinal":"1","Title":"ncnn: Out-of-bounds heap write in ParamDict::load_param via unch","CVE":"CVE-2026-50144","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"50144","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"ncnn: Out-of-bounds heap write in ParamDict::load_param via unch"}]}}}