CVE-2018-20657

Source
https://cve.org/CVERecord?id=CVE-2018-20657
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20657.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-20657
Downstream
Published
2019-01-02T14:29:00.313Z
Modified
2026-04-10T04:09:02.552826Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / sourceware.org/git/binutils-gdb.git

Affected ranges

Type
GIT
Repo
https://sourceware.org/git/binutils-gdb.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
0860693812fff944ab0602e72b762a4a2078da5b
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.31.1"
        }
    ]
}

Affected versions

Other
binutils-2_31
binutils-2_31_1
gdb-4_18-branchpoint
gdb_5_2-branchpoint
gdb_5_3-branchpoint
gdb_6_0-branchpoint
gdb_6_1-branchpoint
gdb_6_2-branchpoint
gdb_6_3-branchpoint
gdb_6_4-branchpoint
gdb_6_5-branchpoint
gdb_6_6-branchpoint
gdb_6_7-branchpoint
gdb_6_8-branchpoint
gdb_7_0-branchpoint
gdb_7_1-branchpoint
gdb_7_2-branchpoint
gdb_7_3-branchpoint
gdb_7_4-branchpoint
gdb_7_5-branchpoint
gdb_7_6-branchpoint
users/ARM/embedded-binutils-master-2016q4
users/ARM/embedded-binutils-master-2017q4
users/ARM/embedded-gdb-master-2017q4
gdb-7.*
gdb-7.10-branchpoint
gdb-7.11-branchpoint
gdb-7.12-branchpoint
gdb-7.7-branchpoint
gdb-7.8-branchpoint
gdb-7.9-branchpoint
gdb-8.*
gdb-8.0-branchpoint
gdb-8.1-branchpoint

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20657.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "5.0.0"
            },
            {
                "last_affected": "5.1.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "4.4.0"
            }
        ]
    }
]