{
  "id": "CVE-2026-59884",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-59884",
  "published_at": "2026-07-14T16:41:10.277Z",
  "title": "pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs",
  "vendor": "pyasn1",
  "product": "pyasn1",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the BER decoder shared by the CER and DER codecs parses long-form tags by accumulating continuation octets without an upper bound on the tag ID size, allowing a crafted input to force construction of an arbitrarily large integer with CPU cost growing quadratically and to trigger unhandled ValueError exceptions in Python 3.11+ error formatting paths. Any application decoding untrusted BER, CER, or DER input is affected. This issue is fixed in version 0.6.4.",
  "cwe": "CWE-400",
  "cpes": [
    "cpe:2.3:a:pyasn1:pyasn1:*:*:*:*:*:python:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "pyasn1",
        "product": "pyasn1",
        "ranges": [
          "\u003c 0.6.4"
        ],
        "fixed_in": [
          "0.6.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade pyasn1 to 0.6.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-m4p7-r5rc-7g4j"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/pyasn1/pyasn1/commit/628e36ecbb5277a3f01572ce418ef54271b165a5"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.4"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
