CVE-2026-34180
Awaiting Analysis Awaiting Analysis - Queue
BaseFortify

Publication date: 2026-06-09

Last updated on: 2026-06-09

Assigner: OpenSSL Software Foundation

Description
Issue summary: Parsing a crafted DER-encoded ASN.1 structure with a primitive element whose content exceeds 2 gigabytes in length may cause a heap buffer over-read on 64-bit Unix and Unix-like platforms. Impact summary: The heap buffer over-read may crash the application (Denial of Service) or to load into the decoded ASN.1 object contents of memory beyond the end of the input buffer. More typically such ASN.1 elements would instead be truncated. An integer truncation in OpenSSL's ASN.1 decoder causes the content length of an ASN.1 primitive element to be mishandled when it exceeds 2 gigabytes. In the worst case the truncated length is treated as a request to scan the binary content for a terminating zero byte, possibly causing OpenSSL to read either less than or beyond the end of the allocated buffer. Applications that pass attacker-supplied data to d2i_X509(), d2i_PKCS7(), or any other d2i_* decoding function are affected. OpenSSL's own command-line tools are not vulnerable, as data read through the BIO layer is checked before it reaches the affected code. The issue only affects 64-bit Unix and Unix-like platforms; 32-bit platforms and 64-bit Windows are not affected. The FIPS modules in 4.0, 3.6, 3.5, 3.4 and 3.0 are not affected by this issue, as the affected code is outside the OpenSSL FIPS module boundary.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-09
Last Modified
2026-06-09
Generated
2026-06-10
AI Q&A
2026-06-09
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
openssl openssl *
openssl openssl to 4.0|end_excluding=3.6|end_excluding=3.5|end_excluding=3.4|end_excluding=3.0 (exc)
openssl openssl From 3.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability involves an integer truncation in OpenSSL's ASN.1 decoder when parsing a crafted DER-encoded ASN.1 structure. Specifically, if a primitive element's content length exceeds 2 gigabytes, the length is mishandled, causing the decoder to potentially read beyond the allocated buffer.

On 64-bit Unix and Unix-like platforms, this can lead to a heap buffer over-read, where the application reads memory beyond the intended input buffer. This occurs because the truncated length may cause OpenSSL to scan for a terminating zero byte incorrectly.

Applications using OpenSSL functions like d2i_X509(), d2i_PKCS7(), or other d2i_* decoding functions with attacker-supplied data are affected. However, OpenSSL's own command-line tools are not vulnerable because they check data through the BIO layer before decoding.

This issue only affects 64-bit Unix and Unix-like platforms; 32-bit platforms and 64-bit Windows are not affected. The FIPS modules in OpenSSL versions 3.0 through 4.0 are also not affected.

Impact Analysis

The heap buffer over-read caused by this vulnerability can lead to application crashes, resulting in Denial of Service (DoS).

Additionally, the vulnerability may cause the decoded ASN.1 object to include memory contents beyond the end of the input buffer, potentially exposing unintended data.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-34180. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart