CVE-2026-5450
scanf %mc off-by-one heap buffer overflow
- State
- Published
- Severity
- 9.8 Critical
- Published
- Apr 20, 2026
- Updated
- Oct 15, 2026
- Reserved
- Apr 2, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Weaknesses
- CWE-122 Heap-based buffer overflow
Affected Products
| Product | Versions |
|---|---|
glibcThe GNU C Library |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.