CVE-2021-37322: GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.
CVE-2021-37322 is a high-severity flaw (CVSS 7.8) affecting binutils, gcc. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.9% (top 41%) |
| CISA exploited list | No |
| Weakness | CWE-416 |
| Published | 2021-11-18 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-37322?
binutils: upgrade to 2.32; gcc: upgrade to 10.1. Exact commands for each OS are on this page.
Is CVE-2021-37322 being exploited?
CVE-2021-37322 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-37322 affect?
CVE-2021-37322 affects binutils, gcc. Severity is high (CVSS 7.8). GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.
How urgent is CVE-2021-37322?
Priority 47/100. High severity; Public exploit reference
Related CVEs
- CVE-2026-6846 HIGH 7.8 UPGRADE MITIGATE A flaw was found in binutils
- CVE-2026-6844 MEDIUM 5.5 MITIGATE MITIGATE A flaw was found in the `readelf` utility of the binutils package
- CVE-2026-6845 MEDIUM 5.0 MITIGATE MITIGATE A flaw was found in binutils, specifically within the `readelf` utility
- CVE-2018-18700 MEDIUM 5.5 DOWNGRADE An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31
- CVE-2025-8224 LOW 3.3 DOWNGRADE A vulnerability has been found in GNU Binutils 2.44 and classified as problematic