CVE-2018-10372
Description
A heap-based buffer over-read in process_cu_tu_index (dwarf.c) of GNU Binutils 2.30 allows denial of service via a crafted binary file.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A heap-based buffer over-read in process_cu_tu_index (dwarf.c) of GNU Binutils 2.30 allows denial of service via a crafted binary file.
Vulnerability
The vulnerability resides in the process_cu_tu_index function in dwarf.c of GNU Binutils version 2.30. It is a heap-based buffer over-read that can be triggered by processing a specially crafted binary file, as demonstrated with readelf [1], [2]. The flaw occurs when the tool incorrectly reads beyond the bounds of an allocated heap buffer while parsing DWARF unit index data.
Exploitation
An attacker can exploit this vulnerability by crafting a malicious binary file (e.g., an ELF file with manipulated debug sections) and enticing a user or automated system to process it with a vulnerable version of Binutils (such as running readelf or objdump). No special privileges or network access are required; the attack vector is local, relying on user interaction. The trigger is immediate upon parsing the malformed input [2], [4].
Impact
Successful exploitation results in a denial of service: the application (e.g., readelf) crashes. The heap-based buffer over-read may potentially be leveraged for other unspecified impacts, including arbitrary code execution, although the primary consequence documented is a crash leading to denial of service [2], [4].
Mitigation
The vulnerability is fixed in GNU Binutils versions after 2.30. Red Hat issued fix RHSA-2018:3032 (August 2018) [1], Ubuntu published USN-4336-1 with version 2.30-21ubuntu1~18.04.3 [2], and Gentoo GLSA 201908-01 recommends upgrading to >=sys-devel/binutils-2.32-r1 [4]. Users should update their Binutils package to the latest patched version available for their distribution.
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
18- osv-coords17 versionspkg:rpm/opensuse/binutils&distro=openSUSE%20Tumbleweedpkg:rpm/suse/binutils&distro=SUSE%20Enterprise%20Storage%204pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSSpkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%2012-LTSSpkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/binutils&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3pkg:rpm/suse/binutils&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/cross-ppc-binutils&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3pkg:rpm/suse/cross-spu-binutils&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3
< 2.37-1.3+ 16 more
- (no CPE)range: < 2.37-1.3
- (no CPE)range: < 2.31-9.26.1
- (no CPE)range: < 2.31-9.26.1
- (no CPE)range: < 2.31-6.3.1
- (no CPE)range: < 2.31-6.3.1
- (no CPE)range: < 2.31-9.26.1
- (no CPE)range: < 2.31-9.26.1
- (no CPE)range: < 2.31-9.26.1
- (no CPE)range: < 2.31-9.26.1
- (no CPE)range: < 2.31-9.26.1
- (no CPE)range: < 2.31-9.26.1
- (no CPE)range: < 2.31-9.26.1
- (no CPE)range: < 2.31-9.26.1
- (no CPE)range: < 2.31-9.26.1
- (no CPE)range: < 2.31-9.26.1
- (no CPE)range: < 2.31-9.26.1
- (no CPE)range: < 2.31-9.26.1
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
6- access.redhat.com/errata/RHBA-2019:0327mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2018:3032mitrevendor-advisoryx_refsource_REDHAT
- security.gentoo.org/glsa/201908-01mitrevendor-advisoryx_refsource_GENTOO
- usn.ubuntu.com/4336-1/mitrevendor-advisoryx_refsource_UBUNTU
- www.securityfocus.com/bid/103976mitrevdb-entryx_refsource_BID
- sourceware.org/bugzilla/show_bug.cgimitrex_refsource_MISC
News mentions
0No linked articles in our index yet.