CVEfocus › CVE database › CVE-2026-107493

CVE-2026-107493Use-After-Free in PEM_X509_INFO_read_bio_ex() when appending to a caller-supplied stack…

CVSS 7.7 HighEPSS 0.1% (higher than 2% of CVEs)Published 2026-11-17Updated 2026-11-17Assigner: openssl

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.

CWE-416

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
46Fix pending
5Under investigation
39Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10edk2Fix pendingUBUNTU-CVE-2026-107493
Ubuntu 26.10edk2-hweFix pendingUBUNTU-CVE-2026-107493
Ubuntu 26.10opensslFix pendingUBUNTU-CVE-2026-107493
Ubuntu 26.04edk2Under investigationUBUNTU-CVE-2026-107493
Ubuntu 26.04edk2-hweUnder investigationUBUNTU-CVE-2026-107493
Ubuntu 26.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 26.04opensslFix pendingUBUNTU-CVE-2026-107493
Ubuntu 24.04edk2Under investigationUBUNTU-CVE-2026-107493
Ubuntu 24.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 24.04opensslUnder investigationUBUNTU-CVE-2026-107493
Ubuntu 22.04edk2Under investigationUBUNTU-CVE-2026-107493
Ubuntu 22.04nodejsFix pendingUBUNTU-CVE-2026-107493
Ubuntu 22.04opensslFix pendingUBUNTU-CVE-2026-107493
Ubuntu 20.04edk2Fix pendingUBUNTU-CVE-2026-107493
Ubuntu 20.04opensslFix pendingUBUNTU-CVE-2026-107493
Ubuntu 18.04edk2Fix pendingUBUNTU-CVE-2026-107493
Ubuntu 18.04nodejsFix pendingUBUNTU-CVE-2026-107493
Ubuntu 18.04opensslFix pendingUBUNTU-CVE-2026-107493
Ubuntu 18.04openssl1.0Fix pendingUBUNTU-CVE-2026-107493
Ubuntu 16.04edk2Fix pendingUBUNTU-CVE-2026-107493
Ubuntu 16.04nodejsFix pendingUBUNTU-CVE-2026-107493
Ubuntu 16.04opensslFix pendingUBUNTU-CVE-2026-107493
Ubuntu 14.04opensslFix pendingUBUNTU-CVE-2026-107493
Debian 14opensslFix pendingDEBIAN-CVE-2026-107493
Debian 13opensslFix pendingDEBIAN-CVE-2026-107493
Debian 12opensslFix pendingDEBIAN-CVE-2026-107493
Red Hat Enterprise Linux 10edk2Not affected
Red Hat Enterprise Linux 10edk2-aarch64Not affected
Red Hat Enterprise Linux 10edk2-ovmfNot affected
Red Hat Enterprise Linux 10edk2-toolsNot affected
Red Hat Enterprise Linux 10edk2-tools-docNot affected
Red Hat Enterprise Linux 10mokutilNot affected
Red Hat Enterprise Linux 10opensslFix pending
Affected
Red Hat Enterprise Linux 10openssl-develFix pending
Affected
Red Hat Enterprise Linux 10openssl-libsFix pending
Affected
Red Hat Enterprise Linux 10openssl-perlFix pending
Affected
Red Hat Enterprise Linux 10shim-aa64Not affected
Red Hat Enterprise Linux 10shim-unsigned-aarch64Not affected
Red Hat Enterprise Linux 10shim-unsigned-x64Not affected
Red Hat Enterprise Linux 10shim-x64Not affected
Red Hat Enterprise Linux 9compat-openssl11Fix pending
Fix deferred
Red Hat Enterprise Linux 9edk2Not affected
Red Hat Enterprise Linux 9edk2-aarch64Not affected
Red Hat Enterprise Linux 9edk2-ovmfNot affected
Red Hat Enterprise Linux 9edk2-toolsNot affected
Red Hat Enterprise Linux 9edk2-tools-docNot affected
Red Hat Enterprise Linux 9opensslFix pending
Affected
Red Hat Enterprise Linux 9openssl-develFix pending
Affected
Red Hat Enterprise Linux 9openssl-libsFix pending
Affected
Red Hat Enterprise Linux 9openssl-perlFix pending
Affected
Red Hat Enterprise Linux 9shimNot affected
Red Hat Enterprise Linux 9shim-aa64Not affected
Red Hat Enterprise Linux 9shim-unsigned-aarch64Not affected
Red Hat Enterprise Linux 9shim-unsigned-x64Not affected
Red Hat Enterprise Linux 9shim-x64Not affected
Red Hat Enterprise Linux 8compat-openssl10Fix pending
Fix deferred
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8edk2-aarch64Not affected
Red Hat Enterprise Linux 8edk2-ovmfNot affected
Red Hat Enterprise Linux 8mingw-opensslFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-opensslFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-opensslFix pending
Fix deferred
Red Hat Enterprise Linux 8opensslFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-develFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-perlFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-staticFix pending
Fix deferred
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 8shim-aa64Not affected
Red Hat Enterprise Linux 8shim-ia32Not affected
Red Hat Enterprise Linux 8shim-unsigned-aarch64Not affected
Red Hat Enterprise Linux 8shim-unsigned-x64Not affected
Red Hat Enterprise Linux 8shim-x64Not affected
Red Hat Enterprise Linux 7AAVMFNot affected
Red Hat Enterprise Linux 7OVMFNot affected
Red Hat Enterprise Linux 7mokutilNot affected
Red Hat Enterprise Linux 7opensslFix pending
Fix deferred
Red Hat Enterprise Linux 7openssl-develFix pending
Fix deferred
Red Hat Enterprise Linux 7openssl-libsFix pending
Fix deferred
Red Hat Enterprise Linux 7openssl-perlFix pending
Fix deferred
Red Hat Enterprise Linux 7openssl-staticFix pending
Fix deferred
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 7shimNot affected
Red Hat Enterprise Linux 7shim-ia32Not affected
Red Hat Enterprise Linux 7shim-signedNot affected
Red Hat Enterprise Linux 7shim-x64Not affected
Red Hat Enterprise Linux 6opensslFix pending
Fix deferred
Red Hat Enterprise Linux 6openssl-develFix pending
Fix deferred
Red Hat Enterprise Linux 6openssl-perlFix pending
Fix deferred
Red Hat Enterprise Linux 6openssl-staticFix pending
Fix deferred
Alpine Linux 3.22opensslFixed3.5.9-r2ALPINE-CVE-2026-107493

What the vendor says

As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.