CVE-2018-17985

medium

Description

An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption problem caused by the cplus_demangle_type function making recursive calls to itself in certain scenarios involving many 'P' characters.

References

https://usn.ubuntu.com/4336-1/

https://usn.ubuntu.com/4326-1/

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87335

http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00008.html

http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00072.html

Details

Source: Mitre, NVD

Published: 2018-10-04

Updated: 2024-11-21

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Severity: Medium