CVE-2017-12448 Use after free in n/a

High 7.8 Published Updated

Remote attackers can trigger a heap use-after-free and potentially execute code via a crafted nested archive file in the BFD library.

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

CVE-2017-12448 is a high-severity use after free 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_cache_close function in bfd/cache.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29 and earlier, allows remote attackers to cause a heap use after free and possibly achieve code execution via a crafted nested archive file. This issue occurs because incorrect functions are called during an attempt to release memory. The issue can be addressed by better input validation in the bfd_generic_archive_p function in bfd/archive.c.

Weakness: CWE-416

Which versions are affected by CVE-2017-12448?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2017-12448?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2017-12448 being exploited?

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

All Gnu Binutils vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-12448, GHSA-vcp5-9fw7-xm53, UBUNTU-CVE-2017-12448.

Is CVE-2017-12448 in your software?

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

Check your SBOMs for free