CVE-2021-46195
published 2022-01-14CVE-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…
PriorityP417medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
0.78%
51.6th percentile
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
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | binutils | < binutils 2.37.90.20220207-1 (bookworm) | binutils 2.37.90.20220207-1 (bookworm) |
| gnu | binutils | >= 0 < 2.37.90.20220207-1 | 2.37.90.20220207-1 |
| gnu | binutils | >= 0 < 2.37.90.20220207-1 | 2.37.90.20220207-1 |
| gnu | binutils | >= 0 < 2.37.90.20220207-1 | 2.37.90.20220207-1 |
| gnu | gcc | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5LOW
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-gr6j-4vhj-c665: GCC v12
ghsa_unreviewed·2022-01-15
CVE-2021-46195 [MEDIUM] CWE-674 GHSA-gr6j-4vhj-c665: GCC v12
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.
OSV
CVE-2021-46195: GCC v12
osv·2022-01-14·CVSS 5.5
CVE-2021-46195 [MEDIUM] CVE-2021-46195: GCC v12
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.
Red Hat
gcc: uncontrolled recursion in libiberty/rust-demangle.c
vendor_redhat·2021-01-29·CVSS 5.5
CVE-2021-46195 [MEDIUM] CWE-674 gcc: uncontrolled recursion in libiberty/rust-demangle.c
gcc: uncontrolled recursion in libiberty/rust-demangle.c
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.
A flaw was discovered in the GNU libiberty library within the demangle_path() function in rust-demangle.c, as distributed in the GNU Compiler Collection (GCC). This flaw allows a crafted symbol to cause stack memory to be exhausted, leading to a crash.
Statement: This flaw has been rated as having a security impact of Low. The problem is only triggered when deliberately corrupt input is passed to a tool that attempts to demangle symbol names. Normal users should never encounter this problem.
Package: compat
Debian
CVE-2021-46195: binutils - GCC v12.0 was discovered to contain an uncontrolled recursion via the component ...
vendor_debian·2021·CVSS 5.5
CVE-2021-46195 [MEDIUM] CVE-2021-46195: binutils - GCC v12.0 was discovered to contain an uncontrolled recursion via the component ...
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.
Scope: local
bookworm: resolved (fixed in 2.37.90.20220207-1)
bullseye: open
forky: resolved (fixed in 2.37.90.20220207-1)
sid: resolved (fixed in 2.37.90.20220207-1)
trixie: resolved (fixed in 2.37.90.20220207-1)
No detection rules found.
No public exploits indexed.
2022-01-14
Published