What’s Vulnerable › Vulnerabilities
CVE-2024-2002: Libdwarf: crashes randomly on fuzzed object
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-18 · updated 2026-06-17
- Weakness: CWE-415
Description
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.
Affected products
- Fedoraproject Fedora: 40
- Libdwarf Project Libdwarf: from 0.1.0 before 0.9.2 — fixed in 0.9.2
- Red Hat Enterprise Linux: 7.0, 8.0
How to fix
Upgrade to a fixed version: Libdwarf Project Libdwarf 0.9.2. Check the vendor advisory for mitigations.
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
- 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
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGPVLSPIXR32J6FOAFTTIMYTUUXJICGW/
Get alerted when CVE-2024-2002 or the next vulnerability affects your stack