CVE-2018-12698

NameCVE-2018-12698
Descriptiondemangle_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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
binutils (PTS)jessie, jessie (lts)2.25-5+deb8u2vulnerable
stretch (lts), stretch2.28-5+deb9u1vulnerable
buster, buster (lts)2.31.1-16+deb10u1vulnerable
bullseye2.35.2-2fixed
bookworm2.40-2fixed
trixie2.43.50.20241215-1fixed
sid2.43.50.20241221-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
binutilssource(unstable)2.32.51.20190707-1unimportant

Notes

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85454
https://sourceware.org/bugzilla/show_bug.cgi?id=23057
Fixed by: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=03e51746ed98d9106803f6009ebd71ea670ad3b9
binutils not covered by security support

Search for package or bug name: Reporting problems