CVE-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
02 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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.79% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 56.1% of scored records. A rank, not a probability.
- NVD base score
- 5.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-14.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-01-14 19:16Z4 YR AGO
- Last updated
- 2026-10-14 12:07Z15 DAYS AGO
- Reserved
- 2022-01-10
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-674Uncontrolled RecursionClass
- Data version
- 5.2
- Document digest
- 6e4d9552ef4dce44a05ba3b41ba810526a9a82e668b38d9dab2e17df727457ef
05 Affected products
06 References
- gcc.gnu.orghttps://gcc.gnu.org/bugzilla/show_bug.cgi?id=103841
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-398330.html
07 Fixed in
AlmaLinux 9
- mingw32-cpp Fixed in 12.0.1-11.2.el9
- mingw32-gcc Fixed in 12.0.1-11.2.el9
- mingw32-gcc-c++ Fixed in 12.0.1-11.2.el9
- mingw32-libgcc Fixed in 12.0.1-11.2.el9
- mingw64-cpp Fixed in 12.0.1-11.2.el9
- mingw64-gcc Fixed in 12.0.1-11.2.el9
- mingw64-gcc-c++ Fixed in 12.0.1-11.2.el9
- mingw64-libgcc Fixed in 12.0.1-11.2.el9
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- mingw32-cpp Fixed in 12.0.1-11.2.el9
- mingw32-gcc Fixed in 12.0.1-11.2.el9
- mingw32-gcc-c++ Fixed in 12.0.1-11.2.el9
- mingw32-libgcc Fixed in 12.0.1-11.2.el9
- mingw64-cpp Fixed in 12.0.1-11.2.el9
- mingw64-gcc Fixed in 12.0.1-11.2.el9
- mingw64-gcc-c++ Fixed in 12.0.1-11.2.el9
- mingw64-libgcc Fixed in 12.0.1-11.2.el9
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- binutils Fixed in 2.37.90.20220207-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- binutils Fixed in 2.37.90.20220207-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- binutils Fixed in 2.37.90.20220207-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- gcc-11 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- gcc-11 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- gcc-11 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- gcc-11 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.10
- gcc-11 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.