CVE-2018-20712: gnu binutils Out-of-bounds Read
Vulnerability summary
CVE-2018-20712 is a medium (CVSS 6.5) Out-of-bounds Read vulnerability in gnu binutils. EPSS estimates a 2.67% chance of exploitation in the next 30 days, higher than 85.5% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 15-01-2019PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
A heap-based buffer over-read exists in the function d_expression_1 in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31.1. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by c++filt.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.67%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
-0.01 pp
From 2.69% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (gcc.gnu.org)
Maturity: unknown
Exploit Reference (sourceware.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Alpine1 product
- binutils< 2.32-r0
Debian1 product
- binutilsAll versions (No fix recorded)
Gnu1 product
- binutils2.31.1
Ubuntu1 product
- libibertyAll versions (No fix recorded)
4 vendors · 4 products
References
8 links- sourceware.org/bugzilla/show_bug.cgi?id=24043X Refsource MISCExploitIssue TrackingThird Party Advisory