CVE-2026-107493: Use-After-Free in PEM_X509_INFO_read_bio_ex() when appending to a caller-supplied stack fails
Vulnerability summary
CVE-2026-107493 is a high (CVSS 7.7) Use After Free vulnerability in openssl. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 4.9% of scored vulnerabilities.
Not severe (CVSS 7.7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 1Timeline
- 17-11-2026PublishedVulnerability first disclosed.
- 17-11-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- NVDNIST7.7HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.7HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.7HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.7HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.7HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated7.7HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard25 products
- eco-dotnet-libssl-1.0All versions (No fix recorded)
- eco-dotnet-libssl-1.0-ld-so-confAll versions (No fix recorded)
- eco-python-mysql-connector-python-8.1.0-openssl-3.5All versions (No fix recorded) | < 3.5.10-r0
- eco-python-mysql-connector-python-8.1.0-openssl-3.5-devAll versions (No fix recorded) | < 3.5.10-r0
- eco-python-openssl-3.5All versions (No fix recorded) | < 3.5.10-r0
Ubuntu6 products
- edk2All versions (No fix recorded)
- edk2-hweAll versions (No fix recorded)
- nodejsAll versions (No fix recorded)
- opensslAll versions (No fix recorded) | < 3.0.2-0ubuntu1.31 | < 3.0.13-0ubuntu3.18 | < 3.5.5-1ubuntu3.8
- openssl-fipsAll versions (No fix recorded)
Wolfi6 products
- openssl-4.0All versions (No fix recorded) | < 4.0.4-r0
- openssl-4.0-dbgAll versions (No fix recorded)
- openssl-4.0-devAll versions (No fix recorded) | < 4.0.4-r0
- openssl-4.0-docAll versions (No fix recorded) | < 4.0.4-r0
- openssl-4.0-libcryptoAll versions (No fix recorded)
Alpine1 product
- openssl< 3.5.9-r2 | < 3.5.10-r0
Debian1 product
- opensslAll versions (No fix recorded) | < 3.5.10-1~deb13u1
Openssl1 product
- openssl≥ 4.1.0, < 4.1.1 | ≥ 4.0.0, < 4.0.4 | ≥ 3.5.0, < 3.5.10 | ≥ 3.0.0, < 3.0.24 | ≥ 1.1.1, < 1.1.1zk | ≥ 1.0.2, < 1.0.2zt
6 vendors · 40 products