CVE-2026-5450
JSON

9.8critical

scanf %mc off-by-one heap buffer overflow

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.51% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
glibc

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

Product or packageVersionsReported by
The GNU C Library glibcfrom 2.7 before *CVE List
gnu glibcfrom 2.7 up to 2.43NVD

Classification

CWE-122CWE-787

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Al llamar a la familia de funciones scanf con un %mc (coincidencia de carácter asignado con malloc) en la biblioteca C de GNU, versiones 2.7 a 2.43, con un especificador de ancho de formato con un ancho explícito mayor que 1024, podría resultar en un desbordamiento de búfer de montón de un byte.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-5450 changed 2026-10-15CVE Terms of Use
NVDCVE-2026-5450 changed 2026-11-11Public domain