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

EcosystemPackageFixed inAdvisory
AlmaLinux:9mingw32-cpp12.0.1-11.2.el9ALSA-2022:8415
AlmaLinux:9mingw32-gcc12.0.1-11.2.el9ALSA-2022:8415
AlmaLinux:9mingw32-gcc-c++12.0.1-11.2.el9ALSA-2022:8415
AlmaLinux:9mingw32-libgcc12.0.1-11.2.el9ALSA-2022:8415
AlmaLinux:9mingw64-cpp12.0.1-11.2.el9ALSA-2022:8415
AlmaLinux:9mingw64-gcc12.0.1-11.2.el9ALSA-2022:8415
AlmaLinux:9mingw64-gcc-c++12.0.1-11.2.el9ALSA-2022:8415
AlmaLinux:9mingw64-libgcc12.0.1-11.2.el9ALSA-2022:8415
Debian:12binutils2.37.90.20220207-1DEBIAN-CVE-2021-46195
Debian:13binutils2.37.90.20220207-1DEBIAN-CVE-2021-46195
Debian:14binutils2.37.90.20220207-1DEBIAN-CVE-2021-46195
Ubuntu:22.04:LTSgcc-11no fix listedUBUNTU-CVE-2021-46195
Ubuntu:24.04:LTSgcc-11no fix listedUBUNTU-CVE-2021-46195
Ubuntu:25.10gcc-11no fix listedUBUNTU-CVE-2021-46195
Ubuntu:26.04:LTSgcc-11no fix listedUBUNTU-CVE-2021-46195
Ubuntu:26.10gcc-11no fix listedUBUNTU-CVE-2021-46195

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References