CVE-2021-46195

MEDIUM CVSS 3.1: 5.5 EPSS 0.86%
Updated Oct 14, 2026
Gnu
Parameter Value
CVSS 5.5 (MEDIUM)
Type CWE-674
Vendor Gnu
Public PoC No

GCC v12.0 was discovered to contain an uncontrolled recursion via the component libiberty/rust-demangle.c. This vulnerability allows attackers to cause a Denial of Service (DoS) by consuming excessive CPU and memory resources.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Gnu Gcc
cpe:2.3:a:gnu:gcc:12.0:*:*:*:*:*:*:*
— —