CVE-2017-9042 Integer overflow in n/a
A crafted ELF file can cause a denial of service via an integer representation error in GNU Binutils readelf.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-9042?
CVE-2017-9042 is a high-severity vulnerability in Gnu Binutils, published on 18 May 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
readelf.c in GNU Binutils 2017-04-12 has a "cannot be represented in type long" issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted ELF file.
Weakness: CWE-704
Which versions are affected by CVE-2017-9042?
It affects 1 product.
Products include Gnu Binutils.
How do I fix CVE-2017-9042?
Apply the vendor's patch.
Is CVE-2017-9042 being exploited?
There is no known exploitation of CVE-2017-9042 in the wild and no public exploit code.
Other vulnerabilities in Gnu Binutils
Sources
Also known as CLSA-2025-1760105902, CLSA-2025-1760112341, DEBIAN-CVE-2017-9042, GHSA-7h8w-xx2f-hmr7, UBUNTU-CVE-2017-9042.