CVE-2021-46195
GCC v12.0 was discovered to contain an uncontrolled recursion via the component libiberty/rust-demangle.c.
Published Jan 14, 2022 · updated Oct 14, 2026 · gnu gcc
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.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Jan 14, 2022 · NIST NVD
Detected
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.
Oct 14, 2026 · NIST NVD
Updated
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.
Affected
- cpe gnu/gcc12.0
Sources
- CVE.orgVulnerability recordCVE-2021-46195
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2021-46195
30-day exploitation probability 0.8%
first.org - NIST NVDVulnerability recordCVE-2021-46195
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.
nvd.nist.gov