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

Published Mar 4, 2024
·
Updated

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.

Other sources

In a multiply-corrupted DWARF object libdwarf may try to dealloc(free) an allocation twice. Results are unpredictable and various. This has been a possibility since we added code to prevent leaks when generating 'unattached' DwarfError records (where there is no DwarfDebug available at the point of error). The problem was introduced in libdwarf-0.1.0 in 2021.

— Red Hat

Libdwarf: crashes randomly on fuzzed object

— Microsoft

Affected Software

11 affected componentsFixes available
redhat/libdwarf<0.9.2
0.9.2
Microsoft cbl2 libdwarf 0.9.0-3
Microsoft azl3 libdwarf 0.9.0-1
debian/dwarfutils*
debian/dwarfutils<1:0.11.1-1
1:0.11.1-1
debian/dwarfutils<1:0.11.1-1
1:0.11.1-1
debian/dwarfutils<=20210528-1
1:0.11.1-1
Libdwarf Project Libdwarf>=0.1.0<0.9.2
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
Fedoraproject Fedora=40

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libdwarf to a version that resolves this vulnerability.

    Fixed in 0.9.2
  2. Upgrade

    Upgrade debian/dwarfutils to a version that resolves this vulnerability.

    Fixed in 1:0.11.1-1

Event History

Mar 18, 2024
CVE Published
via MITRE·12:26 PM
Data Sourced
via MITRE·12:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·01:15 PM
Affected Software
Mar 19, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-2002?

CVE-2024-2002 has a severity rating that can lead to crashes in affected applications due to a double-free vulnerability.

2

How do I fix CVE-2024-2002?

To fix CVE-2024-2002, you should upgrade libdwarf to version 0.9.3 or later, as it contains the necessary patches.

3

Which versions are affected by CVE-2024-2002?

CVE-2024-2002 affects libdwarf versions up to and including 0.9.2.

4

What impact does CVE-2024-2002 have on applications?

CVE-2024-2002 can cause unpredictable behavior and crashes in applications that utilize the affected versions of libdwarf.

5

Is there a workaround for CVE-2024-2002?

There are no known workarounds for CVE-2024-2002; upgrading to a secure version is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203