{
  "id": "CVE-2026-119197",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-119197",
  "published_at": "2026-10-29T19:48:52.47Z",
  "title": "pyasn1: Quadratic-complexity denial of service in binary REAL decoding",
  "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.5, binary REAL decoding builds a large mantissa one octet at a time by shifting a growing integer and slicing the remaining byte string. Attacker-controlled ASN.1 includes a binary-encoded REAL with a large mantissa and reaches BER, CER, or DER decode(), with or without a schema containing REAL. RealPayloadDecoder.valueDecoder repeatedly performs a left shift, OR, and suffix copy for every mantissa octet, making decode time quadratic in mantissa length. A comparatively small REAL value can hold a decoding worker on one CPU core for seconds or longer and cause availability loss. This issue is fixed in version 0.6.5.",
  "cwe": "CWE-407",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "pyasn1",
        "product": "pyasn1",
        "ranges": [
          "\u003c 0.6.5"
        ],
        "fixed_in": [
          "0.6.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade pyasn1 to 0.6.5 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-mm57-4v3p-rchx"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/pyasn1/pyasn1/pull/132"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/pyasn1/pyasn1/commit/ce3ec3390784780a530047e0e77be5ff457636a4"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.5"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
