Description
Calling the scanf family of functions with a %mc (malloc'd character match) in the GNU C Library version 2.7 to version 2.43 with a format width specifier with an explicit width greater than 1024 could result in a one byte heap buffer overflow.
Problem types
CWE-122 Heap-based buffer overflow
Product status
2.7 (custom) before *
Credits
Rocket Ma
References
sourceware.org/bugzilla/show_bug.cgi?id=CVE-2026-5450
sourceware.org/bugzilla/show_bug.cgi?id=CVE-2026-5450
inbox.sourceware.org/...4bd6-b9de-9e38a4efeca3@redhat.com/T/