CVE-2021-32256 Memory corruption in n/a

Medium 6.5 Published Updated

A stack overflow in GNU libiberty's Rust demangler allows attackers to cause denial of service or potentially execute code via crafted input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-32256?

CVE-2021-32256 is a medium-severity memory corruption vulnerability in Gnu Binutils, published on 18 Jul 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An issue was discovered in GNU libiberty, as distributed in GNU Binutils 2.36. It is a stack-overflow issue in demangle_type in rust-demangle.c.

Weakness: CWE-787

Which versions are affected by CVE-2021-32256?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2021-32256?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-32256 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-32256 exists.

All Gnu Binutils vulnerabilities

Sources

Also known as AZL-27632, AZL-27633, DEBIAN-CVE-2021-32256, ECHO-0878-dc78-521e, GHSA-rqxx-65jr-rfpc, UBUNTU-CVE-2021-32256.

Is CVE-2021-32256 in your software?

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

Check your SBOMs for free