Skip to content
CVE PROGRAM SOURCE RECORD9.8 Critical

CVE-2026-5450

scanf %mc off-by-one heap buffer overflow

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

The GNU C Library glibc

Default version status: unaffected

  • 2.7 to < *affected

References