CVE-2021-37322 Use after free in n/a

High 7.8 Published Updated

A use-after-free flaw in GCC's c++filt utility allows attackers to execute arbitrary code or cause a denial of service via crafted input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-37322?

CVE-2021-37322 is a high-severity use after free vulnerability in Gnu Binutils, published on 18 Nov 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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

Weakness: CWE-416

Which versions are affected by CVE-2021-37322?

It affects 2 products.

Products include Gnu Binutils, Gnu Gcc.

How do I fix CVE-2021-37322?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-37322 being exploited?

There is no known exploitation of CVE-2021-37322 in the wild and no public exploit code.

All Gnu Binutils vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-37322, GHSA-6f99-ppjg-wgj7, UBUNTU-CVE-2021-37322.

Is CVE-2021-37322 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free