published 20 Apr 2026 · updated 16 Nov 2026
scanf %mc off-by-one heap buffer overflow
10.0CriticalCVSS 9.8EPSS 1%1 public exploits
A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in *.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| GNU | glibc | >=2.7 <=2.43 | |
| The GNU C Library | =2.7 | * |
Exploit evidence
1 public sources
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in GNU, strongest first
10.0CriticalCISA KEVPublic exploit
10.0CriticalCISA KEVPublic exploit
10.0CriticalCISA KEVPublic exploit
10.0CriticalCISA KEVPublic exploit
10.0CriticalCISA KEVPublic exploit
Embed
A live severity badge for an advisory, README or ticket