ASN.1 Validation Flaw in Picotls TLS Library Affects Crypto Operations
CVE-2026-45271
5.5MEDIUM
What is CVE-2026-45271?
A flaw in the Picotls TLS protocol library's ASN.1 validation helper can lead to application crashes caused by deep recursion in nested ASN.1 elements. When using the minicrypto backend to parse untrusted PKCS#8 private keys, an attacker can craft deeply nested structures that exhaust the process stack. This vulnerability can be exploited when applications call the ptls_minicrypto_load_private_key() function with malicious input. However, implementations using the libcrypto (OpenSSL) backend remain unaffected. The issue has been addressed in a specific commit to the Picotls repository.
Affected Version(s)
picotls < c14231d801407640bc42c2dcf92783409ea6a7c7
