CVE-2026-7383
Fixed in a distro release EPSS <1%CVSS 8.1
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.
Products: OpenSSL
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | openssl | 1:3.5.5-4.el10_2.alma.1 |
| AlmaLinux 10 | openssl-devel | 1:3.5.5-4.el10_2.alma.1 |
| AlmaLinux 10 | openssl-libs | 1:3.5.5-4.el10_2.alma.1 |
| AlmaLinux 10 | openssl-perl | 1:3.5.5-4.el10_2.alma.1 |
| AlmaLinux 9 | openssl | 1:3.5.5-4.el9_8 |
| AlmaLinux 9 | openssl-devel | 1:3.5.5-4.el9_8 |
| AlmaLinux 9 | openssl-libs | 1:3.5.5-4.el9_8 |
| AlmaLinux 9 | openssl-perl | 1:3.5.5-4.el9_8 |
| Alpine 3.22 | openssl | 3.5.7-r0 |
| Alpine 3.23 | openssl | 3.5.7-r0 |
| Alpine 3.24 | openssl | 3.5.7-r0 |
| Chainguard | libcrypto3 | 3.6.3-r0 |
| Chainguard | libcrypto3-2.34 | 3.6.3-r0 |
| Chainguard | openssl | 3.6.3-r0 |
| Chainguard | openssl-provider-fips-3.4.0 | 0 |
| Chainguard | openssl-provider-fips-3.4.0-dbg | 0 |
| Chainguard | openssl-provider-fips-3.6.0 | 0 |
| Chainguard | openssl-provider-fips-3.6.0-dbg | 0 |
| Debian 12 | openssl | 3.0.20-1~deb12u2 |
| Debian 13 | openssl | 3.5.6-1~deb13u2 |
| Debian 14 | openssl | 3.6.3-1 |
| Red Hat Enterprise Linux 10.2 | openssl | 1:3.5.5-4.el10_2 |
| Red Hat Enterprise Linux 10.2 | openssl-debuginfo | 1:3.5.5-4.el10_2 |
| Red Hat Enterprise Linux 10.2 | openssl-debugsource | 1:3.5.5-4.el10_2 |
| Red Hat Enterprise Linux 10.2 | openssl-devel | 1:3.5.5-4.el10_2 |
| Red Hat Enterprise Linux 10.2 | openssl-libs | 1:3.5.5-4.el10_2 |
| Red Hat Enterprise Linux 10.2 | openssl-libs-debuginfo | 1:3.5.5-4.el10_2 |
| Red Hat Enterprise Linux 10.2 | openssl-perl | 1:3.5.5-4.el10_2 |
| Red Hat Enterprise Linux 9 | openssl | 1:3.5.5-4.el9_8 |
| Red Hat Enterprise Linux 9 | openssl-debuginfo | 1:3.5.5-4.el9_8 |
| Red Hat Enterprise Linux 9 | openssl-debugsource | 1:3.5.5-4.el9_8 |
| Red Hat Enterprise Linux 9 | openssl-devel | 1:3.5.5-4.el9_8 |
| Red Hat Enterprise Linux 9 | openssl-libs | 1:3.5.5-4.el9_8 |
| Red Hat Enterprise Linux 9 | openssl-libs-debuginfo | 1:3.5.5-4.el9_8 |
| Red Hat Enterprise Linux 9 | openssl-perl | 1:3.5.5-4.el9_8 |
| Red Hat hummingbird 1 | bootupd | 0:0.3.2-1.hum1 |
| Red Hat hummingbird 1 | chunkah | 0:0.6.0-3.hum1 |
| Red Hat hummingbird 1 | openssl | 0:3.5.8-0.1.hum1 |
| Red Hat hummingbird 1 | openssl-config-fips | 0:3.5.8-0.1.hum1 |
| Red Hat hummingbird 1 | openssl-devel | 0:3.5.8-0.1.hum1 |
| Red Hat hummingbird 1 | openssl-devel-engine | 0:3.5.8-0.1.hum1 |
| Red Hat hummingbird 1 | openssl-fips-provider-upstream | 0:3.5.8-0.1.hum1 |
| Red Hat hummingbird 1 | openssl-libs | 0:3.5.8-0.1.hum1 |
| Red Hat hummingbird 1 | openssl-perl | 0:3.5.8-0.1.hum1 |
| Red Hat hummingbird 1 | openssl3 | 0:3.5.8-0.1.hum1 |
| Red Hat hummingbird 1 | openssl3-devel | 0:3.5.8-0.1.hum1 |
| Red Hat hummingbird 1 | openssl3-devel-engine | 0:3.5.8-0.1.hum1 |
| Red Hat hummingbird 1 | openssl3-libs | 0:3.5.8-0.1.hum1 |
| Red Hat hummingbird 1 | python-cryptography | 0:50.0.0-1.hum1 |
| Red Hat hummingbird 1 | python3-cryptography | 0:50.0.0-1.hum1 |
| Red Hat hummingbird 1 | ruby3.3 | 0:3.3.10-23.6.hum1 |
| Red Hat hummingbird 1 | ruby3.3-bundled-gems | 0:3.3.10-23.6.hum1 |
| Red Hat hummingbird 1 | ruby3.3-default-gems | 0:3.3.10-23.6.hum1 |
| Red Hat hummingbird 1 | ruby3.3-devel | 0:3.3.10-23.6.hum1 |
| Red Hat hummingbird 1 | ruby3.3-doc | 0:3.3.10-23.6.hum1 |
| Red Hat hummingbird 1 | ruby3.3-libs | 0:3.3.10-23.6.hum1 |
| Red Hat hummingbird 1 | ruby3.4 | 0:3.4.10-31.7.hum1 |
| Red Hat hummingbird 1 | ruby3.4-bundled-gems | 0:3.4.10-31.7.hum1 |
| Red Hat hummingbird 1 | ruby3.4-default-gems | 0:3.4.10-31.7.hum1 |
| Red Hat hummingbird 1 | ruby3.4-devel | 0:3.4.10-31.7.hum1 |
| Red Hat hummingbird 1 | ruby3.4-doc | 0:3.4.10-31.7.hum1 |
| Red Hat hummingbird 1 | ruby3.4-libs | 0:3.4.10-31.7.hum1 |
| Red Hat hummingbird 1 | ruby4.0 | 0:4.0.6-37.3.hum1 |
| Red Hat hummingbird 1 | ruby4.0-bundled-gems | 0:4.0.6-37.3.hum1 |
| Red Hat hummingbird 1 | ruby4.0-default-gems | 0:4.0.6-37.3.hum1 |
| Red Hat hummingbird 1 | ruby4.0-devel | 0:4.0.6-37.3.hum1 |
| Red Hat hummingbird 1 | ruby4.0-doc | 0:4.0.6-37.3.hum1 |
| Red Hat hummingbird 1 | ruby4.0-libs | 0:4.0.6-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-bigdecimal | 0:3.1.5-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-bundler | 0:2.5.22-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-devel | 0:3.5.22-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-io-console | 0:0.7.1-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-irb | 0:1.13.1-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-json | 0:2.7.2-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-minitest | 0:5.20.0-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-power_assert | 0:2.0.3-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-psych | 0:5.1.2-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-racc | 0:1.7.3-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-rake | 0:13.1.0-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-rbs | 0:3.4.0-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-rdoc | 0:6.6.3.1-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-rexml | 0:3.4.4-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-rss | 0:0.3.1-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-rubygems | 0:3.5.22-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-test-unit | 0:3.6.1-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem3.3-typeprof | 0:0.21.9-23.6.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-bigdecimal | 0:4.0.1-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-bundler | 0:4.0.16-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-devel | 0:4.0.16-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-io-console | 0:0.8.2-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-irb | 0:1.16.0-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-json | 0:2.18.0-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-minitest | 0:6.0.0-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-power_assert | 0:3.0.1-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-psych | 0:5.3.1-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-racc | 0:1.8.1-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-rake | 0:13.3.1-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-rbs | 0:3.10.0-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-rdoc | 0:7.0.4-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-rexml | 0:3.4.4-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-rss | 0:0.3.2-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-rubygems | 0:4.0.16-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-test-unit | 0:3.7.5-37.3.hum1 |
| Red Hat hummingbird 1 | rubygem4.0-typeprof | 0:0.31.1-37.3.hum1 |
| Red Hat hummingbird 1 | rust-bootupd | 0:0.3.2-1.hum1 |
| Rocky Linux 10 | openssl | 1:3.5.5-4.el10_2 |
| Rocky Linux 9 | openssl | 1:3.5.5-4.el9_8 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | openssl-1_0_0 | 1.0.2p-150000.3.108.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | openssl-1_1 | 1.1.1l-150400.7.96.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | openssl-3 | 3.0.8-150400.4.87.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | openssl-1_0_0 | 1.0.2p-150000.3.108.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | openssl-1_1 | 1.1.1l-150400.7.96.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | openssl-3 | 3.0.8-150400.4.87.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | openssl-1_1 | 1.1.1l-150500.17.57.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | openssl-3 | 3.0.8-150500.5.66.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | openssl-1_1 | 1.1.1l-150500.17.57.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | openssl-3 | 3.0.8-150500.5.66.1 |
| SUSE Linux Enterprise Micro 5.3 | openssl-1_1 | 1.1.1l-150400.7.96.2 |
| SUSE Linux Enterprise Micro 5.3 | openssl-3 | 3.0.8-150400.4.87.1 |
| SUSE Linux Enterprise Micro 5.4 | openssl-1_1 | 1.1.1l-150400.7.96.2 |
| SUSE Linux Enterprise Micro 5.4 | openssl-3 | 3.0.8-150400.4.87.1 |
| SUSE Linux Enterprise Micro 5.5 | openssl-1_1 | 1.1.1l-150500.17.57.2 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | openssl-1_1 | 1.1.1w-150700.11.22.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | openssl-3 | 3.2.3-150700.5.36.1 |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | openssl-1_1 | 1.1.1w-150700.11.22.1 |
| SUSE Linux Enterprise Module for Legacy 15 SP7 | openssl-1_0_0 | 1.0.2p-150000.3.108.1 |
| SUSE Linux Enterprise Module for Legacy 15 SP7 | openssl-1_1 | 1.1.1w-150700.11.22.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | openssl-1_0_0 | 1.0.2p-3.109.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | openssl-1_1 | 1.1.1d-2.131.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | openssl-1_0_0 | 1.0.2p-150000.3.108.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | openssl-1_1 | 1.1.1l-150400.7.96.2 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | openssl-3 | 3.0.8-150400.4.87.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | openssl-1_0_0 | 1.0.2p-150000.3.108.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | openssl-1_1 | 1.1.1l-150500.17.57.2 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | openssl-3 | 3.0.8-150500.5.66.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | openssl-1_0_0 | 1.0.2p-150000.3.108.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | openssl-1_1 | 1.1.1w-150600.5.32.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | openssl-3 | 3.1.4-150600.5.53.1 |
| SUSE Linux Enterprise Server 16.0 | openssl-3 | 3.5.0-160000.8.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | openssl-1_0_0 | 1.0.2p-3.109.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | openssl-1_1 | 1.1.1d-2.131.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | openssl-1_0_0 | 1.0.2p-150000.3.108.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | openssl-1_1 | 1.1.1l-150400.7.96.2 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | openssl-3 | 3.0.8-150400.4.87.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | openssl-1_0_0 | 1.0.2p-150000.3.108.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | openssl-1_1 | 1.1.1l-150500.17.57.2 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | openssl-3 | 3.0.8-150500.5.66.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | openssl-1_0_0 | 1.0.2p-150000.3.108.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | openssl-1_1 | 1.1.1w-150600.5.32.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | openssl-3 | 3.1.4-150600.5.53.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | openssl-3 | 3.5.0-160000.8.1 |
| SUSE Linux Micro 6.0 | openssl-3 | 3.1.4-14.1 |
| SUSE Linux Micro 6.1 | openssl-3 | 3.1.4-slfo.1.1_10.1 |
| SUSE Linux Micro 6.2 | openssl-3 | 3.5.0-160000.8.1 |
| Ubuntu 22.04 LTS | edk2 | no fix |
| Ubuntu 22.04 LTS | openssl | 3.0.2-0ubuntu1.25 |
| Ubuntu 24.04 LTS | edk2 | no fix |
| Ubuntu 24.04 LTS | openssl | 3.0.13-0ubuntu3.11 |
| Ubuntu 25.10 | edk2 | no fix |
| Ubuntu 25.10 | openssl | 3.5.3-1ubuntu3.4 |
| Ubuntu 26.04 LTS | edk2 | no fix |
| Ubuntu 26.04 LTS | edk2-hwe | no fix |
| Ubuntu 26.04 LTS | openssl | 3.5.5-1ubuntu3.2 |
| Ubuntu 26.10 | edk2 | no fix |
| Ubuntu 26.10 | edk2-hwe | no fix |
| Ubuntu Pro 14.04 LTS | openssl | 1.0.1f-1ubuntu2.27+esm14 |
| Ubuntu Pro 16.04 LTS | edk2 | no fix |
| Ubuntu Pro 16.04 LTS | nodejs | no fix |
| Ubuntu Pro 16.04 LTS | openssl | 1.0.2g-1ubuntu4.20+esm16 |
| Ubuntu Pro 18.04 LTS | edk2 | no fix |
| Ubuntu Pro 18.04 LTS | nodejs | no fix |
| Ubuntu Pro 18.04 LTS | openssl | 1.1.1-1ubuntu2.1~18.04.23+esm9 |
| Ubuntu Pro 18.04 LTS | openssl1.0 | 1.0.2n-1ubuntu5.13+esm5 |
| Ubuntu Pro 20.04 LTS | edk2 | no fix |
| Ubuntu Pro 20.04 LTS | openssl | 1.1.1f-1ubuntu2.24+esm4 |
| Ubuntu Pro 22.04 LTS | nodejs | no fix |
| Ubuntu Pro FIPS-preview 22.04 LTS | openssl | no fix |
| Ubuntu Pro FIPS-preview 22.04 LTS | openssl-fips | no fix |
| Ubuntu Pro FIPS-updates 16.04 LTS | openssl | no fix |
| Ubuntu Pro FIPS-updates 18.04 LTS | openssl | 1.1.1-1ubuntu2.fips.2.1~18.04.23.9 |
| Ubuntu Pro FIPS-updates 20.04 LTS | openssl | 1.1.1f-1ubuntu2.fips.24.4 |
| Ubuntu Pro FIPS-updates 22.04 LTS | openssl | 3.0.2-0ubuntu1.25+Fips1 |
| Ubuntu Pro FIPS-updates 22.04 LTS | openssl-fips | no fix |
| Ubuntu Pro FIPS-updates 24.04 LTS | openssl-fips | 3.0.13-0ubuntu3.12+Fips1 |
| Ubuntu Pro FIPS 16.04 LTS | openssl | no fix |
| Ubuntu Pro FIPS 18.04 LTS | openssl | no fix |
| Ubuntu Pro FIPS 20.04 LTS | openssl | no fix |
| Wolfi | libcrypto3 | 3.6.3-r0 |
| Wolfi | openssl | 3.6.3-r0 |
| openSUSE Leap 16.0 | openssl-3 | 3.5.0-160000.8.1 |
| openSUSE Tumbleweed | openssl-3 | 3.5.3-6.1 |