Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3530

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3530
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:40 UTC · Revision 1

Source evidence

CVE-2021-3530

core-osv · Original source

Published 2 Jun 2021, 15:15 UTC

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.

osv:CVE-2021-3530
Complete source record
{
  "id": "76229e1b69a2800abf554a0a0315b5fdc6aaa4d80535fdff60293115afcf324a",
  "url": "https://osv.dev/vulnerability/CVE-2021-3530",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3530",
    "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.",
    "evidence": "osv:CVE-2021-3530",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-3530",
      "aliases": [
        "CVE-2021-3530"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://sourceware.org/git/binutils-gdb.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9288e0fae61b716ce75334be906283de8b18b787"
                },
                {
                  "last_affected": "9288e0fae61b716ce75334be906283de8b18b787"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gnu:binutils:2.36:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.36"
                      },
                      {
                        "last_affected": "2.36"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.36",
            "binutils-2_36"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3530.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:32.223687115Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/202208-30",
        "https://security.netapp.com/advisory/ntap-20210716-0006/",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1956423",
        "https://src.fedoraproject.org/rpms/binutils/blob/rawhide/f/binutils-CVE-2021-3530.patch"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-3530",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 432971,
  "published_at": "2021-06-02T15:15:09.303+00:00"
}