Vulnerability · Published Jan 14, 2022 · Assigned by mitre
CVE-2021-46195
Medium 5.5
In plain English
A medium-severity security flaw in the mingw32-cpp package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.8%top 43.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | mingw32-cpp | 12.0.1-11.2.el9 | ALSA-2022:8415 |
| AlmaLinux:9 | mingw32-gcc | 12.0.1-11.2.el9 | ALSA-2022:8415 |
| AlmaLinux:9 | mingw32-gcc-c++ | 12.0.1-11.2.el9 | ALSA-2022:8415 |
| AlmaLinux:9 | mingw32-libgcc | 12.0.1-11.2.el9 | ALSA-2022:8415 |
| AlmaLinux:9 | mingw64-cpp | 12.0.1-11.2.el9 | ALSA-2022:8415 |
| AlmaLinux:9 | mingw64-gcc | 12.0.1-11.2.el9 | ALSA-2022:8415 |
| AlmaLinux:9 | mingw64-gcc-c++ | 12.0.1-11.2.el9 | ALSA-2022:8415 |
| AlmaLinux:9 | mingw64-libgcc | 12.0.1-11.2.el9 | ALSA-2022:8415 |
| Debian:12 | binutils | 2.37.90.20220207-1 | DEBIAN-CVE-2021-46195 |
| Debian:13 | binutils | 2.37.90.20220207-1 | DEBIAN-CVE-2021-46195 |
| Debian:14 | binutils | 2.37.90.20220207-1 | DEBIAN-CVE-2021-46195 |
| Ubuntu:22.04:LTS | gcc-11 | no fix listed | UBUNTU-CVE-2021-46195 |
| Ubuntu:24.04:LTS | gcc-11 | no fix listed | UBUNTU-CVE-2021-46195 |
| Ubuntu:25.10 | gcc-11 | no fix listed | UBUNTU-CVE-2021-46195 |
| Ubuntu:26.04:LTS | gcc-11 | no fix listed | UBUNTU-CVE-2021-46195 |
| Ubuntu:26.10 | gcc-11 | no fix listed | UBUNTU-CVE-2021-46195 |