Read the docs
TI-2021-21107 Aliases CVE-2021-46195GHSA-gr6j-4vhj-c665

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gnu:gcc:12.0:*:*:*:*:*:*:*12.0VulnerableGNU
  • cpe:2.3:a:gnu:gcc:12.0:*:*:*:*:*:*:* Versions 12.0 Vulnerable ·GNU

Remediation

Red Hat 1 advisory

  • RHSA-2022:8415 Released 2022-11-15 · Red Hat rating Low
    mingw-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 →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo 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

  1. 2026-10-02 Threatist record created from CVE-2021-46195
  2. 2026-10-03 Alias added: GHSA-gr6j-4vhj-c665
  3. 2026-10-08 CISA SSVC decision points changed
  4. 2026-11-07 Affected versions changed · Red Hat

References

  • 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
See all 13 →

Sources