CVE-2016-5040
libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read...
CVE-2016-5040 is a high vulnerability (CVSS 7.5) in Libdwarf Project Libdwarf, published February 17, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.26%, the 91st percentile. Fixed in dwarfutils 20160507-1.
libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via a large length value in a compilation unit header.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via a large length value in a compilation unit header.
- Record
CVE-2016-5040- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via a large length value in a compilation unit header.
- Record
CVE-2016-5040- Updated
- 2026-11-02
EUVDEUVD-2016-5993 No score
libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via a large length value in a compilation unit header.
- Record
EUVD-2016-5993- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mf89-8vq6-qjf7
7.5
libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read...
libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via a large length value in a compilation unit header.
- Record
GHSA-mf89-8vq6-qjf7- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
7.5
libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via a large length value in a compilation unit header.
- Record
CVE-2016-5040- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-5040
7.5
libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via a large length value in a compilation unit header.
- Record
DEBIAN-CVE-2016-5040- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-5040
7.5
libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via a large length value in a compilation unit header.
- Record
UBUNTU-CVE-2016-5040- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
dwarfutilsDebian:12 |
before 20160507-1 | 20160507-1 |
dwarfutilsDebian:13 |
before 20160507-1 | 20160507-1 |
dwarfutilsDebian:14 |
before 20160507-1 | 20160507-1 |
dwarfutilsUbuntu:16.04:LTS |
All versions, plus listed versions 20120410-220120410-2+deb7u2build0.16.04.1 |
None known |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
prevanders.net/dwarfbug.html
openwall.com/lists/oss-security/2016/05/24/1
openwall.com/lists/oss-security/2016/05/25/1
nvd.nist.gov/vuln/detail/CVE-2016-5040
github.com/advisories/GHSA-mf89-8vq6-qjf7
security-tracker.debian.org/tracker/CVE-2016-5040
ubuntu.com/security/CVE-2016-5040
cve.org/CVERecord?id=CVE-2016-5040