Skip to content
Fencer Vulns
high 7.8

CVE-2021-37322 json

GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.

published 2021-11-18 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-23891

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 59%
public exploits
0
none known

Summary

GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c.

Patch / fix

  • gnu binutils 2.32
  • gnu gcc 10.1
  • binutils Debian 14, Debian 13, Debian 12 2.27.51.20161102-1

debian advisories DEBIAN-CVE-2021-37322

  • binutils Ubuntu Pro 16.04 LTS 2.26.1-1ubuntu1~16.04.8+esm1

ubuntu advisories UBUNTU-CVE-2021-37322

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-37322 updated cvss 7.8

binutils: use-after-free in c++filt in cplus-dem.c

  • Red Hat Enterprise Linux 6 binutils Red Hat Enterprise Linux 7 binutils
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 binutils, mingw-binutils, mingw32-binutils, mingw64-binutils, gcc-toolset-9-binutils, mingw-binutils-generic, +2 more Red Hat Enterprise Linux 9 binutils, binutils-gold, mingw-binutils, mingw32-binutils, mingw64-binutils, mingw-binutils-generic
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.88% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • gcc.gnu.org https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99188 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.