# CVE-2021-46195: GCC v12.0 was discovered to contain an uncontrolled recursion via the component libiberty/rust-demangle.c.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-14T19:16:12.000Z
- Modified: 2026-10-14T13:17:12.637Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gnu gcc: 12.0

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103841> (exploit, issue-tracking, vendor-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2021-46195](https://www.cve.org/CVERecord?id=CVE-2021-46195), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2021-46195](https://nvd.nist.gov/vuln/detail/CVE-2021-46195), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2021-46195 · Whole record: https://cve.day/CVE-2021-46195.json · Rebuilt by cve.day 2026-11-25T22:58:06.557Z
