Vulnerability · Published Jun 2, 2021 · Assigned by redhat
CVE-2021-3530
High 7.5
In plain English
A high-severity security flaw in binutils. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.4%top 15.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | binutils | 2.37.90.20220207-1 | DEBIAN-CVE-2021-3530 |
| Debian:13 | binutils | 2.37.90.20220207-1 | DEBIAN-CVE-2021-3530 |
| Debian:14 | binutils | 2.37.90.20220207-1 | DEBIAN-CVE-2021-3530 |
| Ubuntu:22.04:LTS | gdb | 12.1-0ubuntu1~22.04 | UBUNTU-CVE-2021-3530 |
| Ubuntu:22.04:LTS | libiberty | no fix listed | UBUNTU-CVE-2021-3530 |
Affected products (as reported)
Weakness: CWE-674
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1956423 x_refsource_MISC
- https://src.fedoraproject.org/rpms/binutils/blob/rawhide/f/binutils-CVE-2021-3530.patch x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210716-0006/ x_refsource_CONFIRM
- GLSA-202208-30 vendor-advisory, x_refsource_GENTOO