freenode

← CVE tracker

CVE-2026-5450

scanf %mc off-by-one heap buffer overflow

Severity
critical CVSS 9.8 (v3.1)
Affects
glibc · The GNU C Library
Weakness
CWE-122 Heap-based buffer overflow
Published
20 April 2026 by glibc
First seen on our lists
23 July 2026
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.

Our coverage

On the lists