Skip to content
OpenAdvisories
Unscored CVE-2021-46195 EUVD-2021-32895GHSA-gr6j-4vhj-c665

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

Published Jan 14, 2022 · Updated Oct 14, 2026 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 binutils 2.37.90.20220207-1 —
Debian 13 binutils 2.37.90.20220207-1 —
Debian 12 binutils 2.37.90.20220207-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 gcc-11 No fix yet —
Ubuntu 26.04 LTS gcc-11 No fix yet —
Ubuntu 25.10 gcc-11 No fix yet —
Ubuntu 24.04 LTS gcc-11 No fix yet —
Ubuntu 22.04 LTS gcc-11 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 mingw-gcc +8 12.0.1-11.2.el9 RHSA-2022:8415

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 mingw32-cpp +7 12.0.1-11.2.el9 ALSA-2022:8415
ReleasePackageFixed inAdvisory
SLES 15 SP4 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SLES 15 SP3 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SLES 15 SP2 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SLES 15 SP1 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SLES 12 SP5 binutils +2 2.39-9.50.1 SUSE-SU-2022:4277-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 binutils 2.39-9.50.1 SUSE-SU-2022:4277-1
SLES 12 SP3 binutils 2.39-9.50.1 SUSE-SU-2022:4277-1
SLES 12 SP2 binutils 2.39-9.50.1 SUSE-SU-2022:4277-1
SLES for SAP 15 SP2 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SLES for SAP 15 SP1 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SLES for SAP 12 SP5 binutils 2.39-9.50.1 SUSE-SU-2022:4277-1
SLES for SAP 12 SP4 binutils 2.39-9.50.1 SUSE-SU-2022:4277-1
SLE HPC 15 SP2 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SLE HPC 15 SP1 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SUSE OpenStack Cloud Crowbar 9 binutils 2.39-9.50.1 SUSE-SU-2022:4277-1
SUSE OpenStack Cloud 9 binutils 2.39-9.50.1 SUSE-SU-2022:4277-1
SUSE Manager Server 4.1 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SUSE Manager Retail Branch Server 4.1 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SUSE Manager Proxy 4.1 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SUSE Enterprise Storage 7 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SUSE Enterprise Storage 6 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed binutils 2.39-2.1 openSUSE-SU-2024:12631-1
openSUSE Leap 15.4 binutils +21 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
openSUSE Leap 15.3 binutils +21 2.39-150100.7.40.1 SUSE-SU-2022:4146-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 mingw32-cpp +7 12.0.1-11.2.el9 ELSA-2022-8415

Advisories 10

References