Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver malformed PEM item to vulnerable app
-
DeliveryParse into caller-supplied existing X509_INFO stack
-
ExploitRead fails and frees stack entries in place
-
ExecutionDangling pointers remain in stack
-
PersistApp reuses or frees stack
-
ImpactUse-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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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)AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
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).
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
Lifecycle Timeline
3DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packe
In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Rated cri
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
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
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
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
In addition to the c_rehash shell command injection identified in CVE-2022-1292, further circumstances where the c_rehas
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
The SSL protocol 3.0, as used in OpenSSL through 1.0.1i and other products, uses nondeterministic CBC padding, which mak
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
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
A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Rated hig
EUVD-2026-126927
GHSA-jvvm-vvmf-jf3r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB