Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-12972
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:16 UTC · Revision 1
Source evidence
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.
osv:CVE-2019-12972
Complete source record
{
"id": "30b56e334f7e700f0c136339eb6745f2235e4159cab7e334755798b0f98e192e",
"url": "https://osv.dev/vulnerability/CVE-2019-12972",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-12972",
"summary": "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.",
"evidence": "osv:CVE-2019-12972",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-12972",
"aliases": [
"CVE-2019-12972"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://sourceware.org/git/binutils-gdb.git",
"type": "GIT",
"events": [
{
"introduced": "a9d9a104dde6a749f40ce5c4576a0042a7d52d1f"
},
{
"last_affected": "a9d9a104dde6a749f40ce5c4576a0042a7d52d1f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gnu:binutils:2.32:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.32"
},
{
"last_affected": "2.32"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.32",
"binutils-2_32"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-12972.json"
}
}
],
"modified": "2026-10-24T10:30:26.501126742Z",
"provider": "osv",
"references": [
"https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git%3Bh=890f750a3b053532a4b839a2dd6243076de12031",
"https://security.gentoo.org/glsa/202007-39",
"https://usn.ubuntu.com/4336-1/",
"https://sourceware.org/bugzilla/show_bug.cgi?id=24689"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*",
"cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*"
],
"vendor_product": "opensuse:leap",
"extracted_events": [
{
"range": [
{
"introduced": "15.1"
},
{
"last_affected": "15.1"
},
{
"introduced": "15.2"
},
{
"last_affected": "15.2"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-12972",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 431629,
"published_at": "2019-06-26T14:15:10.043+00:00"
}