GCC v12.0 was discovered to contain an uncontrolled recursion via the component…
Priority LOW 26CWE-674Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 fixed, 6 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-674.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00859 58th percentileScored 2026-11-08
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 1 advisoryRed Hat: 1 fixed, 6 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2022:8415 Released 2022-11-15 · Red Hat rating Lowmingw-gcc security and bug fix update
- Red Hat CodeReady Linux Builder (v. 9) mingw-gcc-12.0.1-11.2.el9, mingw32-cpp-12.0.1-11.2.el9, mingw32-gcc-12.0.1-11.2.el9 +6
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift AI (RHOAI) | Affected | — |
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2022:8415 |
Not affected: 2 products
- Red Hat Enterprise Linux 8
- Red Hat OpenShift AI (RHOAI)
Timeline
- 2026-10-02 Threatist record created from CVE-2021-46195
- 2026-10-03 Alias added: GHSA-gr6j-4vhj-c665
- 2026-10-08 CISA SSVC decision points changed
- 2026-11-07 Affected versions changed · Red Hat
References
More GNU Gcc vulnerabilities
- TI-2023-03747 GCC's-fstack-protector fails to guard dynamically-sized local variables on AArch64 CVSS 3.1MEDIUM 4.8
- TI-2018-09258 stack_protect_prologue in cfgexpand.c and stack_protect_epilogue in function.c in GNU… CVSS 3.0HIGH 8.1
- TI-2019-11913 The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize… CVSS 3.1HIGH 7.5
- TI-2008-01316 gcc 4.3.x does not generate a cld instruction while compiling functions used for string… CVSS 2.0HIGH 7.5
- TI-2021-15306 GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c. CVSS 3.1HIGH 7.8
- TI-2000-01207 The -ftrapv compiler option in gcc and g++ 3.3.3 and earlier does not handle all types of… CVSS 2.0HIGH 7.5
Sources
- CVE-2021-46195 · CVE Program
- CVE-2021-46195 · NVD
- FIRST EPSS
- GHSA-gr6j-4vhj-c665 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-46195 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences