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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade opensslUpgrade openssl-develUpgrade openssl-libsUpgrade openssl-perl | Jun 16, 2026 | Jun 11, 2026 |
| Alpine Linux | — | Upgrade openssl | Jun 18, 2026 | Jun 9, 2026 |
| Amazon Linux Ami 2 | — | Upgrade edk2-aarch64Upgrade edk2-debuginfoUpgrade edk2-ovmfUpgrade edk2-toolsUpgrade edk2-tools-docUpgrade opensslUpgrade openssl-debuginfoUpgrade openssl-develUpgrade openssl-libsUpgrade openssl-perlUpgrade openssl-snapsafeUpgrade openssl-snapsafe-debuginfoUpgrade openssl-snapsafe-develUpgrade openssl-snapsafe-libsUpgrade openssl-snapsafe-perlUpgrade openssl-snapsafe-staticUpgrade openssl-staticUpgrade openssl11Upgrade openssl11-debuginfoUpgrade openssl11-develUpgrade openssl11-libsUpgrade openssl11-static | Jun 23, 2026 | Jun 23, 2026 |
| Amazon_linux_2023 | — | Upgrade opensslUpgrade openssl-debuginfoUpgrade openssl-debugsourceUpgrade openssl-develUpgrade openssl-fips-provider-latestUpgrade openssl-fips-provider-latest-debuginfoUpgrade openssl-libsUpgrade openssl-libs-debuginfoUpgrade openssl-perlUpgrade openssl-snapsafe-libsUpgrade openssl-snapsafe-libs-debuginfo | Jun 23, 2026 | Jun 9, 2026 |
| Debian | — | Upgrade openssl | Jun 16, 2026 | Jun 16, 2026 |
| Echo Linux | — | Upgrade opensslUpgrade openssl-1.1.1cUpgrade openssl-1.1.1gUpgrade openssl-1.1.1kUpgrade openssl-3.0.9Upgrade openssl-3.1.0Upgrade openssl-3.5.0 | Nov 12, 2026 | Jun 9, 2026 |
| Freebsd | — | Upgrade FreeBSDUpgrade opensslUpgrade openssl111Upgrade openssl34Upgrade openssl35Upgrade openssl36Upgrade openssl40 | Jun 15, 2026 | Jun 10, 2026 |
| Http Openssl | — | Upgrade to the latest version of OpenSSL | Jun 10, 2026 | Jun 9, 2026 |
| Ibm Aix | — | Apply the fix or workaround for openssl_advisory48 | Jul 22, 2026 | Jul 21, 2026 |
| Oracle Missing Cpu Jul 2026 | — | Apply the July 2026 Critical Patch Update (CPU) for Oracle Database | Jul 22, 2026 | Jun 9, 2026 |
| Oracle_linux | — | Upgrade opensslUpgrade openssl-develUpgrade openssl-libsUpgrade openssl-perl | Oct 22, 2026 | Jun 9, 2026 |
| Redhat_linux | — | No solution existsUpgrade opensslUpgrade openssl-debuginfoUpgrade openssl-debugsourceUpgrade openssl-develUpgrade openssl-libsUpgrade openssl-libs-debuginfoUpgrade openssl-perl | Jun 17, 2026 | Jun 9, 2026 |
| Rocky_linux | — | Upgrade opensslUpgrade openssl-debuginfoUpgrade openssl-debugsourceUpgrade openssl-develUpgrade openssl-libsUpgrade openssl-libs-debuginfoUpgrade openssl-perl | Jun 17, 2026 | Jun 13, 2026 |
| Splunk | — | Upgrade Splunk Enterprise to version 10.0.9Upgrade Splunk Enterprise to version 10.2.6Upgrade Splunk Enterprise to version 10.4.2Upgrade Splunk Enterprise to version 9.4.14 | Aug 20, 2026 | Jun 9, 2026 |
| Ubuntu | — | Upgrade libssl3Upgrade libssl3t64Upgrade opensslUpgrade openssl (Ubuntu Pro)Upgrade openssl1.0 (Ubuntu Pro) | Jun 16, 2026 | Jun 9, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jun 18, 2026 | Jun 9, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub