# CVE-2021-46195

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-01-14 · Modified: 2026-10-14
- Aliases: RHSA-2022:8415, UBUNTU-CVE-2021-46195, DEBIAN-CVE-2021-46195
- Record: https://cvemate.com/vulnerability/CVE-2021-46195 · JSON: https://cvemate.com/vulnerability/CVE-2021-46195/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.859%, percentile 59.721%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected (first 20 of 29)

- debian binutils (Debian): \< 2.37.90.20220207-1
- ubuntu gcc-11 (Ubuntu): All versions (No fix recorded)
- gnu gcc: 12.0
- redhat mingw-gcc (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw-gcc-debuginfo (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw-gcc-debugsource (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw32-cpp (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw32-cpp-debuginfo (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw32-gcc (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw32-gcc-c++ (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw32-gcc-c++-debuginfo (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw32-gcc-debuginfo (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw32-gcc-gfortran-debuginfo (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw32-gcc-objc++-debuginfo (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw32-libgcc (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw64-cpp (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw64-cpp-debuginfo (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw64-gcc (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw64-gcc-c++ (Red Hat): \< 0:12.0.1-11.2.el9
- redhat mingw64-gcc-c++-debuginfo (Red Hat): \< 0:12.0.1-11.2.el9

## References

- <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103841>
- <https://access.redhat.com/errata/RHSA-2022:8415>
- <https://access.redhat.com/security/updates/classification/#low>
- <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.1_release_notes/index>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2046300>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2080170>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2096010>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_8415.json>
- <https://access.redhat.com/security/cve/CVE-2021-46195>
- <https://www.cve.org/CVERecord?id=CVE-2021-46195>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-46195>
- <https://ubuntu.com/security/CVE-2021-46195>
- <https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=f10bec5ffa487ad3033ed5f38cfd0fc7d696deab>
- <https://security-tracker.debian.org/tracker/CVE-2021-46195>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

---

Data as of 2026-12-05T06:22:41.886Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
