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.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 5.5
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS probability
- 0.11%
- CWE
- CWE-835
- Published
- 2026-08-21
- Last modified
- 2026-08-25
Affected products
- h2o picotls
Weakness type
Related vulnerabilities
- CVE-2026-88002 — Open WebUI: Any authenticated user can hang the server via a cyclic chat message history
- CVE-2026-88000 — Open WebUI: Any authenticated user can hang the server via message deletion in a cyclic chat tree
- CVE-2026-87013 — Open WebUI: Any authenticated user can start a non-terminating request via a folder parent cycle
- CVE-2026-6554 — infinte loop in libpcap before 1.10.7
- CVE-2026-85730 — smol-toml: Denial of Service via malformed TOML documents
- CVE-2026-78543 — IBM App Connect Enterprise and IBM Integration Bus for z/OS Adapter nodes are vulnerable to multiple CVEs
- CVE-2026-84309 — pypdf: Possible infinite loop for TreeObject.insert_child
- CVE-2026-82605 — BareBones BBEdit Lasso Language Tokenizer infinite loop