High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-5042
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:26 UTC · Revision 1
Source evidence
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.
osv:CVE-2016-5042
Complete source record
{
"id": "aa1edad0330feb3214a2d27d98bee4d9a94837627e1ba3d3432e92b3e35f761a",
"url": "https://osv.dev/vulnerability/CVE-2016-5042",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-5042",
"summary": "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.",
"evidence": "osv:CVE-2016-5042",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2016-5042",
"aliases": [
"CVE-2016-5042"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/davea42/libdwarf-code",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "a2b2d14bdc005a5082463d4f68c106a7044efe8c"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "20160923"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"20160613",
"20160507",
"20160116",
"20151114",
"20150915",
"20150913",
"20150507",
"20150310",
"20150115",
"20150112",
"20140805",
"20140519",
"20140413",
"20140208",
"20140131",
"20130729-b",
"20130729",
"20130207",
"20130126",
"20130125",
"20121130",
"20121127",
"20120410",
"20111214",
"20111030",
"20111009",
"20110908",
"20110612",
"20110607",
"20110605",
"20110113"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-5042.json"
}
}
],
"modified": "2026-10-24T10:30:53.385101855Z",
"provider": "osv",
"references": [
"https://www.prevanders.net/dwarfbug.html",
"https://bugzilla.redhat.com/show_bug.cgi?id=1332145"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:libdwarf_project:libdwarf:*:*:*:*:*:*:*:*"
],
"vendor_product": "libdwarf_project:libdwarf",
"extracted_events": [
{
"range": [
{
"introduced": "1999-12-14"
},
{
"fixed": "2016-09-23"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2016-5042",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 437910,
"published_at": "2017-02-17T17:59:00.653+00:00"
}