CVE-2014-0172
NoneCVSS
—
EPSS
4.0%
Published
Apr 11, 2014
CISA due date
—
Cloudanix analysis
A problem in code that reads certain program files could let attackers crash software or run unwanted commands by feeding it specially made files.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow in check_section within libdw's dwarf_begin_elf.c triggers heap-based buffer overflow on malformed compressed debug sections in ELF files, enabling denial of service or arbitrary code execution.
Why it matters to the business
Processing of untrusted ELF files can crash applications or enable remote code execution, disrupting operations; low urgency given the 2014 disclosure, stable low EPSS, and absence from known exploited lists despite downstream package exposure.
How an attack unfolds
An attacker supplies a crafted ELF file containing a malformed compressed debug section to a process using the vulnerable libdw library, causing the integer overflow during section validation and subsequent heap corruption for crash or code execution.
How to fix it
Upgrade to fixed package versions such as tomcat (Bitnami) 8.5.96; replace or rebuild any components depending on elfutils versions 0.153-0.158 with patched libdw; restrict processing of untrusted ELF files where possible.
How to confirm the fix worked
Confirm elfutils/libdw version exceeds 0.158 or matches vendor fixed releases; test ELF parsing paths with controlled malformed inputs to verify absence of overflow behavior.
Typical attack path
- Identify target application or service that parses ELF files via libdw
- Craft ELF file with malformed compressed debug section to trigger integer overflow
- Deliver the malicious ELF file through supported input channels
- Trigger processing of the debug section to induce heap buffer overflow
- Leverage overflow for denial of service or arbitrary code execution
How to detect it
Review application logs for unexpected crashes or segmentation faults during ELF file handling; inspect memory dumps or core files for signs of heap corruption around debug section processing.
What your security team should do
- Apply available package updates immediately on affected systems
- Inventory dependencies for embedded or linked libdw usage
- Add ELF file validation or sandboxing for high-risk parsers
- Monitor vulnerability feeds for any renewed activity on this aging issue
The record
Integer overflow in the check_section function in dwarf_begin_elf.c in the libdw library, as used in elfutils 0.153 and possibly through 0.158 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a malformed compressed debug section in an ELF file, which triggers a heap-based buffer overflow.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | elfutils | 0 | 0.158-1 |
| Debian:11 | elfutils | 0 | 0.158-1 |
| Debian:12 | elfutils | 0 | 0.158-1 |
| Debian:13 | elfutils | 0 | 0.158-1 |
| Mageia:3 | elfutils | 0 | 0.155-2.1.mga3 |
| Mageia:4 | elfutils | 0 | 0.157-3.1.mga4 |
| Red Hat:enterprise_linux:7::client | elfutils | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-debuginfo | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-devel | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-devel-static | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-libelf | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-libelf-devel | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-libelf-devel-static | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::client | elfutils-libs | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::computenode | elfutils | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::computenode | elfutils-debuginfo | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::computenode | elfutils-devel | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::computenode | elfutils-devel-static | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::computenode | elfutils-libelf | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::computenode | elfutils-libelf-devel | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::computenode | elfutils-libelf-devel-static | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::computenode | elfutils-libs | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::server | elfutils | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::server | elfutils-debuginfo | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::server | elfutils-devel | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::server | elfutils-devel-static | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::server | elfutils-libelf | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::server | elfutils-libelf-devel | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::server | elfutils-libelf-devel-static | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::server | elfutils-libs | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::workstation | elfutils | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::workstation | elfutils-debuginfo | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::workstation | elfutils-devel | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::workstation | elfutils-devel-static | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::workstation | elfutils-libelf | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::workstation | elfutils-libelf-devel | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::workstation | elfutils-libelf-devel-static | 0 | 0:0.160-1.el7 |
| Red Hat:enterprise_linux:7::workstation | elfutils-libs | 0 | 0:0.160-1.el7 |
| Ubuntu:14.04:LTS | elfutils | 0 | 0.158-0ubuntu5.1 |
| openSUSE:Tumbleweed | elfutils | 0 | 0.167-1.5 |
Related vulnerabilities
- 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-2026-102621 A vulnerability was identified in Freedesktop Poppler up to 26.08.0. CWE-189
- CVE-2026-102620 A vulnerability was determined in Freedesktop Poppler 26.06.0/26.07.0/26.08.0. CWE-189
- CVE-2026-93314 A vulnerability was determined in Freedesktop Poppler 26.07.0. CWE-189
- CVE-2026-93313 A vulnerability was found in Freedesktop Poppler 26.07.0. CWE-189
- CVE-2026-93311 A vulnerability was detected in Freedesktop Poppler 26.07.0. CWE-189
- CVE-2026-86297 A vulnerability was identified in D-Link DIR-605 B1v202WWB03. CWE-189