CVE-2021-46195

gcc: uncontrolled recursion in libiberty/rust-demangle.c

Published Jan 14, 2022 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-32895 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.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics epss

{'score': 0.00259}

epss

{'score': 0.00198}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 14, 2026, 12:07 PM
Reserved
Jan 10, 2022, 12:00 AM
Status
Modified
Published
Jan 14, 2022, 8:15 PM
Modified
Oct 14, 2026, 1:17 PM
Severity
Low
Public date
Jan 29, 2021, 12:00 AM