CVE-2026-5450

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

VendorProductVersionsFixed
GNUglibc>=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

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-5450 severity on Zeptric[![CVE-2026-5450](https://zeptric.io/badge/cve/CVE-2026-5450.svg)](https://zeptric.io/cve/CVE-2026-5450)