« List of all CVEs

CVE-2026-5450

scanf %mc off-by-one heap buffer overflow

Published: 4/20/2026 Last updated: 4/21/2026 Reserved: 4/2/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.

CNA assigner: glibc (3ff69d7a-14f2-4f67-a097-88dee7810d18) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 9.8 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Opam packages affected (1)

gettext-stub

Products affected (2)

Product Vendor Version
glibc The GNU C Library n/a
glibc The GNU C Library n/a

References (6)

Credits (2)