{"id":"UBUNTU-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":"2025-09-08T16:46:44Z","published":"2021-06-02T15:15:00Z","upstream":["CVE-2021-3530"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3530"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2021-3530"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3530"}],"affected":[{"package":{"name":"gdb","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/gdb@12.1-0ubuntu1~22.04?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.1-0ubuntu1~22.04"}]}],"versions":["11.1-0ubuntu2","11.1-0ubuntu3","11.2-0ubuntu1","12.0.50.20220217-0ubuntu1","12.0.90-0ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"12.1-0ubuntu1~22.04","binary_name":"gdb"},{"binary_version":"12.1-0ubuntu1~22.04","binary_name":"gdb-multiarch"},{"binary_version":"12.1-0ubuntu1~22.04","binary_name":"gdb-source"},{"binary_version":"12.1-0ubuntu1~22.04","binary_name":"gdbserver"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3530.json"}},{"package":{"name":"libiberty","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libiberty@20211102-1build1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20210106-1build1","20211102-1","20211102-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"20211102-1build1","binary_name":"libiberty-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3530.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}