CVE-2018-20657Missing Release of Resource after Effective Lifetime in Binutils

Severity
7.5HIGHNVD
EPSS
0.3%
top 51.53%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 2
Latest updateMay 13

Description

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

NVDgnu/binutils2.31.1

🔴Vulnerability Details

3
GHSA
GHSA-qhfg-hc2h-mmfc: The demangle_template function in cplus-dem2022-05-13
OSV
CVE-2018-20657: The demangle_template function in cplus-dem2019-01-02
CVEList
CVE-2018-20657: The demangle_template function in cplus-dem2019-01-02

📋Vendor Advisories

1
Red Hat
libiberty: Memory leak in demangle_template function resulting in a denial of service2018-12-18

💬Community

4
Bugzilla
CVE-2018-1000876 CVE-2018-20623 CVE-2018-20651 CVE-2018-20657 CVE-2018-20671 CVE-2018-20673 binutils: various flaws [fedora-all]2019-01-09
Bugzilla
CVE-2018-1000876 CVE-2018-20623 CVE-2018-20651 CVE-2018-20657 CVE-2018-20671 CVE-2018-20673 mingw-binutils: various flaws [epel-all]2019-01-09
Bugzilla
CVE-2018-1000876 CVE-2018-20623 CVE-2018-20651 CVE-2018-20657 CVE-2018-20671 CVE-2018-20673 mingw-binutils: various flaws [fedora-all]2019-01-09
Bugzilla
CVE-2018-20657 libiberty: Memory leak in demangle_template function resulting in a denial of service2019-01-09
CVE-2018-20657 — GNU Binutils vulnerability | cvebase