CVE-2018-12699 json
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 uns…
published 2018-06-23 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-4652
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.5%
- EPSS 4.5% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- binutils Debian 14, Debian 13, Debian 12 2.32.51.20190707-1
debian advisories DEBIAN-CVE-2018-12699
- binutils Ubuntu 18.04 LTS 2.30-21ubuntu1~18.04.3
- binutils Ubuntu Pro 16.04 LTS 2.26.1-1ubuntu1~16.04.8+esm1
ubuntu advisories UBUNTU-CVE-2018-12699
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- binutils RHEL 8 2.30-125.el8_10
red hat advisories RHSA-2024:9689
- binutils AlmaLinux 8 2.30-125.el8_10
almalinux advisories ALSA-2024:9689
- binutils Rocky Linux 8 2.30-125.el8_10
rocky linux advisories RLSA-2024:9689
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-12699 updated cvss 0.0
binutils: heap-based buffer overflow in finish_stab in stabs.c
-
Red Hat Enterprise Linux 5 binutils, binutils220 Red Hat Enterprise Linux 6 binutils Red Hat Enterprise Linux 7 binutils Red Hat Enterprise Linux 8 mingw-binutils, mingw32-binutils, mingw64-binutils, mingw-binutils-genericaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 8) binutils-devel 2.30-125.el8_10, binutils-debuginfo 2.30-125.el8_10, binutils-debugsource 2.30-125.el8_10 Red Hat Enterprise Linux BaseOS (v. 8) binutils 2.30-125.el8_10fixed: vendor fix RHSA-2024:9689
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.53% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.launchpad.net https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763102 referenced PoC, tagged "exploit" by a source, unverified
- sourceware.org https://sourceware.org/bugzilla/show_bug.cgi?id=23057 referenced PoC, tagged "exploit" by a source, unverified
- gcc.gnu.org https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85454 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
bugs.launchpad.net
/ubuntu/+source/binutils/+bug/1763102
exploit, third-party-advisory
-
sourceware.org
/bugzilla/show_bug.cgi?id=23057
exploit, issue-tracking, third-party-advisory
-
gcc.gnu.org
/bugzilla/show_bug.cgi?id=85454
exploit, issue-tracking, vendor-advisory
-
security.gentoo.org
/glsa/201908-01
vendor-advisory
-
usn.ubuntu.com
/4336-1/
vendor-advisory
-
securityfocus.com
/bid/104540
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2018-12699
- NVD CVE-2018-12699
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.