CVE-2021-37322
published 2021-11-18CVE-2021-37322: GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.
PriorityP335high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.85%
54.0th percentile
GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | binutils | < binutils 2.27.51.20161102-1 (bookworm) | binutils 2.27.51.20161102-1 (bookworm) |
| gnu | binutils | < 2.32 | 2.32 |
| gnu | binutils | >= 0 < 2.27.51.20161102-1 | 2.27.51.20161102-1 |
| gnu | binutils | >= 0 < 2.27.51.20161102-1 | 2.27.51.20161102-1 |
| gnu | binutils | >= 0 < 2.27.51.20161102-1 | 2.27.51.20161102-1 |
| gnu | binutils | >= 0 < 2.27.51.20161102-1 | 2.27.51.20161102-1 |
| gnu | gcc | < 10.1 | 10.1 |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cm1_gcc_9.1.0-7_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8LOW
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
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.
Microsoft
GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.
vendor_msrc·2021-11-09·CVSS 7.8
CVE-2021-37322 [HIGH] CWE-416 GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.
GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Action Required: Yes
Remediati
Red Hat
binutils: use-after-free in c++filt in cplus-dem.c
vendor_redhat·2021-02-22·CVSS 7.8
CVE-2021-37322 [HIGH] CWE-416 binutils: use-after-free in c++filt in cplus-dem.c
binutils: use-after-free in c++filt in cplus-dem.c
GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.
A use-after-free flaw was found in binutils’ cxxfilt functionality. The attack needs to be initiated locally where an attacker could convince a victim to read a specially crafted file which is processed by cxxfilt, leading to disclosure of memory and possibly leading to the execution of arbitrary code or causing the utility to crash.
Statement: Red Hat Product Security has rated this issue as having Moderate security impact and the issue is not currently planned to be addressed in future updates for Red Hat Enterprise Linux 6 and 7. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/sec
Debian
CVE-2021-37322: binutils - GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via t...
vendor_debian·2021·CVSS 7.8
CVE-2021-37322 [HIGH] CVE-2021-37322: binutils - GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via t...
GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.
Scope: local
bookworm: resolved (fixed in 2.27.51.20161102-1)
bullseye: resolved (fixed in 2.27.51.20161102-1)
forky: resolved (fixed in 2.27.51.20161102-1)
sid: resolved (fixed in 2.27.51.20161102-1)
trixie: resolved (fixed in 2.27.51.20161102-1)
GHSA
GHSA-6f99-ppjg-wgj7: GCC c++filt v2
ghsa_unreviewed·2022-05-24
CVE-2021-37322 [CRITICAL] CWE-416 GHSA-6f99-ppjg-wgj7: GCC c++filt v2
GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.
OSV
CVE-2021-37322: GCC c++filt v2
osv·2021-11-18·CVSS 7.8
CVE-2021-37322 [HIGH] CVE-2021-37322: GCC c++filt v2
GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2021-11-18
Published