All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-37322

Probability of exploitation in the next 30 days: 0.88%

FIRST EPSS · 2026-11-23

Description

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.