Vulnerability · Published Jun 9, 2026 · Assigned by openssl
CVE-2026-34180Heap Buffer Over-read in ASN.1 Content Parsing
High 7.5
In plain English
A high-severity out-of-bounds read in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | openssl | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux:9 | openssl | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| AlmaLinux:10 | openssl-devel | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux:9 | openssl-devel | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| AlmaLinux:10 | openssl-libs | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux:9 | openssl-libs | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| AlmaLinux:10 | openssl-perl | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux:9 | openssl-perl | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| Alpine:v3.22 | openssl | 3.5.7-r0 | ALPINE-CVE-2026-34180 |
| Alpine:v3.23 | openssl | 3.5.7-r0 | ALPINE-CVE-2026-34180 |
| Alpine:v3.24 | openssl | 3.5.7-r0 | ALPINE-CVE-2026-34180 |
| Debian:12 | openssl | 3.0.20-1~deb12u2 | DEBIAN-CVE-2026-34180 |
| Debian:13 | openssl | 3.5.6-1~deb13u2 | DEBIAN-CVE-2026-34180 |
| Debian:14 | openssl | 3.6.3-1 | DEBIAN-CVE-2026-34180 |
| Rocky Linux:10 | openssl | 1:3.5.5-4.el10_2 | RLSA-2026:25237 |
| Rocky Linux:9 | openssl | 1:3.5.5-4.el9_8 | RLSA-2026:25239 |
| Ubuntu:22.04:LTS | edk2 | no fix listed | UBUNTU-CVE-2026-34180 |
| Ubuntu:24.04:LTS | edk2 | no fix listed | UBUNTU-CVE-2026-34180 |
| Ubuntu:25.10 | edk2 | no fix listed | UBUNTU-CVE-2026-34180 |
| Ubuntu:26.04:LTS | edk2 | no fix listed | UBUNTU-CVE-2026-34180 |
| Ubuntu:26.10 | edk2 | no fix listed | UBUNTU-CVE-2026-34180 |
| Ubuntu:26.04:LTS | edk2-hwe | no fix listed | UBUNTU-CVE-2026-34180 |
| Ubuntu:26.10 | edk2-hwe | no fix listed | UBUNTU-CVE-2026-34180 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.25 | UBUNTU-CVE-2026-34180 |
| Ubuntu:24.04:LTS | openssl | 3.0.13-0ubuntu3.11 | UBUNTU-CVE-2026-34180 |
| Ubuntu:25.10 | openssl | 3.5.3-1ubuntu3.4 | UBUNTU-CVE-2026-34180 |
| Ubuntu:26.04:LTS | openssl | 3.5.5-1ubuntu3.2 | UBUNTU-CVE-2026-34180 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- OpenSSL Advisory vendor-advisory
- 4.0.1 git commit patch
- 3.6.3 git commit patch
- 3.5.7 git commit patch
- 3.4.6 git commit patch
- 3.0.21 git commit patch