CVEfocus › CVE database › CVE-2021-3530

CVE-2021-3530

CVSS 7.5 HighEPSS 2.4% (higher than 84% of CVEs)Published 2021-06-02Updated 2024-08-03Assigner: redhat

A flaw was discovered in GNU libiberty within demangle_path() in rust-demangle.c, as distributed in GNU Binutils version 2.36. A crafted symbol can cause stack memory to be exhausted leading to a crash.

CWE-674

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
6Fix pending
26Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04binutilsNot affected
vulnerable_code_not_present
Ubuntu 26.04gdbNot affected
vulnerable_code_not_present
Ubuntu 26.04libibertyNot affected
vulnerable_code_not_present
Ubuntu 25.10binutilsNot affected
vulnerable_code_not_present
Ubuntu 25.10gdbNot affected
vulnerable_code_not_present
Ubuntu 25.10libibertyNot affected
vulnerable_code_not_present
Ubuntu 24.04binutilsNot affected
vulnerable_code_not_present
Ubuntu 24.04gdbNot affected
vulnerable_code_not_present
Ubuntu 24.04libibertyNot affected
vulnerable_code_not_present
Ubuntu 22.04binutilsNot affected
vulnerable_code_not_present
Ubuntu 22.04gdbFixed12.1-0ubuntu1~22.04UBUNTU-CVE-2021-3530
Ubuntu 22.04libibertyFix pendingUBUNTU-CVE-2021-3530
Ubuntu 20.04gdbNot affected
vulnerable_code_not_present
Ubuntu 20.04libibertyNot affected
vulnerable_code_not_present
Ubuntu 18.04libibertyNot affected
vulnerable_code_not_present
Ubuntu 16.04binutilsFix pending
Ubuntu 16.04gdbFix pending
Ubuntu 16.04libibertyFix pending
Ubuntu 14.04gdbFix pending
Ubuntu 14.04libibertyFix pending
Debian 14binutilsFixed2.37.90.20220207-1DEBIAN-CVE-2021-3530
Debian 13binutilsFixed2.37.90.20220207-1DEBIAN-CVE-2021-3530
Debian 12binutilsFixed2.37.90.20220207-1DEBIAN-CVE-2021-3530
Red Hat Enterprise Linux 9binutilsNot affected
Red Hat Enterprise Linux 9binutils-develNot affected
Red Hat Enterprise Linux 9binutils-goldNot affected
Red Hat Enterprise Linux 8binutilsNot affected
Red Hat Enterprise Linux 8binutils-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-binutilsNot affected
Red Hat Enterprise Linux 8gcc-toolset-10-binutils-develNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-binutilsNot affected
Red Hat Enterprise Linux 8gcc-toolset-9-binutils-develNot affected
Red Hat Enterprise Linux 7binutilsNot affected
Red Hat Enterprise Linux 7binutils-develNot affected
Red Hat Enterprise Linux 6binutilsNot affected
Red Hat Enterprise Linux 6binutils-develNot affected

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.