CVE-2021-3530 json
A flaw was discovered in GNU libiberty within demangle_path() in rust-demangle.c, as distributed in GNU Binutils version 2.36.
published 2021-06-02 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-26846
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- binutils Debian 14, Debian 13, Debian 12 2.37.90.20220207-1
debian advisories DEBIAN-CVE-2021-3530
- gdb Ubuntu 22.04 LTS 12.1-0ubuntu1~22.04
ubuntu advisories UBUNTU-CVE-2021-3530
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
- binutils SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +6 more 2.39-9.50.1
- cross-ppc-binutils SLE Software Development Kit 12 SP5 2.39-9.50.1
- cross-spu-binutils SLE Software Development Kit 12 SP5 2.39-9.50.1
- binutils SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES 15 SP2-LTSS +20 more 2.39-150100.7.40.1
- cross-rx-binutils openSUSE Leap 15.4, openSUSE Leap 15.3 2.39-150100.7.40.1
- cross-arm-binutils openSUSE Leap 15.4, openSUSE Leap 15.3 2.39-150100.7.40.1
- cross-avr-binutils openSUSE Leap 15.4, openSUSE Leap 15.3 2.39-150100.7.40.1
- cross-ppc-binutils openSUSE Leap 15.4, openSUSE Leap 15.3 2.39-150100.7.40.1
suse advisories SUSE-SU-2022:4277-1SUSE-SU-2022:4146-1
- binutils Arch Linux 2.38-1
arch linux advisories AVG-1540
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-3530 updated cvss 3.3
binutils: stack memory exhaustion in demangle_path() in rust-demangle.c
-
Red Hat Enterprise Linux 6 binutils Red Hat Enterprise Linux 7 binutils Red Hat Enterprise Linux 8 binutils, gcc-toolset-9-binutils, gcc-toolset-10-binutils Red Hat Enterprise Linux 9 binutils, binutils-goldnot 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
2.40% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected products
- n/a binutils
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
src.fedoraproject.org
/rpms/binutils/blob/rawhide/f/binutils-CVE-2021-3530.patch
patch, third-party-advisory
-
security.gentoo.org
/glsa/202208-30
vendor-advisory, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1956423
issue-tracking, third-party-advisory
-
security.netapp.com
/advisory/ntap-20210716-0006/
third-party-advisory
Sources
- CVE List CVE-2021-3530
- NVD CVE-2021-3530
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.