CVE-2024-2002Libdwarf: crashes randomly on fuzzed object
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | dwarfutils | Fix pending | UBUNTU-CVE-2024-2002 | |
| Ubuntu 22.04 | dwarfutils | Fix pending | UBUNTU-CVE-2024-2002 | |
| Ubuntu 20.04 | dwarfutils | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 14 | dwarfutils | Fixed | 1:0.11.1-1 | DEBIAN-CVE-2024-2002 |
| Debian 13 | dwarfutils | Fixed | 1:0.11.1-1 | DEBIAN-CVE-2024-2002 |
| Debian 12 | dwarfutils | Fix pending | DEBIAN-CVE-2024-2002 | |
| Red Hat Enterprise Linux 8 | libdwarf | Not affected | ||
| Red Hat Enterprise Linux 8 | libdwarf-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libdwarf-static | Not affected | ||
| Red Hat Enterprise Linux 8 | libdwarf-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | libdwarf | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libdwarf-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libdwarf-static | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libdwarf-tools | Will 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.
- libdwarf: affected: 0.1.0, 0.9.2 not affected
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
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
- https://access.redhat.com/security/cve/CVE-2024-2002
- https://bugzilla.redhat.com/show_bug.cgi?id=2267700
- https://github.com/davea42/libdwarf-code/blob/main/bugxml/data.txt
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.