CVE-2017-8395 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 memor...
HighCVSS 7.5
EPSS 1.9%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/binutils(Debian:12) | < 2.28-5 | 2.28-5 |
| debian/binutils(Debian:13) | < 2.28-5 | 2.28-5 |
| debian/binutils(Debian:14) | < 2.28-5 | 2.28-5 |
| GNU binutils | = 2.28 | No fix listed |
References
- Debian Security Tracker CVE-2017-8395 vendor-advisory
- GLSA-201709-02 vendor-advisory
- sourceware.org issue-tracking patch third-party-advisory