CVE-2026-7383
openssl: OpenSSL: Heap buffer overflow due to signed integer overflow in Unicode output sizing
Overview
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.
Source: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-787
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | AppBundler | >=1.0.0, <1.0.1 | 1.0.1 |
| Julia | Openresty_jll | >=0 | No fix yet |
| Julia | OpenSSL_jll | <3.5.7+0 | 3.5.7+0 |
Open a package to see all its vulnerabilities.
Operating systems · 85 fixes
Azure Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | edk2 | 0:20240524git3e722403cd16-18.azl3 |
| 3.0 | openssl | 0:3.3.7-3.azl3 |
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 10:3.5.5-4.0.1.el9_8_fips |
| 9 | openssl +3 | 1:3.5.5-4.0.1.el9_8 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssl +4 | 3.0.21-1.ph4 |
| 5.0 | openssl +5 | 3.5.7-1.ph5 |
Red Hat 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | aavmf +3 | affected | — |
| 8 | compat-openssl10 +18 | affected | — |
| 9 | compat-openssl11 +12 | affected | — |
| 9 | openssl +3 | 1:3.5.5-4.el9_8 | RHSA-2026:25239 |
SUSE Linux Enterprise 6 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libopenssl-1-0-0-devel +7 | 1.0.2p-3.109.1 | SUSE-SU-2026:2396-1 |
| 12.5 | libopenssl-1-1-devel +6 | 1.1.1d-2.131.1 | SUSE-SU-2026:2403-1 |
| 15.4 | libopenssl-1-0-0-devel +4 | 1.0.2p-150000.3.108.1 | SUSE-SU-2026:2399-1 |
| 15.4 | libopenssl-1-1-devel +6 | 1.1.1l-150400.7.96.2 | SUSE-SU-2026:2614-1 |
| 15.4 | libopenssl-3-devel +2 | 3.0.8-150400.4.87.1 | SUSE-SU-2026:2598-1 |
| 15.5 | libopenssl-1-0-0-devel +4 | 1.0.2p-150000.3.108.1 | SUSE-SU-2026:2399-1 |
9 more rows
SUSE Linux Enterprise Micro 6 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.96.2 | SUSE-SU-2026:2614-1 |
| 5.3 | libopenssl3 | 3.0.8-150400.4.87.1 | SUSE-SU-2026:2598-1 |
| 5.4 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.96.2 | SUSE-SU-2026:2614-1 |
| 5.4 | libopenssl3 | 3.0.8-150400.4.87.1 | SUSE-SU-2026:2598-1 |
| 5.5 | libopenssl-1-1-devel +3 | 1.1.1l-150500.17.57.2 | SUSE-SU-2026:2405-1 |
| 6.0 | libopenssl-3-devel +3 | 3.1.4-14.1 | SUSE-SU-2026:22100-1 |
2 more rows
alma 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.5.5-4.el9_8 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.5.7-r0 |
| 3.23 | openssl | 3.5.7-r0 |
| 3.24 | openssl | 3.5.7-r0 |
| edge | openssl | 3.5.7-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +10 | 1:3.5.5-1.amzn2023.0.5 |
chainguard 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-provider-fips-3-4-0 +1 | not affected | |
| openssl-3-5 | 3.5.7-r0 | |
| libcrypto3-2-34 +1 | 3.6.3-r0 | |
| openssl-4-0 | 4.0.1-r0 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | openssl | 1.1.1w-0+deb11u8 |
| 12 | openssl | 3.0.20-1~deb12u2 |
| 13 | openssl | 3.5.6-1~deb13u2 |
| 14 | openssl | 3.6.3-1 |
echo 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-1-1-1c | 1.1.1c+e1 | |
| openssl-1-1-1g | 1.1.1g+e1 | |
| openssl-1-1-1k | 1.1.1k+e1 | |
| openssl | 3.0.20-1~deb12u2 | |
| openssl-3-0-9 | 3.0.9+e1 | |
| openssl-3-1-0 | 3.1.0+e1 |
1 more row
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-3-0 | 3.0.21-r0 | |
| openssl | 3.5.7-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-3-devel +9 | 3.5.3-6.1 | openSUSE-SU-2026:11023-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | libopenssl-3-devel +6 | 3.5.0-160000.8.1 | openSUSE-SU-2026:21005-1 |
rocky 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssl +1 | 1:3.5.5-4.el10_2 |
| 9 | openssl +1 | 1:3.5.5-4.el9_8 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp999 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp2 |
| 8 | openssl +1 | 1:1.1.1k-6.el8_5+sp999 |
| 9 | openssl +1 | 1:3.2.2-6.el9_5+sp999 |
seal alpine 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl | 1.1.1t-r003 | |
| seal-openssl | 1.1.1t-r353412 | |
| openssl +1 | 3.3.2-r45341999 | |
| openssl | 3.3.3-r0000 | |
| seal-openssl | 3.3.3-r053413 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 3.0.11-1~deb12u2+sp999 | |
| openssl +1 | 3.0.13-0ubuntu3.4+sp999 | |
| openssl +1 | 3.0.16-1~deb12u1+sp999 | |
| openssl +1 | 3.0.2-0ubuntu1.19+sp999 | |
| openssl +1 | 3.0.2-0ubuntu1.20+sp999 | |
| openssl +1 | 3.5.4-1~deb13u1+sp999 |
ubuntu 5 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | openssl1-0 | 1.0.2n-1ubuntu5.13+esm5 |
| 18.04-ESM | openssl | 1.1.1-1ubuntu2.1~18.04.23+esm9 |
| 20.04-ESM | openssl | 1.1.1f-1ubuntu2.24+esm4 |
| 22.04 | nodejs | affected |
| 22.04 | openssl | 3.0.2-0ubuntu1.25 |
| 24.04 | openssl | 3.0.13-0ubuntu3.11 |
1 more row
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.6.3-r0 | |
| openssl-4-0 | 4.0.1-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:25237
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:25239
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-7383
- bugzilla.redhat.com https://bugzilla.redhat.com/2481879
- bugzilla.redhat.com https://bugzilla.redhat.com/2481880
- bugzilla.redhat.com https://bugzilla.redhat.com/2481881
- bugzilla.redhat.com https://bugzilla.redhat.com/2481882
- bugzilla.redhat.com https://bugzilla.redhat.com/2481884
- bugzilla.redhat.com https://bugzilla.redhat.com/2481885
- bugzilla.redhat.com https://bugzilla.redhat.com/2481887
Show all 69 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2481890
- bugzilla.redhat.com https://bugzilla.redhat.com/2481891
- bugzilla.redhat.com https://bugzilla.redhat.com/2481892
- bugzilla.redhat.com https://bugzilla.redhat.com/2481893
- bugzilla.redhat.com https://bugzilla.redhat.com/2481894
- bugzilla.redhat.com https://bugzilla.redhat.com/2481896
- bugzilla.redhat.com https://bugzilla.redhat.com/2481897
- bugzilla.redhat.com https://bugzilla.redhat.com/2481898
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481879
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481880
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481881
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481882
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481884
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481885
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481887
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481890
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481891
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481892
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481893
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481894
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481896
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481897
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481898
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34180
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34181
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34182
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34183
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42764
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42766
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42767
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42768
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42769
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42770
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-45445
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-45446
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-45447
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-7383
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-9076
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-25239.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:25237
- github.com https://github.com/advisories/GHSA-w853-v86g-gv7j
- github.com https://github.com/openssl/openssl/commit/4f8d2bddaa2c8e06f9c33390ee1717059a6e4be6
- github.com https://github.com/openssl/openssl/commit/80c15faaf78042bbb8654a0e234c50c381732f74
- github.com https://github.com/openssl/openssl/commit/bd17511070fb39a67bfa19682affb765e706a974
- github.com https://github.com/openssl/openssl/commit/c332adaced43bcbb85f97410597e951c11ec3083
- github.com https://github.com/openssl/openssl/commit/d32350ae8ef7426718f5aa9e383d4b51398ee255
- github.com https://github.com/openssl/security/commit/4f8d2bddaa2c8e06f9c33390ee1717059a6e4be6
- github.com https://github.com/openssl/security/commit/80c15faaf78042bbb8654a0e234c50c381732f74
- github.com https://github.com/openssl/security/commit/bd17511070fb39a67bfa19682affb765e706a974
- github.com https://github.com/openssl/security/commit/c332adaced43bcbb85f97410597e951c11ec3083
- github.com https://github.com/openssl/security/commit/d32350ae8ef7426718f5aa9e383d4b51398ee255
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-7383.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-50379.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-7383
- openssl-library.org https://openssl-library.org/news/secadv/20260609.txt
- ubuntu.com https://ubuntu.com/security/notices/USN-8414-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8414-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-7383
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.