CVE-2026-5450Published Apr 20, 2026 · Apr 20Updated Nov 13
scanf %mc off-by-one heap buffer overflow
The GNU C Library glibc
Critical9.8
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| The GNU C Library glibc |
| No fix yet |
Original 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.
From the CVE record · glibc
References
- sourceware.org/bugzilla/show_bug.cgi?id=CVE-2026-5450Exploit
- inbox.sourceware.org/libc-announce/b11f0003-6ec1-4bd6-b9de-9e38a4efeca3@redhat.com/T/#uAdvisory
- cert-portal.siemens.com/productcert/html/ssa-082556.html
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5450.json
- nvd.nist.gov/vuln/detail/CVE-2026-5450