CVE-2016-5042
CVE-2016-5042 is a high-severity vulnerability in Libdwarf Project Libdwarf with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-835.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 5.0
- EPSS exploit prediction: 4% (90th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-835
- Affected product: Libdwarf Project Libdwarf
- Published:
- Last modified:
Description
The dwarf_get_aranges_list function in libdwarf before 20160923 allows remote attackers to cause a denial of service (infinite loop and crash) via a crafted DWARF section.
Frequently asked questions
- What is CVE-2016-5042?
- The dwarf_get_aranges_list function in libdwarf before 20160923 allows remote attackers to cause a denial of service (infinite loop and crash) via a crafted DWARF section.
- How severe is CVE-2016-5042?
- CVE-2016-5042 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2016-5042 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (90th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2016-5042?
- CVE-2016-5042 affects Libdwarf Project Libdwarf. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2016-5042?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2016-5042 published?
- CVE-2016-5042 was published on 2017-02-17 and last updated on 2026-06-17.
References
- http://www.openwall.com/lists/oss-security/2016/05/24/1
- http://www.openwall.com/lists/oss-security/2016/05/25/1
- https://bugzilla.redhat.com/show_bug.cgi?id=1332145
- https://www.prevanders.net/dwarfbug.html
Affected products (1)
- cpe:2.3:a:libdwarf_project:libdwarf:*:*:*:*:*:*:*:*
More vulnerabilities in Libdwarf Project Libdwarf
- CVE-2017-9055 — Critical (CVSS 9.8): An issue, also known as DW201703-001, was discovered in libdwarf 2017-03-21. In dwarf_formsdata() a few data types were…
- CVE-2017-9054 — Critical (CVSS 9.8): An issue, also known as DW201703-002, was discovered in libdwarf 2017-03-21. In _dwarf_decode_s_leb128_chk() a byte…
- CVE-2017-9052 — Critical (CVSS 9.8): An issue, also known as DW201703-006, was discovered in libdwarf 2017-03-21. A heap-based buffer over-read in…
- CVE-2016-9558 — Critical (CVSS 9.8): (1) libdwarf/dwarf_leb.c and (2) dwarfdump/print_frames.c in libdwarf before 20161124 allow remote attackers to have…
- CVE-2017-9053 — Critical (CVSS 9.1): An issue, also known as DW201703-005, was discovered in libdwarf 2017-03-21. A heap-based buffer over-read in…
- CVE-2016-9480 — Critical (CVSS 9.1): libdwarf 2016-10-21 allows context-dependent attackers to obtain sensitive information or cause a denial of service by…
All CVEs affecting Libdwarf Project Libdwarf →
Other CWE-835 (Loop with Unreachable Exit Condition (Infinite Loop)) vulnerabilities
- CVE-2026-24816 — Critical (CVSS 10.0): Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in datavane tis…
- CVE-2018-20784 — Critical (CVSS 9.8): In the Linux kernel before 4.20.2, kernel/sched/fair.c mishandles leaf cfs_rq's, which allows attackers to cause a…
- CVE-2017-12997 — Critical (CVSS 9.8): The LLDP parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in…
- CVE-2017-12995 — Critical (CVSS 9.8): The DNS parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in print-domain.c:ns_print().
- CVE-2017-12990 — Critical (CVSS 9.8): The ISAKMP parser in tcpdump before 4.9.2 could enter an infinite loop due to bugs in print-isakmp.c, several functions.
- CVE-2026-31448 — Critical (CVSS 9.4): In the Linux kernel, the following vulnerability has been resolved: ext4: avoid infinite loops caused by residual…
Browse all CWE-835 (Loop with Unreachable Exit Condition (Infinite Loop)) vulnerabilities →