p PatchFirst

CVE-2026-119195

CVE-2026-119195 · pyasn1: Quadratic-time denial of service in constructed string and indefinite-length ANY decoding

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.5, constructed string and indefinite-length ANY decoding repeatedly concatenates each fragment onto a growing bytes value. Attacker-controlled BER or CER data can use many constructed OCTET STRING or character-string fragments. DER rejects constructed OCTET STRING without a schema, but accepts its definite-length form when asn1Spec selects univ.OctetString; it also accepts constructed character strings such as UTF8String without a schema, even though those encodings are not valid DER. The separate indefinite-length ANY path is reachable in BER and CER when asn1Spec selects univ.Any; DER rejects indefinite lengths. OctetStringPayloadDecoder uses growing header concatenation and AnyPayloadDecoder.indefLenValueDecoder uses growing chunk concatenation, repeatedly copying an increasing prefix and causing quadratic work. A sufficiently fragmented value can occupy decoding workers and cause CPU exhaustion without confidentiality or integrity impact. This issue is fixed in version 0.6.5.

CVSS 7.5 · Alta · EPSS 0,5% · Corrección disponible

Publicación
Actualización

Pila tecnológica: system · python

Productos y versiones afectados

  • pyasn1

    Versiones
    • < 0.6.5: Afectada

    Sin corrección publicada

  • pyasn1 Debian:12

    Versiones
    • 0.4.8-3
    • 0.4.8-3+deb12u1
    • 0.4.8-3+deb12u2
    • 0.4.8-3+deb12u3
    • 0.4.8-4
    • 0.5.1-1
    • 0.6.0-1
    • 0.6.1-1
    • 0.6.2-1
    • 0.6.2-1~bpo13+1
    • 0.6.3-1
    • 0.6.4-1
    • 0.6.4-1~bpo13+1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • pyasn1 Debian:13

    Versiones
    • 0.6.1-1
    • 0.6.1-1+deb13u1
    • 0.6.1-1+deb13u2
    • 0.6.1-1+deb13u3
    • 0.6.2-1
    • 0.6.2-1~bpo13+1
    • 0.6.3-1
    • 0.6.4-1
    • 0.6.4-1~bpo13+1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • pyasn1 Debian:14

    Versiones
    • 0.6.1-1
    • 0.6.2-1
    • 0.6.2-1~bpo13+1
    • 0.6.3-1
    • 0.6.4-1
    • 0.6.4-1~bpo13+1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • pyasn1 PyPI

    Versiones
    • 0.0.10a
    • 0.0.11a
    • 0.0.12a
    • 0.0.13
    • 0.0.13a
    • 0.0.13b
    • 0.0.6a
    • 0.0.9a
    • 0.1.1
    • 0.1.2
    • 0.1.3
    • 0.1.4
    • 0.1.5
    • 0.1.6
    • 0.1.7
    • 0.1.8
    • 0.1.9
    • 0.2.1
    • 0.2.2
    • 0.2.3
    • 0.3.1
    • 0.3.2
    • 0.3.3
    • 0.3.4
    • 0.3.5
    • 0.3.6
    • 0.3.7
    • 0.4.1
    • 0.4.2
    • 0.4.3
    • 0.4.4
    • 0.4.5
    • 0.4.6
    • 0.4.7
    • 0.4.8
    • 0.5.0
    • 0.5.1
    • 0.6.0
    • 0.6.1
    • 0.6.2
    • 0.6.3
    • 0.6.4
    Intervalos de versiones afectados
    • ECOSYSTEM: < 0.6.5

    Actualiza a 0.6.5

  • pyasn1 Ubuntu:Pro:14.04:LTS

    Versiones
    • 0.1.4-0ubuntu1
    • 0.1.7-1ubuntu1
    • 0.1.7-1ubuntu2
    • 0.1.7-1ubuntu2.1
    • 0.1.7-1ubuntu2.1+esm1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • pyasn1 Ubuntu:Pro:16.04:LTS

    Versiones
    • 0.1.8-2
    • 0.1.9-1
    • 0.1.9-1ubuntu0.1~esm1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • pyasn1 Ubuntu:Pro:18.04:LTS

    Versiones
    • 0.1.9-2
    • 0.4.2-3
    • 0.4.2-3ubuntu0.18.04.1~esm1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • pyasn1 Ubuntu:Pro:20.04:LTS

    Versiones
    • 0.4.2-3
    • 0.4.2-3build1
    • 0.4.2-3ubuntu0.20.04.1~esm1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • pyasn1 Ubuntu:22.04:LTS

    Versiones
    • 0.4.8-1
    • 0.4.8-1ubuntu0.1
    • 0.4.8-1ubuntu0.2
    • 0.4.8-1ubuntu0.3
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • pyasn1 Ubuntu:24.04:LTS

    Versiones
    • 0.4.8-4
    • 0.4.8-4ubuntu0.1
    • 0.4.8-4ubuntu0.2
    • 0.4.8-4ubuntu0.3
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • pyasn1 Ubuntu:26.10

    Versiones
    • 0.6.3-1
    • 0.6.4-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • pyasn1 Ubuntu:26.04:LTS

    Versiones
    • 0.6.1-1
    • 0.6.1-1build1
    • 0.6.2-1
    • 0.6.3-1
    • 0.6.3-1ubuntu0.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →