CVE-2024-2002
NixOS vulnerability analysis and mitigation

Overview

A double-free vulnerability (CVE-2024-2002) was discovered in libdwarf, reported on March 18, 2024. When processing a multiply-corrupted DWARF object, libdwarf may attempt to deallocate (free) an allocation twice, potentially causing unpredictable results. This vulnerability was introduced in libdwarf-0.1.0 in 2021 (Red Hat CVE, Bugzilla).

Technical details

The vulnerability is classified as a double-free issue (CWE-415) with a CVSS v3.1 base score of 7.5 (HIGH). The vulnerability affects the memory management functionality in libdwarf, specifically when handling corrupted DWARF debugging information. The issue occurs when processing malformed DWARF objects, where the library attempts to free the same memory allocation multiple times (Red Hat CVE).

Impact

The double-free vulnerability can lead to unpredictable behavior and various results when exploited. Given the CVSS score of 7.5 HIGH, the primary impact is on system availability, as indicated by the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (Red Hat CVE).

Exploitability

The vulnerability can be triggered by processing specially crafted DWARF objects. The CVSS vector string indicates that the vulnerability is network accessible (AV:N), requires low attack complexity (AC:L), needs no privileges (PR:N), and requires no user interaction (UI:N) (Red Hat CVE).

Mitigation and workarounds

The vulnerability has been fixed in libdwarf version 0.9.2. Users are advised to upgrade to this version or later to address the security issue (Fedora Update).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-13097CRITICAL9.1
  • NixOS logoNixOS
  • python3-samba-test
NoYesAug 20, 2026
CVE-2026-11861HIGH8.1
  • NixOS logoNixOS
  • samba-common
NoYesAug 20, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • ctdb-ceph-mutex
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • samba-test-libs-debuginfo
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • samba-ldb-ldap-modules-debuginfo
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management