USN-9200-1: elfutils vulnerabilities
It was discovered that elfutils incorrectly handled memory when processing certain malformed DWARF data. If a user or automated system were tricked into running readelf on a specially crafted file, an attacker could possibly use this issue to cause readelf to crash, resulting in a denial of service, or execute arbitrary code. (CVE-2025-1352) It was discovered that strip from elfutils could be made to dereference invalid memory when processing certain sections without data. If a user or automated system were tricked into running strip on a specially crafted file, an attacker could possibly use this issue to cause strip to crash, resulting in a denial of service. (CVE-2025-1376)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/elfutilsto a version that resolves this vulnerability.Fixed in 0.190-1.1ubuntu0.2 - Upgrade
Upgrade
ubuntu/libdw1t64to a version that resolves this vulnerability.Fixed in 0.190-1.1ubuntu0.2 - Upgrade
Upgrade
ubuntu/libelf1t64to a version that resolves this vulnerability.Fixed in 0.190-1.1ubuntu0.2 - Upgrade
Upgrade
ubuntu/elfutilsto a version that resolves this vulnerability.Fixed in 0.186-1ubuntu0.2 - Upgrade
Upgrade
ubuntu/libdw1to a version that resolves this vulnerability.Fixed in 0.186-1ubuntu0.2 - Upgrade
Upgrade
ubuntu/libelf1to a version that resolves this vulnerability.Fixed in 0.186-1ubuntu0.2
Event History
Frequently Asked Questions
What conditions are required for exploitation?
An attacker must convince a user or automated system to run readelf or strip on a specially crafted file. The readelf issue is triggered by malformed DWARF data, while the strip issue involves sections without data.
Which utility has potential code-execution impact?
CVE-2025-1352 affects readelf and may allow arbitrary code execution as well as denial of service. CVE-2025-1376 affects strip and is described as causing a denial of service through invalid-memory dereference.
Which installed components should be reviewed for exposure?
Review systems using the elfutils package or the listed Ubuntu libdw and libelf packages: libdw1t64, libelf1t64, libdw1, and libelf1. Exposure is most relevant where readelf or strip process files from untrusted sources, including automated workflows.