CVE-2026-45271: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') in h2o picotls
CVE-2026-45271 is a medium severity vulnerability in the h2o picotls TLS library. It involves an infinite loop caused by the ASN.1 validation helper recursively descending into deeply nested ASN.1 elements without a maximum nesting depth limit. This can lead to stack exhaustion and application crashes when processing attacker-supplied private keys via the minicrypto backend. The OpenSSL backend is not affected. The issue has been fixed in a specific commit, but no explicit patch or version details are provided.
AI Analysis
Technical Summary
Picotls is a TLS protocol library that supports multiple crypto backends. The minicrypto backend uses picotls's own ASN.1 validation helper to parse local PKCS#8 private keys. Prior to commit c14231d801407640bc42c2dcf92783409ea6a7c7, this validator did not enforce a maximum nesting depth when recursively descending constructed ASN.1 elements. An attacker can supply a crafted deeply nested ASN.1 structure that causes the validator to exhaust the process stack, resulting in an infinite loop and application crash. The OpenSSL backend does not use this helper and is unaffected. The vulnerability is addressed by the referenced commit.
Potential Impact
An attacker who can supply a maliciously crafted private key file or ASN.1 DER data to the vulnerable picotls minicrypto backend can cause the application to crash due to stack exhaustion from an infinite loop. This results in a denial of service condition. There is no impact on confidentiality or integrity. The OpenSSL backend is not vulnerable.
Mitigation Recommendations
The vulnerability has been fixed in commit c14231d801407640bc42c2dcf92783409ea6a7c7. However, no explicit patch or fixed version is provided in the available data. Users should update to a version that includes this commit once available. Until then, avoid loading untrusted ASN.1 data with the minicrypto backend. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
CVE-2026-45271: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') in h2o picotls
Description
CVE-2026-45271 is a medium severity vulnerability in the h2o picotls TLS library. It involves an infinite loop caused by the ASN.1 validation helper recursively descending into deeply nested ASN.1 elements without a maximum nesting depth limit. This can lead to stack exhaustion and application crashes when processing attacker-supplied private keys via the minicrypto backend. The OpenSSL backend is not affected. The issue has been fixed in a specific commit, but no explicit patch or version details are provided.
CVSS v3.1
Score 5.5medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Picotls is a TLS protocol library that supports multiple crypto backends. The minicrypto backend uses picotls's own ASN.1 validation helper to parse local PKCS#8 private keys. Prior to commit c14231d801407640bc42c2dcf92783409ea6a7c7, this validator did not enforce a maximum nesting depth when recursively descending constructed ASN.1 elements. An attacker can supply a crafted deeply nested ASN.1 structure that causes the validator to exhaust the process stack, resulting in an infinite loop and application crash. The OpenSSL backend does not use this helper and is unaffected. The vulnerability is addressed by the referenced commit.
Potential Impact
An attacker who can supply a maliciously crafted private key file or ASN.1 DER data to the vulnerable picotls minicrypto backend can cause the application to crash due to stack exhaustion from an infinite loop. This results in a denial of service condition. There is no impact on confidentiality or integrity. The OpenSSL backend is not vulnerable.
Mitigation Recommendations
The vulnerability has been fixed in commit c14231d801407640bc42c2dcf92783409ea6a7c7. However, no explicit patch or fixed version is provided in the available data. Users should update to a version that includes this commit once available. Until then, avoid loading untrusted ASN.1 data with the minicrypto backend. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-11T18:41:13.156Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a88be1bacd9273b49bcc6bd
Added to database: 08/21/2026, 21:07:39 UTC
Last enriched: 08/21/2026, 21:24:18 UTC
Last updated: 08/22/2026, 01:00:13 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.