Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-45271: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') in h2o picotls

0
Medium
VulnerabilityCVE-2026-45271cvecve-2026-45271cwe-835
Published: 08/21/2026 (08/21/2026, 21:00:46 UTC)
Source: CVE Database V5
Vendor/Project: h2o
Product: 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

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 21:24:18 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses