Skip to content
RedCVE

CVE-2026-107493OpenSSL use-after-free

OpenSSLPublished:

CVSS score

7.7

High

CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0

Exploit probability (EPSS)

0.15%

0.15% chance of exploitation in the next 30 days, higher than 4.15% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: openssl-security@openssl.org

How to fix it, step by step

  1. Check whether you're affected

    Find every system running OpenSSL and compare its version with the affected versions.

  2. Update to a fixed version

    • Update OpenSSL to 1.0.2zt, 1.1.1zk, 3.0.24, 3.5.10 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected products

Affected productsVersions
OpenSSL 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

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-107493 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-107493?

CVE-2026-107493 has a CVSS 3.1 base score of 7.7 (high).

Which versions are affected?

OpenSSL 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)

Is there a patch for CVE-2026-107493?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.