PT-2026-60292 · Ncnn · Ncnn
CVE-2026-50144
·
Published
2026-07-15
·
Updated
2026-07-15
CVSS v3.1
7.1
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
ncnn versions prior to 5a0288f255daa6c3294f77109f67718e434ec020
Description
An out-of-bounds heap write occurs in the
ncnn::ParamDict::load param() function when Net::load param() processes a malicious .param model file. This happens because the parsed parameter id is only validated against id >= NCNN MAX PARAM COUNT, which allows a negative id to index memory before the params[NCNN MAX PARAM COUNT] array.Recommendations
Update to version 5a0288f255daa6c3294f77109f67718e434ec020 or later.
Exploit
Fix
Improper Validation of Array Index
Memory Corruption
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Ncnn