{"id":"UBUNTU-CVE-2024-2002","details":"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.","modified":"2026-04-22T14:37:51.011075Z","published":"2024-03-18T13:15:00Z","upstream":["CVE-2024-2002"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-2002"},{"type":"REPORT","url":"https://www.prevanders.net/dwarfbug.html#DW202402-002"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2024-2002"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2267700"},{"type":"REPORT","url":"https://github.com/davea42/libdwarf-code/blob/main/bugxml/data.txt"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-2002"},{"type":"REPORT","url":"https://github.com/davea42/libdwarf-code/commit/404e6b1b14f60c81388d50b4239f81d461b3c3ad"}],"affected":[{"package":{"name":"dwarfutils","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/dwarfutils@20210528-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20201201-1","20210528-1"],"ecosystem_specific":{"binaries":[{"binary_name":"dwarfdump","binary_version":"20210528-1"},{"binary_name":"libdwarf1","binary_version":"20210528-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2002.json"}},{"package":{"name":"dwarfutils","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/dwarfutils@20210528-1build2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20210528-1","20210528-1build1","20210528-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"dwarfdump","binary_version":"20210528-1build2"},{"binary_name":"libdwarf1","binary_version":"20210528-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2002.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}