CVE-2019-12972 Memory corruption in n/a

Medium 5.5 Published Updated

A heap-based buffer over-read in the BFD library allows attackers to cause denial of service or disclose sensitive memory contents via crafted ELF files.

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-2019-12972?

CVE-2019-12972 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 26 Jun 2019. 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

An issue was discovered in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.32. There is a heap-based buffer over-read in _bfd_doprnt in bfd.c because elf_object_p in elfcode.h mishandles an e_shstrndx section of type SHT_GROUP by omitting a trailing '\0' character.

Weakness: CWE-125

Which versions are affected by CVE-2019-12972?

It affects 3 products.

Products include Canonical Ubuntu Linux, Gnu Binutils, Opensuse Leap.

How do I fix CVE-2019-12972?

Apply the vendor's patch.

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

Is CVE-2019-12972 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-12972, GHSA-8q59-68wh-w68x, UBUNTU-CVE-2019-12972.

Is CVE-2019-12972 in your software?

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

Check your SBOMs for free