CVE-2026-45271

Source
https://cve.org/CVERecord?id=CVE-2026-45271
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45271.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45271
Aliases
  • GHSA-84f5-m5x2-82q4
Published
2026-08-21T21:00:46.759Z
Modified
2026-08-27T11:30:42.005945643Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
picotls has infinite recursion in the minicrypto ASN.1 decoder
Details

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 ptlsminicryptoloadprivatekey(), 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45271.json",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "fixed": "c14231d801407640bc42c2dcf92783409ea6a7c7"
                }
            ]
        }
    ],
    "cwe_ids": [
        "CWE-835"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/h2o/picotls

Affected ranges

Type
GIT
Repo
https://github.com/h2o/picotls
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": "REFERENCES"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45271.json"