CVE-2016-5038
The dwarf_get_macro_startend_file function in dwarf_macro5.c in libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted string offset for .debug_str.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | dwarfutils | Fixed | 20120410-2+deb7u2build0.16.04.1 | UBUNTU-CVE-2016-5038 |
| Ubuntu 14.04 | dwarfutils | Fixed | 20120410-2+deb7u2build0.14.04.1 | UBUNTU-CVE-2016-5038 |
| Debian 14 | dwarfutils | Fixed | 20160507+git20160523.9086738-1 | DEBIAN-CVE-2016-5038 |
| Debian 13 | dwarfutils | Fixed | 20160507+git20160523.9086738-1 | DEBIAN-CVE-2016-5038 |
| Debian 12 | dwarfutils | Fixed | 20160507+git20160523.9086738-1 | DEBIAN-CVE-2016-5038 |
| Red Hat Enterprise Linux 7 | libdwarf | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libdwarf-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libdwarf-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libdwarf-tools | Will not fix Will not fix |
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.