HighVulnerability
CVE-2026-50144: ncnn out-of-bounds heap write in param loading from malicious .param file
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-50144
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%
Summary
CVE-2026-50144 affects ncnn, a neural network inference framework for mobile platforms, in commit e54f7b1f88434e1d844ea0551b880a1cfb079ce1 and earlier. When Net::load_param() loads a malicious .param model file, ncnn::ParamDict::load_param() performs an out-of-bounds heap write, because the parsed parameter id is only checked against id >= NCNN_MAX_PARAM_COUNT, so a negative id indexes before the params[NCNN_MAX_PARAM_COUNT] array.
Mitigation
This vulnerability is fixed by commit 5a0288f255daa6c3294f77109f67718e434ec020.
Related items
- MediumCVE-2026-138033: mcp-video-analyzer server-side request forgery via video URL inputsSimilar attack · NVD/CVE Database
- MediumSwitzerland Confirms AI-Assisted Cyberattacks Breached Critical Infrastructure OperatorsSimilar attack · The Hacker News
- MediumCVE-2026-137668: ONNX ONNXMLTools cross site scripting in visualize_model via producer_nameSimilar attack · NVD/CVE Database
- MediumCVE-2026-137667: ONNX ONNXMLTools cross site scripting in Model VisualizationSimilar attack · NVD/CVE Database
- InfoEvaluating transformer based language model robustness under low rate training data poisoningSimilar attack · OpenAlex (peer-reviewed AI security)