CVE-2025-1352
Medium · 5.0CVSS
5.0
EPSS
0.7%
Published
Feb 16, 2025
CISA due date
—
Cloudanix analysis
A bug in a common tool for reading program files can let a skilled attacker cause crashes or small problems if someone opens a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- High
- Impact
- Data Tampering
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
Memory corruption in the __libdw_thread_tail function of libdw_alloc.c triggered by manipulation of the w argument during eu-readelf processing of ELF data.
Why it matters to the business
Limited risk of application instability or minor data integrity issues when tools built on elfutils handle untrusted inputs, with low likelihood of widespread operational disruption given high attack complexity.
How an attack unfolds
An attacker supplies a specially crafted input to eu-readelf that manipulates the w argument, leading to memory corruption; the attack requires remote initiation, user interaction, and significant effort, with a public exploit available but no known widespread campaigns.
How to fix it
Apply commit 2636426a091bd6c6f7f02e49ab20d4cdc6bfc753 or later to the elfutils source and rebuild affected binaries; avoid processing untrusted ELF files with unpatched versions.
How to confirm the fix worked
Confirm the patch commit is present in the libdw_alloc.c source; test eu-readelf against sample inputs that previously triggered corruption to verify absence of the flaw.
Typical attack path
- Obtain or generate a malicious ELF input designed to affect the w argument
- Invoke eu-readelf (or dependent tooling) on the crafted input
- Trigger the vulnerable code path in __libdw_thread_tail to induce memory corruption
How to detect it
Review system and application logs for segmentation faults or memory errors originating from eu-readelf or libdw during ELF processing; correlate with file access timestamps on suspicious inputs.
What your security team should do
- Prioritize patching elfutils in build and analysis environments that consume untrusted binaries
- Restrict eu-readelf usage to trusted inputs until remediation is complete
- Monitor public exploit repositories for any refined proof-of-concept code
The record
A vulnerability has been found in GNU elfutils 0.192 and classified as critical. This vulnerability affects the function __libdw_thread_tail in the library libdw_alloc.c of the component eu-readelf. The manipulation of the argument w leads to memory corruption. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The name of the patch is 2636426a091bd6c6f7f02e49ab20d4cdc6bfc753. It is recommended to apply a patch to fix this issue.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | elfutils | 0 | No fix |
| Debian:12 | elfutils | 0 | No fix |
| Debian:13 | elfutils | 0 | No fix |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | elfutils-debuginfod | 0 | 0.185-150400.5.8.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | elfutils-debuginfod | 0 | 0.185-150400.5.8.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | elfutils-debuginfod | 0 | 0.185-150400.5.8.2 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | elfutils-debuginfod | 0 | 0.185-150400.5.8.2 |
| SUSE:Linux Enterprise Micro 5.3 | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Linux Enterprise Micro 5.4 | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Linux Enterprise Micro 5.5 | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | elfutils-debuginfod | 0 | 0.185-150400.5.8.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | elfutils-debuginfod | 0 | 0.185-150400.5.8.2 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | elfutils-debuginfod | 0 | 0.185-150400.5.8.2 |
| SUSE:Linux Enterprise Server 15 SP5-LTSS | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Linux Enterprise Server 15 SP5-LTSS | elfutils-debuginfod | 0 | 0.185-150400.5.8.2 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | elfutils-debuginfod | 0 | 0.185-150400.5.8.2 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | elfutils-debuginfod | 0 | 0.185-150400.5.8.2 |
| SUSE:Manager Proxy LTS 4.3 | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Manager Proxy LTS 4.3 | elfutils-debuginfod | 0 | 0.185-150400.5.8.2 |
| SUSE:Manager Server LTS 4.3 | elfutils | 0 | 0.185-150400.5.8.3 |
| SUSE:Manager Server LTS 4.3 | elfutils-debuginfod | 0 | 0.185-150400.5.8.2 |
| openSUSE:Leap 15.6 | elfutils | 0 | 0.185-150400.5.8.3 |
| openSUSE:Leap 15.6 | elfutils-debuginfod | 0 | 0.185-150400.5.8.2 |
Related vulnerabilities
- CVE-2025-1377 A vulnerability, which was classified as problematic, has been found in GNU elfutils… Also affects elfutils
- CVE-2025-1376 A vulnerability classified as problematic was found in GNU elfutils 0.192. Also affects elfutils
- CVE-2025-1371 A vulnerability has been found in GNU elfutils 0.192 and classified as problematic. Also affects elfutils
- CVE-2025-1372 A vulnerability was found in GNU elfutils 0.192. Also affects elfutils
- CVE-2025-1365 A vulnerability, which was classified as critical, was found in GNU elfutils 0.192. Also affects elfutils
- CVE-2016-10254 The allocate_elf function in common.h in elfutils before 0.168 allows remote attackers to… Also affects elfutils
- CVE-2014-9447 Directory traversal vulnerability in the read_long_names function in libelf/elf_begin.c… Also affects elfutils
- CVE-2014-0172 Integer overflow in the check_section function in dwarf_begin_elf.c in the libdw library… Also affects elfutils