๐Ÿ” CVE Alert

CVE-2026-45271

MEDIUM 5.5

picotls has infinite recursion in the minicrypto ASN.1 decoder

CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-835
Vendor h2o
Product picotls
Published Aug 21, 2026
Stay Ahead of the Next One

Get instant alerts for h2o picotls

Be the first to know when new medium vulnerabilities affecting h2o picotls are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

h2o / picotls
< c14231d801407640bc42c2dcf92783409ea6a7c7

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/h2o/picotls/security/advisories/GHSA-84f5-m5x2-82q4 github.com: https://github.com/h2o/picotls/commit/c14231d801407640bc42c2dcf92783409ea6a7c7