CVEfocus › CVE database › CVE-2024-2002

CVE-2024-2002Libdwarf: crashes randomly on fuzzed object

CVSS 7.5 HighEPSS 1.1% (higher than 66% of CVEs)Published 2024-03-18Updated 2026-11-24Assigner: redhat

A double-free vulnerability was found in libdwarf. In a multiply-corrupted DWARF object, libdwarf may try to dealloc(free) an allocation twice, potentially causing unpredictable and various results.

CWE-415

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
3Fix pending
5Will not fix
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04dwarfutilsFix pendingUBUNTU-CVE-2024-2002
Ubuntu 22.04dwarfutilsFix pendingUBUNTU-CVE-2024-2002
Ubuntu 20.04dwarfutilsWill not fix
Ubuntu decided not to fix this in this release
Debian 14dwarfutilsFixed1:0.11.1-1DEBIAN-CVE-2024-2002
Debian 13dwarfutilsFixed1:0.11.1-1DEBIAN-CVE-2024-2002
Debian 12dwarfutilsFix pendingDEBIAN-CVE-2024-2002
Red Hat Enterprise Linux 8libdwarfNot affected
Red Hat Enterprise Linux 8libdwarf-develNot affected
Red Hat Enterprise Linux 8libdwarf-staticNot affected
Red Hat Enterprise Linux 8libdwarf-toolsNot affected
Red Hat Enterprise Linux 7libdwarfWill not fix
Out of support scope
Red Hat Enterprise Linux 7libdwarf-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libdwarf-staticWill not fix
Out of support scope
Red Hat Enterprise Linux 7libdwarf-toolsWill not fix
Out of support scope

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.