CVE-2016-5041 json
dwarf_macro5.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (NULL pointer dereference) via a debugging…
published 2017-04-10 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-5994
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
dwarf_macro5.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (NULL pointer dereference) via a debugging information entry using DWARF5 and without a DW_AT_name.
Patch / fix
- libdwarf_project libdwarf 2016-09-23
- dwarfutils Debian 14, Debian 13, Debian 12 20160507-1
debian advisories DEBIAN-CVE-2016-5041
- libdwarf Arch Linux 20161124-1
arch linux advisories AVG-89
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-5041 updated cvss 1.7
libdwarf: Null pointer dereference in _dwarf_file_name_is_full_path()
-
Red Hat Enterprise Linux 7 libdwarf, libdwarf-toolsaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.37% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- openwall.com http://www.openwall.com/lists/oss-security/2016/05/24/1 referenced PoC, tagged "exploit" by a source, unverified
- openwall.com http://www.openwall.com/lists/oss-security/2016/05/25/1 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
openwall.com
/lists/oss-security/2016/05/24/1
mailing-list, exploit, third-party-advisory
-
openwall.com
/lists/oss-security/2016/05/25/1
mailing-list, exploit, third-party-advisory
-
prevanders.net
/dwarfbug.html
vendor-advisory
Sources
- CVE List CVE-2016-5041
- NVD CVE-2016-5041
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.