Skip to content
HighVulnerability

CVE-2026-50144: ncnn out-of-bounds heap write in param loading from malicious .param file

Identifier
CVE-2026-50144
Published
Record updated
View JSON
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.