CVE-2021-46195
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.86% (higher than 59% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
gnu gcc12.0NVD

All scores

NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

CWE-674

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se ha detectado que GCC versión v12.0, contiene una recursión no controlada por medio del componente libiberty/rust-demangle.c. Esta vulnerabilidad permite a atacantes causar una denegación de servicio (DoS) al consumir excesivos recursos de CPU y memoria

References

Sources

SourceRecordLicence
CVE ListCVE-2021-46195 changed 2026-10-14CVE Terms of Use
NVDCVE-2021-46195 changed 2026-10-14Public domain