CVE-2017-12459 Memory corruption in n/a

High 7.8 Published Updated

A crafted Mach-O file can trigger an out-of-bounds heap write in the BFD library, potentially allowing remote attackers to execute arbitrary code.

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-12459?

CVE-2017-12459 is a high-severity memory corruption vulnerability in Gnu Binutils, published on 4 Aug 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

The bfd_mach_o_read_symtab_strtab function in bfd/mach-o.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29 and earlier, allows remote attackers to cause an out of bounds heap write and possibly achieve code execution via a crafted mach-o file.

Weakness: CWE-787

Which versions are affected by CVE-2017-12459?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2017-12459?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-12459 being exploited?

There is no known exploitation of CVE-2017-12459 in the wild and no public exploit code.

All Gnu Binutils vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-12459, GHSA-88x6-2qh9-jm49, UBUNTU-CVE-2017-12459.

Is CVE-2017-12459 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free