PT-2018-2449 · Gnu+2 · Gnu Binutils+2

Dongliang Mu

·

Published

2018-03-02

·

Updated

2021-07-21

·

CVE-2018-9138

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions GNU Binutils versions 2.29 through 2.30
Description An issue in the C++ demangling functions provided by libiberty, specifically in the cplus-dem.c file, leads to stack exhaustion due to recursive stack frames in functions such as demangle nested args, demangle args, do arg, and do type. This can potentially allow an attacker to cause a denial of service.
Recommendations For GNU Binutils versions 2.29 and 2.30, consider disabling the C++ demangling functions provided by libiberty as a temporary workaround until a patch is available. Restrict access to the vulnerable functions demangle nested args, demangle args, do arg, and do type to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Uncontrolled Recursion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2019-1204
ALT-PU-2019-1367
BDU:2019-00671
CVE-2018-9138
USN-4326-1
USN-4336-1
USN-4336-2

Affected Products

Alt Linux
Gnu Binutils
Ubuntu