VYPR
Unrated severityNVD Advisory· Published Apr 25, 2018· Updated Aug 5, 2024

CVE-2018-10372

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

Patches

0

No 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

News mentions

0

No linked articles in our index yet.