A heap-based buffer over-read exists in the function d_expression_1 in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31.1. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by c++filt.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2018-20712 from the MITRE CVE dictionary dictionary and NIST NVD.
NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.
CVSS3 Base Score | 4.7 |
---|---|
CVSS3 Base Metrics | CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H |
Attack Vector | Local |
Attack Complexity | High |
Privileges Required | None |
User Interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity Impact | None |
Availability Impact | High |
Platform | Package | State |
---|---|---|
Red Hat Virtualization 4 | binutils | Under investigation |
Red Hat Enterprise Linux 7 | gcc | Not affected |
Red Hat Enterprise Linux 7 | binutils | Not affected |
Red Hat Enterprise Linux 7 | gdb | Not affected |
Red Hat Enterprise Linux 6 | gcc | Not affected |
Red Hat Enterprise Linux 6 | gdb | Not affected |
Red Hat Enterprise Linux 6 | binutils | Not affected |
Red Hat Enterprise Linux 5 | gcc | Not affected |
Red Hat Enterprise Linux 5 | gdb | Not affected |
Red Hat Enterprise Linux 5 | binutils | Not affected |