# CVE-2026-5450: scanf %mc off-by-one heap buffer overflow

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-20T20:55:41.170Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- The GNU C Library glibc: from 2.7 before *
- gnu glibc: from 2.7 up to 2.43

## References

- <https://sourceware.org/bugzilla/show_bug.cgi?id=CVE-2026-5450> (exploit, issue-tracking)
- <https://inbox.sourceware.org/libc-announce/b11f0003-6ec1-4bd6-b9de-9e38a4efeca3@redhat.com/T/#u> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Sources

- CVE List: [CVE-2026-5450](https://www.cve.org/CVERecord?id=CVE-2026-5450), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-5450](https://nvd.nist.gov/vuln/detail/CVE-2026-5450), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-5450 · Whole record: https://cve.day/CVE-2026-5450.json · Rebuilt by cve.day 2026-11-25T22:59:19.066Z
