CVE-2026-45271

Picotls is a TLS protocol library that allows users select different crypto backends based on their use case. Picotls implements its own ASN.1 validation helper, which is used by the minicrypto backend while parsing local PKCS#8 private keys. Prior to commit c14231d801407640bc42c2dcf92783409ea6a7c7, the validator recursively descends into constructed ASN.1 elements without enforcing a maximum nesting depth. If an application loads an attacker-supplied private-key file through ptls_minicrypto_load_private_key(), or otherwise calls the public ASN.1 validation API on untrusted DER, a crafted deeply nested ASN.1 structure can exhaust the process stack and crash the application. Note that the libcrypto (OpenSSL) backend does not use the ASN.1 validation helper of picotls, and therefore is immune to this vulnerability. The vulnerability has been addressed in commit c14231d801407640bc42c2dcf92783409ea6a7c7.
Configurations

No configuration.

History

12 Oct 2026, 16:10

Type Values Removed Values Added
Summary
  • (es) Picotls es una biblioteca de protocolo TLS que permite a los usuarios seleccionar diferentes backends criptográficos según su caso de uso. Picotls implementa su propio asistente de validación ASN.1, que es utilizado por el backend minicrypto al analizar claves privadas PKCS#8 locales. Antes del commit c14231d801407640bc42c2dcf92783409ea6a7c7, el validador desciende recursivamente en elementos ASN.1 construidos sin imponer una profundidad máxima de anidamiento. Si una aplicación carga un archivo de clave privada suministrado por un atacante a través de ptls_minicrypto_load_private_key(), o de otro modo llama a la API pública de validación ASN.1 en DER no confiable, una estructura ASN.1 profundamente anidada y manipulada puede agotar la pila del proceso y bloquear la aplicación. Tenga en cuenta que el backend libcrypto (OpenSSL) no utiliza el asistente de validación ASN.1 de picotls y, por lo tanto, es inmune a esta vulnerabilidad. La vulnerabilidad ha sido abordada en el commit c14231d801407640bc42c2dcf92783409ea6a7c7.

Information

Published : 2026-08-21 21:16

Updated : 2026-10-12 16:10


NVD link : CVE-2026-45271

Mitre link : CVE-2026-45271

CVE.ORG link : CVE-2026-45271


JSON object : View

Products Affected

No product.

CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')