CVE-2018-9996 json
An issue was discovered in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30.
published 2018-04-10 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-21588
- cvss
- 5.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
An issue was discovered in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30. Stack Exhaustion occurs in the C++ demangling functions provided by libiberty, and there are recursive stack frames: demangle_template_value_parm, demangle_integral_value, and demangle_expression.
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-9996 updated cvss 3.3
binutils: Stack-overflow in libiberty/cplus-dem.c causes crash
-
Red Hat Enterprise Linux 5 binutils, binutils220 Red Hat Enterprise Linux 6 binutils Red Hat Enterprise Linux 7 binutils Red Hat Enterprise Linux 8 binutilsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.26% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gcc.gnu.org https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85304 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
gcc.gnu.org
/bugzilla/show_bug.cgi?id=85304
exploit, issue-tracking, third-party-advisory
-
securityfocus.com
/bid/103733
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2018-9996
- NVD CVE-2018-9996
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.