CVE-2018-18700
Reported by mitre · Published October 27, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libiberty | Ubuntu:18.04:LTS | 20170913-1ubuntu0.1 |
| binutils | Ubuntu:18.04:LTS | 2.30-21ubuntu1~18.04.3 |
| binutils | Ubuntu:Pro:16.04:LTS | 2.26.1-1ubuntu1~16.04.8+esm1 |
| libiberty | Ubuntu:16.04:LTS | 20160215-1ubuntu0.3 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Oct 27, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Dec 11, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (4 in total, the first dated here)
- Sep 22, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-18700
vulnetix vdb fixes CVE-2018-18700
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-18700/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- USN-4326-1 vendor-advisoryx_refsource_UBUNTU
- USN-4336-1 vendor-advisoryx_refsource_UBUNTU