CVE-2018-18700: gnu binutils Infinite Loop
Vulnerability summary
CVE-2018-18700 is a medium (CVSS 5.5) Infinite Loop vulnerability in gnu binutils. EPSS estimates a 1.69% chance of exploitation in the next 30 days, higher than 76.6% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 4 · Related 3Timeline
- 27-10-2018PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
Description
An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption vulnerability resulting from infinite recursion in the functions d_name(), d_encoding(), and d_local_name() in cp-demangle.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via an ELF file, as demonstrated by nm.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.69%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
0.00 pp
From 1.69% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (gcc.gnu.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Ubuntu2 products
- binutilsAll versions (No fix recorded) | < 2.26.1-1ubuntu1~16.04.8+esm1 | < 2.30-21ubuntu1~18.04.3
- libiberty< 20160215-1ubuntu0.3 | < 20170913-1ubuntu0.1
Debian1 product
- binutils< 2.32.51.20190707-1
Gnu1 product
- binutils2.31
3 vendors · 4 products