cve.bz

CVE-2018-12698

7.5 highExploit referenceEPSS 6.2%

High (7.5). EPSS 6.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
6.2% (unchanged from 6.2% a week ago; 6.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-12698 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-12698?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-12698?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-12698 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:binutils2.30
canonical:ubuntu_linux16.04.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14binutils2.32.51.20190707-1DEBIAN-CVE-2018-12698
Ubuntu16.04:LTSlibiberty20160215-1ubuntu0.3UBUNTU-CVE-2018-12698 USN-4326-1
Ubuntu18.04:LTSbinutils2.30-21ubuntu1~18.04.3UBUNTU-CVE-2018-12698 USN-4336-1
Ubuntu18.04:LTSlibiberty20170913-1ubuntu0.1UBUNTU-CVE-2018-12698 USN-4326-1
UbuntuPro:14.04:LTSbinutilsno fix listedUBUNTU-CVE-2018-12698
UbuntuPro:16.04:LTSbinutils2.26.1-1ubuntu1~16.04.8+esm1UBUNTU-CVE-2018-12698 USN-4336-2

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue is classified with a low severity primarily because binutils is not typically exposed to untrusted inputs in most environments, limiting the possibility of exploitation. Additionally, this excessive memory consumption is only triggered during the parsing of a specially crafted file, requiring an attacker to convince a user to process this file with objdump. Furthermore, binutils does not handle privileged operations, meaning that exploitation is unlikely to lead to system compromise or escalation of privileges. Also, the impact is limited to the application itself, without affecting the broader system or network security.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5binutilsWill not fix
Red Hat Enterprise Linux 5binutils220Will not fix
Red Hat Enterprise Linux 6binutilsWill not fix
Red Hat Enterprise Linux 7binutilsWill not fix
Red Hat Enterprise Linux 8binutilsWill not fix
Red Hat Enterprise Linux 8mingw-binutilsWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-12698.

References

Check your stackJSON