CVE-2026-50144
Full vulnerability record from the local CVENow database.
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.
Severity
HIGH
CVSS score
7.1
(v3.1)
Vulnerability status
Awaiting Analysis
Source identifier
Published
2026-07-15 20:17:13.500000
Last modified
2026-10-24 21:10:00.130000
View original CVE JSON
{
"id": "CVE-2026-50144",
"sourceIdentifier": "[email protected]",
"published": "2026-07-15T20:17:13.500",
"lastModified": "2026-10-24T21:10:00.130",
"vulnStatus": "Awaiting Analysis",
"cveTags": [],
"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."
},
{
"lang": "es",
"value": "ncnn es un framework de inferencia de redes neuronales de alto rendimiento optimizado para la plataforma móvil. En el commit e54f7b1f88434e1d844ea0551b880a1cfb079ce1 y anteriores, ncnn permite una escritura fuera de límites en el heap (out-of-bounds heap write) en ncnn::ParamDict::load_param() cuando Net::load_param() carga un archivo de modelo .param malicioso porque el ID del parámetro analizado se verifica solo contra id >= NCNN_MAX_PARAM_COUNT, lo que permite que un ID negativo indexe antes del array params[NCNN_MAX_PARAM_COUNT]. Esta vulnerabilidad se corrige con el commit 5a0288f255daa6c3294f77109f67718e434ec020."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "Tencent",
"product": "ncnn",
"versions": [
{
"version": "< 5a0288f255daa6c3294f77109f67718e434ec020",
"status": "affected"
},
{
"version": "<= 20260526",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"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"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-20"
},
{
"lang": "en",
"value": "CWE-129"
},
{
"lang": "en",
"value": "CWE-787"
}
]
}
],
"references": [
{
"url": "https://github.com/Tencent/ncnn/commit/5a0288f255daa6c3294f77109f67718e434ec020",
"source": "[email protected]"
},
{
"url": "https://github.com/Tencent/ncnn/security/advisories/GHSA-jxmc-3mv6-7pwr",
"source": "[email protected]"
},
{
"url": "https://github.com/Tencent/ncnn/security/advisories/GHSA-jxmc-3mv6-7pwr",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}