Vulnerabilities / CVE-2018-12699

critical

CVE-2018-12699

binutils: heap-based buffer overflow in finish_stab in stabs.c

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (low), AlmaLinux (low), Oracle (low), Rocky Linux (low), Ubuntu (low).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 3.0crash8.0.2-1.ph3
Photon OS 4.0crash, crash-devel8.0.2-1.ph4
alma 8binutils, binutils-devel2.30-125.el8_10
debian 11binutils2.32.51.20190707-1
debian 12binutils2.32.51.20190707-1
debian 13binutils2.32.51.20190707-1
debian 14binutils2.32.51.20190707-1
echobinutils2.32.51.20190707-1
Oracle Linux 8binutils, binutils-devel2.30-125.0.1.el8_10
Red Hatbinutils, binutils-devel, mingw-binutils and 3 moreno fix listed
rocky 8binutils2.30-125.el8_10
root.io debian 12rootio-binutils2.32.51.20190707-1
Show all 23 entries from 15 sources
SourcePackageFixed in
Photon OS 3.0crash8.0.2-1.ph3
Photon OS 4.0crash8.0.2-1.ph4
Photon OS 4.0crash-devel8.0.2-1.ph4
alma 8binutils2.30-125.el8_10
alma 8binutils-devel2.30-125.el8_10
debian 11binutils2.32.51.20190707-1
debian 12binutils2.32.51.20190707-1
debian 13binutils2.32.51.20190707-1
debian 14binutils2.32.51.20190707-1
echobinutils2.32.51.20190707-1
Oracle Linux 8binutils2.30-125.0.1.el8_10
Oracle Linux 8binutils-devel2.30-125.0.1.el8_10
Red Hatbinutilsno fix listed
Red Hatbinutils-develno fix listed
Red Hatmingw-binutilsno fix listed
Red Hatmingw-binutils-genericno fix listed
Red Hatmingw32-binutilsno fix listed
Red Hatmingw64-binutilsno fix listed
rocky 8binutils2.30-125.el8_10
root.io debian 12rootio-binutils2.32.51.20190707-1
ubuntu 16.04-ESMbinutils2.26.1-1ubuntu1~16.04.8+esm1
ubuntu 18.04binutils2.30-21ubuntu1~18.04.3
ubuntu 18.04-ESMbinutils2.30-21ubuntu1~18.04.3

References

All 20 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.