CVE-2017-8395NULL Pointer Dereference in Binutils

Severity
7.5HIGHNVD
EPSS
0.5%
top 33.79%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMay 1
Latest updateMay 17

Description

The Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, is vulnerable to an invalid write of size 8 because of missing a malloc() return-value check to see if memory had actually been allocated in the _bfd_generic_get_section_contents function. This vulnerability causes programs that conduct an analysis of binary programs using the libbfd library, such as objcopy, to crash.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

Debiangnu/binutils< 2.28-5+3
NVDgnu/binutils2.28

Patches

🔴Vulnerability Details

3
GHSA
GHSA-gj9h-fv77-fg5j: The Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 22022-05-17
OSV
CVE-2017-8395: The Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 22017-05-01
CVEList
CVE-2017-8395: The Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 22017-05-01

📋Vendor Advisories

3
Ubuntu
GNU binutils vulnerabilities2021-07-21
Red Hat
binutils: Out-of-bounds write in the _bfd_generic_get_section_contents function2017-04-22
Debian
CVE-2017-8395: binutils - The Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Bin...2017

💬Community

1
Bugzilla
CVE-2017-8395 binutils: Out-of-bounds write in the _bfd_generic_get_section_contents function2017-05-10
CVE-2017-8395 — NULL Pointer Dereference in Binutils | cvebase