CVE-2012-2114: Stack-based buffer overflow in fprintf in musl before 0.8.8 and earlier allows context-dependent attackers to
CVE-2012-2114 is a high-severity flaw (CVSS 7.5) affecting musl. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Stack-based buffer overflow in fprintf in musl before 0.8.8 and earlier allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long string to an unbuffered stream such as stderr.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| EPSS exploit chance | 2.4% (top 16%) |
| CISA exploited list | No |
| Weakness | CWE-119 |
| Published | 2012-08-31 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2012-2114?
musl: upgrade to newer than 0.8.8. Exact commands for each OS are on this page.
Is CVE-2012-2114 being exploited?
CVE-2012-2114 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2012-2114 affect?
CVE-2012-2114 affects musl. Severity is high (CVSS 7.5). Stack-based buffer overflow in fprintf in musl before 0.8.8 and earlier allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long string to an unbuffered stream such as stderr.
How urgent is CVE-2012-2114?
Priority 47/100. High severity
Related CVEs
- CVE-2025-26519 HIGH 8.1 UPGRADE musl libc 0.9.13 through 1.2.5 before 1.2.6 has an out-of-bounds write vulnerability when an attacker can trig
- CVE-2020-28928 MEDIUM 5.5 UPGRADE MITIGATE In musl libc through 1.2.1, wcsnrtombs mishandles particular combinations of destination buffer size and sourc
- CVE-2019-14697 CRITICAL 9.8 UPGRADE musl libc through 1.1.23 has an x87 floating-point stack adjustment imbalance, related to the math/i386/ direc
- CVE-2017-15650 HIGH 7.5 UPGRADE musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback in network/lo
- CVE-2016-8859 CRITICAL 9.8 UPGRADE Multiple integer overflows in the TRE library and musl libc allow attackers to cause memory corruption via a l