Ubuntu patches elfutils vulnerabilities affecting readelf and strip
Security updates for elfutils address memory handling flaws in readelf and strip that could lead to arbitrary code execution or denial of service.
Summary
Ubuntu has released security updates to address two vulnerabilities within the elfutils package, a collection of utilities used for handling ELF (Executable and Linkable Format) objects. The flaws involve improper memory management when processing malformed data, which could be exploited if a user or automated system processes a specially crafted file.
The affected utilities include readelf and strip. These updates are available for Ubuntu 24.04 LTS (Noble Numbat) and 22.04 LTS (Jammy Jellyfish). Users can resolve these issues by performing a standard system update to the patched versions of elfutils, libdw, and libelf.
Vulnerability details and affected components
- CVE-2025-1352 (readelf): Improper memory handling during the processing of malformed DWARF debugging data can lead to a denial of service via application crash or potentially arbitrary code execution.
- CVE-2025-1376 (strip): A flaw in the strip utility allows for invalid memory dereferencing when processing specific sections that lack data, resulting in a denial of service crash.
- Affected Packages (24.04 LTS): Fixes are included in elfutils 0.190-1.1ubuntu0.2, libdw1t64 0.190-1.1ubuntu0.2, and libelf1t64 0.190-1.1ubuntu0.2.
- Affected Packages (22.04 LTS): Fixes are included in elfutils 0.186-1ubuntu0.2, libdw1 0.186-1ubuntu0.2, and libelf1 0.186-1ubuntu0.2.
Why it matters
Since elfutils is a fundamental component for binary analysis and build pipelines, these vulnerabilities pose a risk to automated CI/CD systems that parse ELF files. Developers and system administrators should ensure their build environments are updated to prevent potential exploitation through malicious binaries.
Original reference: ubuntu.com →