CVE-2018-12698
published 2018-06-23CVE-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)…
PriorityP339high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
6.69%
93.2th percentile
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.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| debian | binutils | < binutils 2.32.51.20190707-1 (bookworm) | binutils 2.32.51.20190707-1 (bookworm) |
| f5 | traffix_signaling_delivery_controller | — | — |
| f5 | traffix_signaling_delivery_controller | 5.0.0 – 5.1.0 | — |
| gnu | binutils | — | — |
| gnu | binutils | — | — |
| gnu | binutils | >= 0 < 2.32.51.20190707-1 | 2.32.51.20190707-1 |
| gnu | binutils | >= 0 < 2.32.51.20190707-1 | 2.32.51.20190707-1 |
| gnu | binutils | >= 0 < 2.32.51.20190707-1 | 2.32.51.20190707-1 |
| gnu | binutils | >= 0 < 2.32.51.20190707-1 | 2.32.51.20190707-1 |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5LOW
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-qhfg-hc2h-mmfc: The demangle_template function in cplus-dem
ghsa_unreviewed·2022-05-13·CVSS 7.5
CVE-2018-20657 [HIGH] CWE-772 GHSA-qhfg-hc2h-mmfc: The demangle_template function in cplus-dem
The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, has a memory leak via a crafted string, leading to a denial of service (memory consumption), as demonstrated by cxxfilt, a related issue to CVE-2018-12698.
GHSA
GHSA-3xpc-qj75-hw9m: demangle_template in cplus-dem
ghsa_unreviewed·2022-05-13
CVE-2018-12698 [HIGH] GHSA-3xpc-qj75-hw9m: demangle_template in cplus-dem
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.
OSV
CVE-2018-20657: The demangle_template function in cplus-dem
osv·2019-01-02·CVSS 7.5
CVE-2018-20657 [HIGH] CVE-2018-20657: The demangle_template function in cplus-dem
The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, has a memory leak via a crafted string, leading to a denial of service (memory consumption), as demonstrated by cxxfilt, a related issue to CVE-2018-12698.
OSV
CVE-2018-12698: demangle_template in cplus-dem
osv·2018-06-23·CVSS 7.5
CVE-2018-12698 [HIGH] CVE-2018-12698: demangle_template in cplus-dem
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.
Ubuntu
GNU binutils vulnerabilities
vendor_ubuntu·2021-07-21
CVE-2018-19932 GNU binutils vulnerabilities
Title: GNU binutils vulnerabilities
Summary: Several security issues were fixed in GNU binutils.
USN-4336-1 fixed several vulnerabilities in GNU binutils. This update provides
the corresponding update for Ubuntu 16.04 ESM.
Original advisory details:
It was discovered that GNU binutils contained a large number of security
issues. If a user or automated system were tricked into processing a
specially-crafted file, a remote attacker could cause GNU binutils to
crash, resulting in a denial of service, or possibly execute arbitrary
code.
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
GNU binutils vulnerabilities
vendor_ubuntu·2020-04-22
CVE-2018-1000876 GNU binutils vulnerabilities
Title: GNU binutils vulnerabilities
Summary: Several security issues were fixed in GNU binutils.
It was discovered that GNU binutils contained a large number of security
issues. If a user or automated system were tricked into processing a
specially-crafted file, a remote attacker could cause GNU binutils to
crash, resulting in a denial of service, or possibly execute arbitrary
code.
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
libiberty vulnerabilities
vendor_ubuntu·2020-04-08
CVE-2018-12641 libiberty vulnerabilities
Title: libiberty vulnerabilities
Summary: Several security issues were fixed in libiberty.
It was discovered that libiberty incorrectly handled parsing certain
binaries. If a user or automated system were tricked into processing a
specially crafted binary, a remote attacker could use this issue to cause
libiberty to crash, resulting in a denial of service, or possibly execute
arbitrary code
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
libiberty: Memory leak in demangle_template function resulting in a denial of service
vendor_redhat·2018-12-18·CVSS 7.5
CVE-2018-20657 [HIGH] CWE-400 libiberty: Memory leak in demangle_template function resulting in a denial of service
libiberty: Memory leak in demangle_template function resulting in a denial of service
The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, has a memory leak via a crafted string, leading to a denial of service (memory consumption), as demonstrated by cxxfilt, a related issue to CVE-2018-12698.
A vulnerability was found in the demangle_template function in GNU libiberty, as distributed in GNU Binutils, where a memory leak could occur, a specially crafted file could cause the application to consume excessive memory, potentially leading to a crash.
Statement: This vulnerability is rated as low severity because it results in a memory leak that can cause the application to crash, it may impact performance, it does not pose a significant risk
Red Hat
binutils: excessive memory consumption in demangle_template in cplus-dem.c
vendor_redhat·2018-04-11·CVSS 7.5
CVE-2018-12698 [HIGH] CWE-400 binutils: excessive memory consumption in demangle_template in cplus-dem.c
binutils: excessive memory consumption in demangle_template in cplus-dem.c
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.
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
Debian
CVE-2018-12698: binutils - demangle_template in cplus-dem.c in GNU libiberty, as distributed in GNU Binutil...
vendor_debian·2018·CVSS 7.5
CVE-2018-12698 [HIGH] CVE-2018-12698: binutils - demangle_template in cplus-dem.c in GNU libiberty, as distributed in GNU Binutil...
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.
Scope: local
bookworm: resolved (fixed in 2.32.51.20190707-1)
bullseye: resolved (fixed in 2.32.51.20190707-1)
forky: resolved (fixed in 2.32.51.20190707-1)
sid: resolved (fixed in 2.32.51.20190707-1)
trixie: resolved (fixed in 2.32.51.20190707-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-12698 binutils: excessive memory consumption in demangle_template in cplus-dem.c [fedora-all]
bugzilla·2018-06-26·CVSS 7.5
CVE-2018-12698 [HIGH] CVE-2018-12698 binutils: excessive memory consumption in demangle_template in cplus-dem.c [fedora-all]
CVE-2018-12698 binutils: excessive memory consumption in demangle_template in cplus-dem.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects mu
Bugzilla
CVE-2018-12698 mingw-binutils: binutils: excessive memory consumption in demangle_template in cplus-dem.c [epel-all]
bugzilla·2018-06-26·CVSS 7.5
CVE-2018-12698 [HIGH] CVE-2018-12698 mingw-binutils: binutils: excessive memory consumption in demangle_template in cplus-dem.c [epel-all]
CVE-2018-12698 mingw-binutils: binutils: excessive memory consumption in demangle_template in cplus-dem.c [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issu
Bugzilla
CVE-2018-12698 mingw-binutils: binutils: excessive memory consumption in demangle_template in cplus-dem.c [fedora-all]
bugzilla·2018-06-26·CVSS 7.5
CVE-2018-12698 [HIGH] CVE-2018-12698 mingw-binutils: binutils: excessive memory consumption in demangle_template in cplus-dem.c [fedora-all]
CVE-2018-12698 mingw-binutils: binutils: excessive memory consumption in demangle_template in cplus-dem.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this
Bugzilla
CVE-2018-12698 binutils: excessive memory consumption in demangle_template in cplus-dem.c
bugzilla·2018-06-26·CVSS 7.5
CVE-2018-12698 [HIGH] CVE-2018-12698 binutils: excessive memory consumption in demangle_template in cplus-dem.c
CVE-2018-12698 binutils: excessive memory consumption in demangle_template in cplus-dem.c
A flaw was found in demangle_template in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30. This vulnerability allows attackers to trigger excessive memory consumption (aka OOM) during the "Create an array for saving the template argument values" XNEWVEC call.
References:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763102
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85454
https://sourceware.org/bugzilla/show_bug.cgi?id=23057
Discussion:
Created binutils tracking bugs for this issue:
Affects: fedora-all [bug 1595425]
Created mingw-binutils tracking bugs for this issue:
Affects: epel-all [bug 1595424]
Affects: fedora-all [bug 1595423]
http://www.securityfocus.com/bid/104539https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763102https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85454https://security.gentoo.org/glsa/201908-01https://sourceware.org/bugzilla/show_bug.cgi?id=23057https://usn.ubuntu.com/4326-1/https://usn.ubuntu.com/4336-1/http://www.securityfocus.com/bid/104539https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763102https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85454https://security.gentoo.org/glsa/201908-01https://sourceware.org/bugzilla/show_bug.cgi?id=23057https://usn.ubuntu.com/4326-1/https://usn.ubuntu.com/4336-1/
2018-06-23
Published