Skip to main content

OpenSSL CVE-2026-107493

| EUVDEUVD-2026-126927 HIGH
Use After Free (CWE-416)
2026-11-17 openssl GHSA-jvvm-vvmf-jf3r
High
Disputed · 7.7 Vendor: openssl
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver malformed PEM item to vulnerable app
  2. Delivery
    Parse into caller-supplied existing X509_INFO stack
  3. Exploit
    Read fails and frees stack entries in place
  4. Execution
    Dangling pointers remain in stack
  5. Persist
    App reuses or frees stack
  6. Impact
    Use-after-free crash or memory corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target application to call PEM_X509_INFO_read_bio_ex(), PEM_X509_INFO_read_bio(), PEM_X509_INFO_read(), or PEM_X509_INFO_read_ex() while passing an existing, non-NULL STACK_OF(X509_INFO) to append into, and to continue using or freeing that stack after a failed read; the attacker must supply malformed PEM data (valid PEM armour with invalid content, enough to make the read fail at any point). Key limiting factors: OpenSSL itself never passes a non-NULL stack, so no OpenSSL-internal path (including TLS CA-certificate loading) is affected, and the vendor expects 'very few applications' use this pattern - when the stack is NULL the function frees only its own entries, which is safe. The impact is a crash or, in principle, memory corruption; there is no confirmed information-disclosure or code-execution primitive in the available sources. The sole complete fix per the advisory is updating to a fixed version (OpenSSL 3.0.24, 3.5.10, 4.0.4, 4.1.1, 1.1.1zk, or 1.0.2zt).

Impact

Signals are consistent and point to a low-to-moderate real-world priority despite the 7.7 'High' CVSS. The provided CVSS vector (AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H) scores high mainly on C:H and A:H, but the description characterizes the realistic outcome as 'a crash or, in principle, memory corruption' - an availability (DoS) issue with only theoretical confidentiality/integrity impact, so the C:H metric looks generous relative to the described mechanism; verify impact scope with the vendor advisory. Exploitation is strongly gated by a code-level precondition, not a configuration toggle: the vulnerable path is only reachable when an application passes an existing (non-NULL) STACK_OF(X509_INFO) to PEM_X509_INFO_read_bio_ex()/PEM_X509_INFO_read_bio()/PEM_X509_INFO_read()/PEM_X509_INFO_read_ex(), which OpenSSL states 'very few applications' do and which OpenSSL's own callers (including TLS CA loading) never do. EPSS is 0.12% (2nd percentile) and the CVE is not in CISA KEV, and no public exploit is identified, all of which agree with the narrow, non-default trigger surface. The vuln.today priority is 'this_week', reflecting that OpenSSL is ubiquitous and a patch is available, rather than evidence of active exploitation. Net: a legitimate memory-safety bug worth patching on a normal cycle, not an emergency; the dominant uncertainty is how many deployed applications actually use the affected non-NULL-stack calling pattern.

Exploit ScenarioDerived

An application that reuses a caller-owned stack of X509_INFO structures across multiple PEM reads (e.g. accumulating certificates/CRLs into one stack) feeds attacker-supplied PEM data - such as an uploaded or received certificate bundle - into PEM_X509_INFO_read_bio_ex(). A single malformed PEM item (valid armour, invalid DER) makes the read fail, causing OpenSSL to free every entry while leaving dangling pointers in the stack, so the application's subsequent use or free of that stack touches freed memory and crashes. No public exploit code is identified; the published commits are the fix and its regression test, not a weaponized PoC.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 17, 2026

Use-after-free in OpenSSL's PEM_X509_INFO_read_bio_ex() and its three sibling PEM readers (PEM_X509_INFO_read_bio(), PEM_X509_INFO_read(), PEM_X509_INFO_read_ex()) can crash an application, or in principle corrupt memory, when a failed parse leaves freed X509_INFO pointers in a caller-owned stack. Only applications that pass a non-NULL STACK_OF(X509_INFO) to append into - and keep using or free that stack after the read fails - are affected; OpenSSL's own callers, including TLS CA-certificate loading, always pass NULL and are safe, and the vendor expects very few applications to use this pattern. An attacker can trigger the failure with malformed PEM data but cannot force an application to pass an existing stack, so exploitation is highly context-dependent; no public exploit has been identified at time of analysis and EPSS is 0.12% (2nd percentile), with malformed-PEM handling in a custom PEM-ingesting service the realistic exposure path.

RemediationAI

Vendor-released patch: OpenSSL 1.0.2zt, 1.1.1zk, 3.0.24, 3.5.10, 4.0.4 and 4.1.1 - the advisory states that updating to the fixed version for your branch is the only complete fix, so remediation should begin with identifying which OpenSSL branch each affected application links (including statically linked and vendored copies) and moving it to the corresponding fixed release, per https://openssl-library.org/news/secadv/20261117.txt and the upstream commits c57a5ccf0c060755b5494a6870922b7c6cdd7dd8, 0486dfadfec558e1808f59d35a8d79e541c4e7d7 and c8f6d04f8e6d40b1bf83334e4a2ec9daf5943a3d. Until an update ships, source-level audit is the actionable step: locate every call to PEM_X509_INFO_read_bio_ex(), PEM_X509_INFO_read_bio(), PEM_X509_INFO_read() and PEM_X509_INFO_read_ex() and determine whether a non-NULL stack is passed; callers that pass NULL are unaffected and need no change. For callers that do append into an existing stack, the pattern the library itself uses - pass NULL and merge the returned entries into your own container after a successful read - removes the vulnerable code path entirely, at the cost of a small amount of extra code and an additional allocation, and is the only structural workaround supported by the advisory's description of the safe NULL case. Reducing the reach of malformed PEM into such a parser lowers the chance of hitting the failure path but is not a substitute for the update, and no fixed-version number should be assumed for branches other than those listed.

Affected VersionsENISA

OpenSSL 3.0.0 <3.0.24
OpenSSL 4.1.0 <4.1.1
OpenSSL 1.1.1 <1.1.1zk
OpenSSL 1.0.2 <1.0.2zt
OpenSSL 4.0.0 <4.0.4
OpenSSL 3.5.0 <3.5.10

Affected Packages

euvd openssl fix: 1.0.2zt, 1.1.1zk, 3.0.24, 3.5.10, 4.0.4, 4.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PEM_X509_INFO_read_bio_ex() parses PEM blocks into X509_INFO structures (certificates, CRLs and private keys) held on a STACK_OF(X509_INFO). When the caller supplies an existing stack, the function appends new entries and is contractually required to leave pre-existing entries untouched. The pre-fix cleanup path instead walked the whole stack and called X509_INFO_free() on every element at index 0..n-1 without popping them, so on any read failure both the caller's original entries and any newly added entries were freed while their pointers remained in the stack - a CWE-416 use-after-free that surfaces when the caller later reads or frees the stack. The failure can occur at any point, even before an entry is added: a single PEM item with valid armour but invalid content (for example a certificate block whose DER body is malformed) is sufficient. The trigger mechanism is therefore input-driven parse failure combined with a specific API usage pattern, not a network-facing logic flaw in OpenSSL itself. The upstream fix adds a preserve_cnt recorded at entry (sk_X509_INFO_num(sk) for a non-NULL stack) and replaces the free-all loop with a rollback that pops and frees only entries above that watermark: while (sk_X509_INFO_num(ret) > preserve_cnt) X509_INFO_free(sk_X509_INFO_pop(ret)). Commits c57a5ccf0c060755b5494a6870922b7c6cdd7dd8, 0486dfadfec558e1808f59d35a8d79e541c4e7d7 and c8f6d04f8e6d40b1bf83334e4a2ec9daf5943a3d address the affected branches, and the accompanying regression test verifies via an X509 ex_data free callback that pre-existing stack entries survive a failed append. The code sits outside the FIPS module boundary, so FIPS impact is none; OpenSSL 1.1.1 and 1.0.2 expose only PEM_X509_INFO_read_bio() and PEM_X509_INFO_read(). The independently assessed vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H) reflects that the crash is reachable remotely in principle through an application that ingests PEM data, but requires the high-precondition caller pattern and there is no confirmed information-disclosure or code-execution primitive.

Know when OpenSSL gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Low–High)
Vendor (openssl) PRIMARY 7.7 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
vuln.today AI 6.5 MEDIUM

Attacker supplies malformed PEM content remotely (AV:N) but needs the uncommon non-NULL-stack calling pattern (AC:H); realistic impact is a crash (A:H) with only in-principle corruption (I:L, C:N).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Red Hat 3.7 LOW

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: openssl

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Nov 17, 2026 - 17:22 NVD
7.7 (HIGH)
CVE Published
Nov 17, 2026 - 08:14 cve.org
UNKNOWN (no severity yet)
CVE Published
Nov 17, 2026 - 08:14 cve.org
HIGH 7.7

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A high-severity use-after-free vulnerability in OpenSSL's PEM parsing functions (CVE-2026-107493) could allow an attacker to crash or potentially corrupt memory in applications that use a specific, uncommon API pattern. Only custom services that pass a non-NULL stack to PEM readers are at risk; standard OpenSSL callers, including TLS certificate loading, are unaffected. Leadership should care because this affects the integrity and availability of any bespoke PEM-ingesting service, but the narrow exposure and lack of active exploitation limit immediate organizational impact.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Ubiquitous
OpenSSL is deployed across nearly all server and application environments
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2014-0160 HIGH POC
7.5 Apr 07

The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packe

CVE-2021-3711 CRITICAL POC
9.8 Aug 24

In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Rated cri

CVE-2014-0195 MEDIUM POC
6.8 Jun 05

The dtls1_reassemble_fragment function in d1_both.c in OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2016-0800 MEDIUM POC
5.9 Mar 01

The SSLv2 protocol, as used in OpenSSL before 1.0.1s and 1.0.2 before 1.0.2g and other products, requires a server to se

CVE-2015-0204 MEDIUM POC
4.3 Jan 09

The ssl3_get_key_exchange function in s3_clnt.c in OpenSSL before 0.9.8zd, 1.0.0 before 1.0.0p, and 1.0.1 before 1.0.1k

CVE-2022-2068 HIGH
7.3 Jun 21

In addition to the c_rehash shell command injection identified in CVE-2022-1292, further circumstances where the c_rehas

CVE-2015-4000 LOW POC
3.7 May 21

The TLS protocol 1.2 and earlier, when a DHE_EXPORT ciphersuite is enabled on a server but not on a client, does not pro

CVE-2014-3566 LOW POC
3.4 Oct 15

The SSL protocol 3.0, as used in OpenSSL through 1.0.1i and other products, uses nondeterministic CBC padding, which mak

CVE-2016-2107 MEDIUM POC
5.9 May 05

The AES-NI implementation in OpenSSL before 1.0.1t and 1.0.2 before 1.0.2h does not consider memory allocation during a

CVE-2015-1793 MEDIUM POC
6.5 Jul 09

The X509_verify_cert function in crypto/x509/x509_vfy.c in OpenSSL 1.0.1n, 1.0.1o, 1.0.2b, and 1.0.2c does not properly

CVE-2022-3602 HIGH
7.5 Nov 01

A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Rated hig

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy