CVE-2017-8395 Null dereference in n/a
A missing memory allocation check in the BFD library allows attackers to cause a denial of service via crafted binary files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-8395?
CVE-2017-8395 is a high-severity vulnerability in Gnu Binutils, published on 1 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2017-8395?
It affects 1 product.
Products include Gnu Binutils.
How do I fix CVE-2017-8395?
Apply the vendor's patch.
Is CVE-2017-8395 being exploited?
There is no known exploitation of CVE-2017-8395 in the wild and no public exploit code.
Other vulnerabilities in Gnu Binutils
Sources
Also known as DEBIAN-CVE-2017-8395, GHSA-gj9h-fv77-fg5j, UBUNTU-CVE-2017-8395.