Skip to main content

GNU Binutils CVE-2025-8225

LOW
Memory Leak (CWE-401)
2025-07-27 cna@vuldb.com
1.9
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain local system access
  2. Delivery
    Authenticate as unprivileged user
  3. Exploit
    Craft malicious ELF binary with DWARF metadata
  4. Install
    Invoke Binutils tool on crafted binary
  5. C2
    Trigger memory leak in process_debug_info
  6. Execute
    Exhaust available memory
  7. Impact
    Cause denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires local system access and low-privilege user authentication (CVSS PR:L). The attacker must be able to invoke Binutils tools (readelf, objdump, nm, etc.) and supply a crafted ELF binary with malicious DWARF debug sections as input. Default installations of Binutils do not prevent local users from using these tools, making exploitation feasible in shared systems or development environments. The vulnerability is NOT triggered by default configuration; rather, it requires the specific act of parsing a maliciously crafted DWARF section. Network-facing services are unlikely to be affected unless they explicitly parse untrusted binaries through Binutils. The impact is limited to availability via memory exhaustion and does not enable privilege escalation, code execution, or information disclosure.

Impact

The CVSS 4.0 score of 1.9 with vector AV:L/AC:L/PR:L reflects a local attack requiring authentication and low complexity, with availability impact only (VA:L) and no confidentiality or integrity impact. The EPSS score of 0.03% (10th percentile) indicates very low real-world exploitation probability despite POC availability, suggesting this is a low-priority vulnerability. The limiting factors are clear: local access required, authenticated user needed (PR:L means low privileges), and impact limited to memory exhaustion rather than code execution or privilege escalation. The presence of publicly available exploit code combined with extremely low EPSS suggests the issue may require specific conditions (such as processing particularly crafted binaries) or may be difficult to weaponize at scale. The availability-only impact means this is a denial-of-service vector affecting service availability rather than confidentiality or integrity. For most environments, this represents a low-priority issue unless the system runs untrusted binaries through Binutils tools continuously.

Exploit ScenarioDerived

A local authenticated user crafts or obtains a specially formatted ELF binary with malicious DWARF debug section metadata. The user then invokes a Binutils tool like readelf or objdump on this binary, which triggers the memory leak in process_debug_info during DWARF parsing. With repeated invocations or a sufficiently large debug section, memory consumption grows until available memory is exhausted, causing the tool to crash or the system to experience denial of service.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 29, 2026

Memory leak in GNU Binutils 2.44 DWARF section handler allows local authenticated users to consume memory resources, potentially leading to denial of service. The vulnerability exists in the process_debug_info function of binutils/dwarf.c and is triggered during DWARF debug information parsing. Publicly available exploit code exists, and a vendor patch has been released.

RemediationAI

Apply the vendor-released patch identified by commit e51fdff7d2e538c0e5accdd65649ac68e6e0ddd4 from the GNU Binutils upstream repository at https://gitlab.com/gnutools/binutils-gdb. Upgrade to a Binutils version released after this patch commit. For systems unable to patch immediately, restrict local access to Binutils tools (readelf, objdump, nm) to trusted users only by adjusting file permissions and access controls on the tool binaries themselves. Additionally, avoid processing untrusted or unknown binaries through Binutils utilities in automated pipelines or services exposed to untrusted users. If Binutils is used in a service context (e.g., binary analysis service), implement resource limits (memory cgroups on Linux) to prevent a single invocation from consuming all available memory, mitigating the denial-of-service impact. Note that this vulnerability requires local authenticated access, so it poses minimal risk to network-facing services unless they invoke Binutils on user-supplied input with inadequate resource isolation.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GNU Binutils is a collection of binary tools including objdump, readelf, and nm, widely used for analyzing and manipulating compiled binaries and debugging symbols. The vulnerability resides in the DWARF section handler component, specifically the process_debug_info function responsible for parsing DWARF (Debugging With Attributed Record Formats) debug information embedded in ELF binaries. DWARF is a standardized format for storing debugging symbols and source code location information. The root cause is classified as CWE-401 (Missing Release of Memory after Effective Lifetime), meaning the function allocates memory during debug info processing but fails to release it properly under certain conditions. This is particularly relevant for tools like readelf and objdump, which parse untrusted binaries and debug sections as part of normal operation.

Know when Binutils gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 1.9 LOW
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability was found in GNU Binutils 2.44 and classified as problematic. This issue affects the function process_debug_info of the file binutils/dwarf.c of the component DWARF Section Handler. The manipulation leads to memory leak. Attacking locally is a requirement. The identifier of the patch is e51fdff7d2e538c0e5accdd65649ac68e6e0ddd4. It is recommended to apply a patch to fix this issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:gnu:binutils:2.44:*:*:*:*:*:*:*
CVE-2014-8503 HIGH POC
7.5 Dec 09

Stack-based buffer overflow in the ihex_scan function in bfd/ihex.c in GNU binutils 2.24 and earlier allows remote attac

CVE-2017-7614 CRITICAL POC
9.8 Apr 09

elflink.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, has a "member a

CVE-2018-12699 CRITICAL POC
9.8 Jun 23

finish_stab in stabs.c in GNU Binutils 2.30 allows attackers to cause a denial of service (heap-based buffer overflow) o

CVE-2014-8502 HIGH POC
7.5 Dec 09

Heap-based buffer overflow in the pe_print_edata function in bfd/peXXigen.c in GNU binutils 2.24 and earlier allows remo

CVE-2017-6969 CRITICAL POC
9.1 Mar 17

readelf in GNU Binutils 2.28 is vulnerable to a heap-based buffer over-read while processing corrupt RL78 binaries. Rate

CVE-2014-8501 HIGH POC
7.5 Dec 09

The _bfd_XXi_swap_aouthdr_in function in bfd/peXXigen.c in GNU binutils 2.24 and earlier allows remote attackers to caus

CVE-2014-8504 HIGH POC
7.5 Dec 09

Stack-based buffer overflow in the srec_scan function in bfd/srec.c in GNU binutils 2.24 and earlier allows remote attac

CVE-2017-9749 HIGH POC
7.8 Jun 19

The *regs* macros in opcodes/bfin-dis.c in GNU Binutils 2.28 allow remote attackers to cause a denial of service (buffer

CVE-2017-9746 HIGH POC
7.8 Jun 19

The disassemble_bytes function in objdump.c in GNU Binutils 2.28 allows remote attackers to cause a denial of service (b

CVE-2014-8485 HIGH POC
7.5 Dec 09

The setup_group function in bfd/elf.c in libbfd in GNU binutils 2.24 and earlier allows remote attackers to cause a deni

CVE-2017-9750 HIGH POC
7.8 Jun 19

opcodes/rx-decode.opc in GNU Binutils 2.28 lacks bounds checks for certain scale arrays, which allows remote attackers t

CVE-2017-9748 HIGH POC
7.8 Jun 19

The ieee_object_p function in bfd/ieee.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy