{"id":"CVE-2021-3530","details":"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.","modified":"2026-04-12T00:38:33.092771Z","published":"2021-06-02T15:15:09.303Z","related":["SUSE-SU-2022:4146-1","SUSE-SU-2022:4277-1"],"references":[{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202208-30"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210716-0006/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1956423"},{"type":"FIX","url":"https://src.fedoraproject.org/rpms/binutils/blob/rawhide/f/binutils-CVE-2021-3530.patch"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://sourceware.org/git/binutils-gdb.git","events":[{"introduced":"0"},{"last_affected":"9288e0fae61b716ce75334be906283de8b18b787"}],"database_specific":{"cpe":"cpe:2.3:a:gnu:binutils:2.36:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"2.36"}],"source":"CPE_FIELD"}}],"versions":["binutils-2_36","gdb-10-branchpoint","gdb-4_18-branchpoint","gdb-7.10-branchpoint","gdb-7.11-branchpoint","gdb-7.12-branchpoint","gdb-7.7-branchpoint","gdb-7.8-branchpoint","gdb-7.9-branchpoint","gdb-8.0-branchpoint","gdb-8.1-branchpoint","gdb-8.2-branchpoint","gdb-8.3-branchpoint","gdb-9-branchpoint","gdb_5_2-branchpoint","gdb_5_3-branchpoint","gdb_6_0-branchpoint","gdb_6_1-branchpoint","gdb_6_2-branchpoint","gdb_6_3-branchpoint","gdb_6_4-branchpoint","gdb_6_5-branchpoint","gdb_6_6-branchpoint","gdb_6_7-branchpoint","gdb_6_8-branchpoint","gdb_7_0-branchpoint","gdb_7_1-branchpoint","gdb_7_2-branchpoint","gdb_7_3-branchpoint","gdb_7_4-branchpoint","gdb_7_5-branchpoint","gdb_7_6-branchpoint","users/ARM/embedded-binutils-master-2016q4","users/ARM/embedded-binutils-master-2017q4","users/ARM/embedded-binutils-master-2018q4","users/ARM/embedded-gdb-master-2017q4","users/ARM/embedded-gdb-master-2018q4"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3530.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}