CVE-2021-46195: gnu gcc Uncontrolled Recursion
Vulnerability summary
CVE-2021-46195 is a medium (CVSS 5.5) Uncontrolled Recursion vulnerability in gnu gcc. EPSS estimates a 0.86% chance of exploitation in the next 30 days, higher than 59.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 14-01-2022PublishedVulnerability first disclosed.
- 14-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · Red hatEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.86%
Chance of exploitation in the next 30 days
Percentile
60%
Versus all other CVEs
30-day change
Increase +0.06 pp
From 0.80% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (gcc.gnu.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat26 products
- mingw-gcc< 0:12.0.1-11.2.el9
- mingw-gcc-debuginfo< 0:12.0.1-11.2.el9
- mingw-gcc-debugsource< 0:12.0.1-11.2.el9
- mingw32-cpp< 0:12.0.1-11.2.el9
- mingw32-cpp-debuginfo< 0:12.0.1-11.2.el9
Debian1 product
- binutils< 2.37.90.20220207-1
Gnu1 product
- gcc12.0
Ubuntu1 product
- gcc-11All versions (No fix recorded)
4 vendors · 29 products