CVE-2026-34180
Severity CVSS v4.0:
Pending analysis
Type:
CWE-125
Out-of-bounds Read
Publication date:
09/06/2026
Last modified:
23/07/2026
Description
Issue summary: Parsing a crafted DER-encoded ASN.1 structure with a primitive<br />
element whose content exceeds 2 gigabytes in length may cause a heap buffer<br />
over-read on 64-bit Unix and Unix-like platforms.<br />
<br />
Impact summary: The heap buffer over-read may crash the application (Denial of<br />
Service) or to load into the decoded ASN.1 object contents of memory beyond the<br />
end of the input buffer. More typically such ASN.1 elements would instead be<br />
truncated.<br />
<br />
An integer truncation in OpenSSL&#39;s ASN.1 decoder causes the content length of<br />
an ASN.1 primitive element to be mishandled when it exceeds 2 gigabytes. In the<br />
worst case the truncated length is treated as a request to scan the binary<br />
content for a terminating zero byte, possibly causing OpenSSL to read either<br />
less than or beyond the end of the allocated buffer.<br />
<br />
Applications that pass attacker-supplied data to d2i_X509(), d2i_PKCS7(), or<br />
any other d2i_* decoding function are affected. OpenSSL&#39;s own command-line<br />
tools are not vulnerable, as data read through the BIO layer is checked before<br />
it reaches the affected code. The issue only affects 64-bit Unix and Unix-like<br />
platforms; 32-bit platforms and 64-bit Windows are not affected.<br />
<br />
The FIPS modules in 4.0, 3.6, 3.5, 3.4 and 3.0 are not affected by this issue,<br />
as the affected code is outside the OpenSSL FIPS module boundary.
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* | 1.0.2 (including) | 1.0.2zq (excluding) |
| cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* | 1.1.1 (including) | 1.1.1zh (excluding) |
| cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* | 3.0.0 (including) | 3.0.21 (excluding) |
| cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* | 3.4.0 (including) | 3.4.6 (excluding) |
| cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* | 3.5.0 (including) | 3.5.7 (excluding) |
| cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* | 3.6.0 (including) | 3.6.3 (excluding) |
| cpe:2.3:a:openssl:openssl:4.0.0:-:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/openssl/openssl/commit/1c6908e4fa5fa568752221d8eaf561a809751e5d
- https://github.com/openssl/openssl/commit/cbe418ae978539cf14a398a207dba834c0e93e83
- https://github.com/openssl/openssl/commit/d93853c42110d6319e3df07842b488cb9f7ac5ff
- https://github.com/openssl/openssl/commit/da5d62af75f69d6fbf7803743d7c56ac75461e43
- https://github.com/openssl/openssl/commit/f696c73c3e61b8c502d040af62e690c060908a16
- https://openssl-library.org/news/secadv/20260609.txt



