Vulnerability · Published Jun 9, 2026 · Assigned by openssl

CVE-2026-7383Possible Heap Buffer Overflow in ASN.1 Multibyte String Conversion

High 8.1

In plain English

A high-severity out-of-bounds write 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 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.8%top 43.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Issue summary: A signed integer overflow when sizing the destination buffer for Unicode output in ASN1_mbstring_ncopy() can lead to a heap buffer overflow. Impact summary: A heap buffer overflow may lead to a crash or possibly attacker controlled code execution or other undefined behaviour. In ASN1_mbstring_copy() and ASN1_mbstring_ncopy() the destination size for Unicode output is computed in a signed int: by left shift of the input character count for BMPSTRING (UTF-16) and UNIVERSALSTRING (UTF-32), and by summing per-character byte counts for UTF8STRING. The calculation overflows when the input reaches around 2^30 characters. In the worst case (UNIVERSALSTRING at 2^30 characters) the size wraps to zero, OPENSSL_malloc(1) is called, and the subsequent character copy writes several gigabytes past the one-byte allocation. X.509 certificate processing routes through ASN1_STRING_set_by_NID(), whose DIRSTRING_TYPE mask excludes UNIVERSALSTRING and whose per-NID size limits cap the input length; no network protocol or certificate-handling path in OpenSSL exercises the overflow. Triggering the bug requires an application that calls ASN1_mbstring_copy() or ASN1_mbstring_ncopy() directly, or registers a custom string type via ASN1_STRING_TABLE_add(), with attacker-controlled input on the order of half a gigabyte or more. For these reasons this issue was assigned Low severity. 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

EcosystemPackageFixed inAdvisory
AlmaLinux:10openssl1:3.5.5-4.el10_2.alma.1ALSA-2026:25237
AlmaLinux:9openssl1:3.5.5-4.el9_8ALSA-2026:25239
AlmaLinux:10openssl-devel1:3.5.5-4.el10_2.alma.1ALSA-2026:25237
AlmaLinux:9openssl-devel1:3.5.5-4.el9_8ALSA-2026:25239
AlmaLinux:10openssl-libs1:3.5.5-4.el10_2.alma.1ALSA-2026:25237
AlmaLinux:9openssl-libs1:3.5.5-4.el9_8ALSA-2026:25239
AlmaLinux:10openssl-perl1:3.5.5-4.el10_2.alma.1ALSA-2026:25237
AlmaLinux:9openssl-perl1:3.5.5-4.el9_8ALSA-2026:25239
Alpine:v3.22openssl3.5.7-r0ALPINE-CVE-2026-7383
Alpine:v3.23openssl3.5.7-r0ALPINE-CVE-2026-7383
Alpine:v3.24openssl3.5.7-r0ALPINE-CVE-2026-7383
Debian:12openssl3.0.20-1~deb12u2DEBIAN-CVE-2026-7383
Debian:13openssl3.5.6-1~deb13u2DEBIAN-CVE-2026-7383
Debian:14openssl3.6.3-1DEBIAN-CVE-2026-7383
Rocky Linux:10openssl1:3.5.5-4.el10_2RLSA-2026:25237
Rocky Linux:9openssl1:3.5.5-4.el9_8RLSA-2026:25239
Ubuntu:22.04:LTSedk2no fix listedUBUNTU-CVE-2026-7383
Ubuntu:24.04:LTSedk2no fix listedUBUNTU-CVE-2026-7383
Ubuntu:25.10edk2no fix listedUBUNTU-CVE-2026-7383
Ubuntu:26.04:LTSedk2no fix listedUBUNTU-CVE-2026-7383
Ubuntu:26.10edk2no fix listedUBUNTU-CVE-2026-7383
Ubuntu:26.04:LTSedk2-hweno fix listedUBUNTU-CVE-2026-7383
Ubuntu:26.10edk2-hweno fix listedUBUNTU-CVE-2026-7383
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.25UBUNTU-CVE-2026-7383
Ubuntu:24.04:LTSopenssl3.0.13-0ubuntu3.11UBUNTU-CVE-2026-7383
Ubuntu:25.10openssl3.5.3-1ubuntu3.4UBUNTU-CVE-2026-7383
Ubuntu:26.04:LTSopenssl3.5.5-1ubuntu3.2UBUNTU-CVE-2026-7383

Affected products (as reported)

VendorProductVersions
OpenSSL OpenSSL 4.0.0 – before 4.0.13.6.0 – before 3.6.33.5.0 – before 3.5.73.4.0 – before 3.4.63.0.0 – before 3.0.211.1.1 – before 1.1.1zh1.0.2 – before 1.0.2zq

Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References