CVE-2026-7383
Last modified
CVE-2026-7383 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openssl | Openssl | >= 1.0.2, < 1.0.2zq |
| Openssl | Openssl | >= 1.1.1, < 1.1.1zh |
| Openssl | Openssl | >= 3.0.0, < 3.0.21 |
| Openssl | Openssl | >= 3.4.0, < 3.4.6 |
| Openssl | Openssl | >= 3.5.0, < 3.5.7 |
| Openssl | Openssl | >= 3.6.0, < 3.6.3 |
| Openssl | Openssl | 4.0.0 |
References
- https://openssl-library.org/news/secadv/20260609.txtVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-7383?
How severe is CVE-2026-7383?
How do I fix CVE-2026-7383?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-7377GitLab has remediated an issue in GitLab EE affecting all ve…5.4
- CVE-2026-7378Crash in sharkd 4.6.0 to 4.6.4 and 4.4.0 to 4.4.14 allows de…7.5
- CVE-2026-7379Memory leak in sharkd 4.6.0 to 4.6.4 and 4.4.0 to 4.4.14 all…7.5
- CVE-2026-7380Improper neutralization of Script-Related HTML tags in a web…6.1
- CVE-2026-7381Plack::Middleware::XSendfile versions through 1.0053 for Per…9.1
- CVE-2026-7382Exposure of Sensitive Information to an Unauthorized Actor, …6.5
- CVE-2026-7384A vulnerability was detected in ezequiroga mcp-bases 357ca19…7.3
- CVE-2026-7385The Decent Comments WordPress plugin before 3.0.2 does not r…5.8
- CVE-2026-7386A flaw has been found in fatbobman mail-mcp-bridge up to 1.3…7.3
- CVE-2026-7387Mattermost versions 11.6.x <= 11.6.1, 11.5.x <= 11.5.4, 10.1…8.8
- CVE-2026-7388A weakness has been identified in EyouCMS up to 1.7.9. Impac…4.7
- CVE-2026-7389A security vulnerability has been detected in EyouCMS up to …7.3
Are you affected by CVE-2026-7383?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
