What’s Vulnerable › Vulnerabilities
CVE-2016-5041
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2017-04-10 · updated 2026-06-17
- Weakness: CWE-476
Description
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.
Affected products
- Libdwarf Project Libdwarf: from 1999-12-14 before 2016-09-23 — fixed in 2016-09-23
How to fix
Upgrade to a fixed version: Libdwarf Project Libdwarf 2016-09-23. Check the vendor advisory for mitigations.
References
- http://www.openwall.com/lists/oss-security/2016/05/24/1
- http://www.openwall.com/lists/oss-security/2016/05/25/1
- https://www.prevanders.net/dwarfbug.html
- http://www.openwall.com/lists/oss-security/2016/05/24/1
- http://www.openwall.com/lists/oss-security/2016/05/25/1
- https://www.prevanders.net/dwarfbug.html
Get alerted when CVE-2016-5041 or the next vulnerability affects your stack