Cloudanix VulnDB

CVE-2014-0172

None

CVSS

—

EPSS

4.0%

Published

Apr 11, 2014

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

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

  1. Identify target application or service that parses ELF files via libdw
  2. Craft ELF file with malformed compressed debug section to trigger integer overflow
  3. Deliver the malicious ELF file through supported input channels
  4. Trigger processing of the debug section to induce heap buffer overflow
  5. 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