Bug 2501257 - CVE-2026-50144 ncnn: ncnn: Out-of-bounds write allows arbitrary code execution [fedora-all]
Summary: CVE-2026-50144 ncnn: ncnn: Out-of-bounds write allows arbitrary code executio...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: ncnn
Version: 45
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Felix Wang
QA Contact:
URL:
Whiteboard: {"flaws": ["dee63321-1e85-457c-b9ee-b...
Depends On:
Blocks: CVE-2026-50144
TreeView+ depends on / blocked
 
Reported: 2026-07-16 08:01 UTC by Marian Rehak
Modified: 2026-08-17 15:20 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-07-16 08:01:17 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Aoife Moloney 2026-08-17 15:20:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


Note You need to log in before you can comment on or make changes to this bug.