CVE-2025-8225 GNU Binutils DWARF Section dwarf.c process_debug_info memory leak

Medium 4.8 Published Updated

A local attacker can trigger a memory leak in GNU Binutils, potentially causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-8225?

CVE-2025-8225 is a medium-severity denial of service vulnerability in Gnu Binutils, published on 27 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-404, CWE-401

Which versions are affected by CVE-2025-8225?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2025-8225?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-8225 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8225 exists.

All Gnu Binutils vulnerabilities

Sources

Also known as ALPINE-CVE-2025-8225, AZL-65955, AZL-65960, BELL-CVE-2025-8225, CLSA-2025-1765802003, CLSA-2025-1766051004 and 7 more.

Is CVE-2025-8225 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free