CVE-2025-1371 GNU elfutils eu-read readelf.c handle_dynamic_symtab null pointer dereference

Medium 4.8 Published Updated

A local attacker can cause a denial of service in GNU elfutils via a null pointer dereference in the eu-read tool.

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-1371?

CVE-2025-1371 is a medium-severity vulnerability in GNU elfutils, published on 17 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability has been found in GNU elfutils 0.192 and classified as problematic. This vulnerability affects the function handle_dynamic_symtab of the file readelf.c of the component eu-read. The manipulation leads to null pointer dereference. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used. The patch is identified as b38e562a4c907e08171c76b8b2def8464d5a104a. It is recommended to apply a patch to fix this issue.

Weakness: CWE-476, CWE-404

Which versions are affected by CVE-2025-1371?

It affects 1 product.

Products include Elfutils Project Elfutils.

How do I fix CVE-2025-1371?

Apply the vendor's patch.

Is CVE-2025-1371 being exploited?

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

Sources

Also known as BELL-CVE-2025-1371, DEBIAN-CVE-2025-1371, ECHO-162b-a196-2f83, GHSA-mhpv-qvqj-2px4, ROOT-OS-DEBIAN-12-CVE-2025-1371, UBUNTU-CVE-2025-1371.

Is CVE-2025-1371 in your software?

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

Check your SBOMs for free