CVE-2018-12699: finish_stab in stabs.c in GNU Binutils 2.30 allows attackers to cause a denial of service (heap-based buffer o
CVE-2018-12699 is a critical-severity flaw (CVSS 9.8) affecting binutils, ubuntu linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
finish_stab in stabs.c in GNU Binutils 2.30 allows attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact, as demonstrated by an out-of-bounds write of 8 bytes. This can occur during execution of objdump.
Why this priority
- Critical severity
- EPSS top 8%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 4.5% (top 8%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2018-06-23 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · 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
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: usn.ubuntu.com/4336-1/
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-2018-12699?
binutils: downgrade or apply the listed mitigation; ubuntu linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-12699 being exploited?
CVE-2018-12699 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-2018-12699 affect?
CVE-2018-12699 affects binutils, ubuntu linux. Severity is critical (CVSS 9.8). finish_stab in stabs.c in GNU Binutils 2.30 allows attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact, as demonstrated by an out-of-bounds write of 8 bytes. This can occur during ex
How urgent is CVE-2018-12699?
Priority 72/100. Critical severity; EPSS top 8%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2026-6846 HIGH 7.8 UPGRADE MITIGATE A flaw was found in binutils
- CVE-2026-6844 MEDIUM 5.5 MITIGATE MITIGATE A flaw was found in the `readelf` utility of the binutils package
- CVE-2026-6845 MEDIUM 5.0 MITIGATE MITIGATE A flaw was found in binutils, specifically within the `readelf` utility
- CVE-2018-18700 MEDIUM 5.5 DOWNGRADE An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31
- CVE-2025-8224 LOW 3.3 DOWNGRADE A vulnerability has been found in GNU Binutils 2.44 and classified as problematic