Skip to main content
No exploitation reportedFix available

CVE-2018-12698

No exploitation reported by the sources we read.

  • Published2018-06-23

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

demangle_template in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30, allows attackers to trigger excessive memory consumption (aka OOM) during the "Create an array for saving the template argument values" XNEWVEC call. This can occur during execution of objdump.

Timeline

dates in UTC
  1. 2018-06-2323:29CVE publishedNVD

Versions per branch

NVD
Canonical ubuntu linux
BranchAffectedFixed in
16.4= 16.04.4no fix published
Gnu binutils
BranchAffectedFixed in
2.30= 2.30no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • binutilsUbuntu:Pro:16.04:LTSall versions · fixed in 2.26.1-1ubuntu1~16.04.8+esm1
  • binutilsUbuntu:Pro:14.04:LTSall versions · no fixed version listed
  • binutilsUbuntu:18.04:LTSall versions · fixed in 2.30-21ubuntu1~18.04.3
  • binutilsTuxCare:Ubuntu:16.04all versions · fixed in 2.26.1-1ubuntu1~16.04.10and 23 other packages
  • binutilsTuxCare:OracleLinux:6all versions · fixed in 1:2.20.51.0.2-5.48.0.3.el6.tuxcare.ol.els4and 1 other package
  • binutilsTuxCare:CentOS:6all versions · fixed in 1:2.20.51.0.2-5.48.1.el6.tuxcare.els4and 1 other package
  • binutilsDebian:14all versions · fixed in 2.32.51.20190707-1
  • binutilsDebian:13all versions · fixed in 2.32.51.20190707-1

3 more package ranges on OSV.dev

Vendor advisories

  • CVE-2018-12698 Red Hat Product Security14 known affected

    binutils: excessive memory consumption in demangle_template in cplus-dem.c

    binutils.src as a component of Red Hat Enterprise Linux 5 · binutils220.src as a component of Red Hat Enterprise Linux 5 · binutils-devel as a component of Red Hat Enterprise Linux 6 · +11 more

Full record on NVD

Fix

  1. No fix planned, says the vendor Red Hat Product Security CVE-2018-12698 · 14 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2018-06-23
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-3xpc-qj75-hw9m

Frequently asked questions

What is CVE-2018-12698?

demangle_template in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30, allows attackers to trigger excessive memory consumption (aka OOM) during the "Create an array for saving the template argument values" XNEWVEC call. This can occur during execution of objdump.

Is CVE-2018-12698 actively exploited?

Active exploitation of CVE-2018-12698 has not been confirmed. Its EPSS score was 6.1% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-12698?

CVE-2018-12698 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running binutils? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record