JLSEC-2026-1751

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2026/JLSEC-2026-1751.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1751.json
JSON Data
https://api.osv.dev/v1/vulns/JLSEC-2026-1751
Upstream
Published
2026-12-01T23:02:50Z
Modified
2026-12-01T23:28:34Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H (Source: CNA) CVSS Calculator
Summary
Issue summary: When an application passes a stack to PEM_X509_INFO_read_bio_ex() to add entries...
Details

Issue summary: When an application passes a stack to PEM_X509_INFO_read_bio_ex() to add entries to, and reading fails, OpenSSL frees every entry in the stack, both the old ones and any new ones, but leaves them in the stack.

Impact summary: An application that passes an existing stack to PEM_X509_INFO_read_bio_ex() and keeps using it after a failed read may use memory that was already freed. This can cause a crash or, in principle, memory corruption. Malformed PEM data can make the read fail, but only applications that pass an existing stack are affected, and OpenSSL itself does not do this.

CWE: CWE-416: Use After Free

Description: PEM_X509_INFO_read_bio_ex() reads certificates, CRLs and private keys from PEM data and adds them to a stack of X509_INFO structures. If the application passes a stack that is not NULL, the function adds the new entries to it and must leave the entries that are already there unchanged.

If reading fails, the function frees every entry in the stack. This includes the entries that were there before the call, and the entries added by the call. It does not remove these entries from the stack, so the stack keeps pointers to freed memory. The failure can happen at any point, even before any entry was added. A PEM item with invalid content is enough. This also happens if the stack was empty: entries added before the failure are freed but stay in the stack.

An application that then reads or frees the stack will use memory that was already freed. This can crash the application or, in principle, corrupt memory.

Only applications that pass a stack that is not NULL are affected. OpenSSL itself never does this. Its own callers, including the code that TLS uses to load CA certificates, always pass NULL. When the stack is NULL, the function frees only the entries that it created itself, which is safe. We expect that very few applications pass an existing stack. An attacker can make the read fail with malformed PEM data, but cannot make an application pass an existing stack.

The same problem affects PEM_X509_INFO_read_bio(), PEM_X509_INFO_read() and PEM_X509_INFO_read_ex(), which use the same code. OpenSSL 1.1.1 and 1.0.2 have only the first two of these functions.

FIPS impact: no The affected code is outside the FIPS module boundary.

Database specific
{
    "license":  "CC-BY-4.0",
    "sources":  [
        {
            "database_specific":  {
                "status":  "Awaiting Analysis"
            },
            "html_url":  "https://nvd.nist.gov/vuln/detail/CVE-2026-107493",
            "id":  "CVE-2026-107493",
            "imported":  "2026-12-01T22:40:35.498Z",
            "modified":  "2026-11-17T22:17:20.830Z",
            "published":  "2026-11-17T09:17:25.870Z",
            "url":  "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-107493"
        },
        {
            "html_url":  "https://github.com/advisories/GHSA-jvvm-vvmf-jf3r",
            "id":  "GHSA-jvvm-vvmf-jf3r",
            "imported":  "2026-12-01T22:42:50.928Z",
            "modified":  "2026-11-17T18:32:41Z",
            "published":  "2026-11-17T09:31:44Z",
            "url":  "https://api.github.com/advisories/GHSA-jvvm-vvmf-jf3r"
        },
        {
            "affected":  {
                "OpenSSL:OpenSSL":  [
                    "1.0.2 <1.0.2zt",
                    "1.1.1 <1.1.1zk",
                    "3.0.0 <3.0.24",
                    "3.5.0 <3.5.10",
                    "4.0.0 <4.0.4",
                    "4.1.0 <4.1.1"
                ]
            },
            "html_url":  "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-126927",
            "id":  "EUVD-2026-126927",
            "imported":  "2026-12-01T22:40:05.992Z",
            "modified":  "2026-11-17T16:49:16Z",
            "published":  "2026-11-17T08:14:08Z",
            "url":  "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-126927"
        }
    ]
}
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
Fixed
1.0.1

Database specific

source
"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1751.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
0 Unknown introduced version / All previous versions are affected
Fixed
3.5.10+0

Database specific

source
"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1751.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
0 Unknown introduced version / All previous versions are affected

Database specific

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