JLSEC-2026-1155

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2026/JLSEC-2026-1155.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1155.json
JSON Data
https://api.osv.dev/v1/vulns/JLSEC-2026-1155
Upstream
  • EUVD-2026-35474
  • GHSA-w853-v86g-gv7j
Published
2026-08-03T19:08:57.739Z
Modified
2026-08-03T19:20:54.828908894Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Issue summary: A signed integer overflow when sizing the destination buffer for Unicode output in...
Details

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.

Database specific
{
    "license": "CC-BY-4.0",
    "sources": [
        {
            "imported": "2026-08-03T18:18:16.032Z",
            "html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-7383",
            "modified": "2026-07-23T08:10:00.137Z",
            "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-7383",
            "database_specific": {
                "status": "Analyzed"
            },
            "id": "CVE-2026-7383",
            "published": "2026-06-09T17:17:50.337Z"
        },
        {
            "html_url": "https://github.com/advisories/GHSA-w853-v86g-gv7j",
            "imported": "2026-08-03T18:18:42.875Z",
            "modified": "2026-06-10T09:32:58Z",
            "url": "https://api.github.com/advisories/GHSA-w853-v86g-gv7j",
            "id": "GHSA-w853-v86g-gv7j",
            "published": "2026-06-09T18:31:01Z"
        },
        {
            "html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-35474",
            "imported": "2026-08-03T18:18:18.363Z",
            "modified": "2026-06-10T07:47:47Z",
            "url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-35474",
            "id": "EUVD-2026-35474",
            "published": "2026-06-09T16:03:15Z"
        }
    ]
}
References

Affected packages

Julia / AppBundler

Package

Name
AppBundler
Purl
pkg:julia/AppBundler?uuid=40eb83ae-c93a-480c-8f39-f018b568f472

Affected ranges

Type
SEMVER
Events
Introduced
1.0.0

Database specific

source
"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1155.json"

Julia / OpenSSL_jll

Package

Name
OpenSSL_jll
Purl
pkg:julia/OpenSSL_jll?uuid=458c3c95-2e84-50aa-8efc-19380b2a3a95

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.7+0

Database specific

source
"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1155.json"

Julia / Openresty_jll

Package

Name
Openresty_jll
Purl
pkg:julia/Openresty_jll?uuid=87da34d4-7b1b-5a94-8376-8cb65bf3132c

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Database specific

source
"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1155.json"