CVE-2021-3530Uncontrolled Recursion in Binutils

Severity
7.5HIGHNVD
EPSS
0.4%
top 42.22%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJun 2
Latest updateMay 24

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

Debiangnu/binutils< 2.37.90.20220207-1+2
CVEListV5gnu/binutilsGNU Binutils version before and including 2.36
NVDgnu/binutils2.36

Patches

🔴Vulnerability Details

3
GHSA
GHSA-54mp-4694-9j92: A flaw was discovered in GNU libiberty within demangle_path() in rust-demangle2022-05-24
CVEList
CVE-2021-3530: A flaw was discovered in GNU libiberty within demangle_path() in rust-demangle2021-06-02
OSV
CVE-2021-3530: A flaw was discovered in GNU libiberty within demangle_path() in rust-demangle2021-06-02

📋Vendor Advisories

3
Red Hat
binutils: infinite loop while demangling rust symbols2021-06-08
Red Hat
binutils: stack memory exhaustion in demangle_path() in rust-demangle.c2021-04-21
Debian
CVE-2021-3530: binutils - A flaw was discovered in GNU libiberty within demangle_path() in rust-demangle.c...2021
CVE-2021-3530 — Uncontrolled Recursion in GNU Binutils | cvebase