CVE-2019-12972Out-of-bounds Read in Binutils

CWE-125Out-of-bounds Read12 documents9 sources
Severity
5.5MEDIUMNVD
EPSS
0.6%
top 30.34%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJun 26
Latest updateMay 24

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages3 packages

Debiangnu/binutils< 2.32.51.20190707-1+3
NVDgnu/binutils2.32
NVDopensuse/leap15.1, 15.2+1

Also affects: Ubuntu Linux 18.04

Patches

🔴Vulnerability Details

3
GHSA
GHSA-8q59-68wh-w68x: An issue was discovered in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 22022-05-24
OSV
CVE-2019-12972: An issue was discovered in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 22019-06-26
CVEList
CVE-2019-12972: An issue was discovered in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 22019-06-26

📋Vendor Advisories

5
Ubuntu
GNU binutils vulnerabilities2021-07-21
Ubuntu
GNU binutils vulnerabilities2020-04-22
Red Hat
binutils: out-of-bounds read in setup_group in bfd/elf.c2019-06-17
Microsoft
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_2019-06-11
Debian
CVE-2019-12972: binutils - An issue was discovered in the Binary File Descriptor (BFD) library (aka libbfd)...2019

💬Community

3
Bugzilla
CVE-2019-12972 mingw-binutils: binutils: Heap-based buffer over-read in _bfd_doprnt in bfd.c [fedora-all]2020-05-13
Bugzilla
CVE-2019-12972 binutils: Heap-based buffer over-read in _bfd_doprnt in bfd.c [fedora-all]2020-05-13
Bugzilla
CVE-2019-12972 binutils: out-of-bounds read in setup_group in bfd/elf.c2020-05-05
CVE-2019-12972 — Out-of-bounds Read in GNU Binutils | cvebase