Skip to main content

OpenSSL EUVDEUVD-2026-53385

| CVE-2026-54876 HIGH
Memory Leak (CWE-401)
2026-08-05 openssl GHSA-5cfw-78wc-wvjq
High
Disputed · 7.5 Vendor: openssl
View

Attack ChainAIDerived

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

  1. Recon
    Control or spoof target TLS server
  2. Delivery
    Induce victim client to establish repeated TLS sessions
  3. Exploit
    Return empty BasicOCSPResponse with padded bogus certs each handshake
  4. Install
    OCSP_BASICRESP allocation bypasses cleanup on each connection
  5. C2
    Leaked structures accumulate on client heap
  6. Execute
    Exhaust client process memory over time
  7. Impact
    Client process crashes (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Two non-default conditions must hold simultaneously. First, the victim TLS client application must have explicitly enabled OCSP response checking by setting X509_V_FLAG_OCSP_RESP_CHECK or X509_V_FLAG_OCSP_RESP_CHECK_ALL on its X509_STORE_CTX - these flags are disabled by default and must be programmatically activated by the application developer; no standard OpenSSL distribution enables them automatically. Second, the attacker must control or be able to impersonate the TLS server that the victim client connects to, so the attacker can inject the crafted OCSP staple during the handshake. What limits exploitation: DoS accumulation requires repeated connections over an extended period rather than a single packet; only the client process is affected (no kernel impact, no lateral movement); confidentiality and integrity of data are entirely unaffected; and the vulnerability is absent from FIPS-mode deployments and from any OpenSSL branch other than 3.6.x and 4.0.x within the stated version ranges.

Impact

The official CVSS 3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) captures the availability impact but overstates real-world attack surface by not encoding the critical prerequisite: OCSP response checking is disabled by default in OpenSSL, and only client applications that explicitly set X509_V_FLAG_OCSP_RESP_CHECK or X509_V_FLAG_OCSP_RESP_CHECK_ALL are reachable. This sharply narrows the affected population compared to what a network-exploitable, no-privilege, no-interaction score implies. EPSS data was not provided in the intelligence package; no CISA KEV listing exists; and no public proof-of-concept exploit has been identified, reducing urgency for most organizations. Impact is strictly availability - confidentiality and integrity are unaffected, consistent with C:N/I:N/A:H. The DoS is gradual rather than instantaneous, requiring repeated connections over time, which further limits exploitability in practice. Organizations operating long-running TLS client processes (custom PKI validators, OCSP hard-fail enforcement in enterprise mTLS, or browser-derived stacks with explicit OCSP checking) face meaningful risk and should patch promptly; the majority of standard OpenSSL deployments with default settings are not exposed.

Exploit ScenarioDerived

An adversary operates or has compromised a TLS server that a target client application - one with OCSP staple checking explicitly enabled - connects to repeatedly. On each handshake the attacker's server responds with a crafted BasicOCSPResponse containing zero SingleResponse entries and a certs field stuffed with hundreds of synthetic X.509 certificates, maximizing the allocation size of the leaked OCSP_BASICRESP structure. Over hours or days of sustained connection attempts the client process heap grows monotonically until the operating system OOM-kills the process, denying service without the attacker obtaining any data from the victim.

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

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

Alert me

AnalysisAIv1 – Aug 05, 2026

Memory exhaustion denial-of-service in OpenSSL 3.6.0-3.6.3 and 4.0.0-4.0.1 allows a malicious TLS server to leak attacker-tunable amounts of heap memory per handshake in connecting client applications that have explicitly enabled OCSP staple verification. By delivering a syntactically valid BasicOCSPResponse containing an empty SingleResponse sequence - optionally padded with bogus certificates to amplify each allocation - the server causes the internal OCSP_BASICRESP structure to be allocated but never freed, bypassing the cleanup path. No public exploit has been identified at time of analysis and no CISA KEV listing exists; risk is bounded by the non-default OCSP flag requirement.

RemediationAI

Upgrade to OpenSSL 4.0.2 or OpenSSL 3.6.4, which incorporate the fixes from upstream commits d8c51048ac037a21bae0f41cad7a3920dc7f3638 and 155b5fe0f93365e6df1c56ee3606b121080c6c12; these route the empty BasicOCSPResponse code path through the existing end: cleanup label rather than returning early with a dangling allocation. Full vendor guidance is at https://openssl-library.org/news/secadv/20260805.txt. If immediate patching is not feasible, the most effective and targeted compensating control is to remove X509_V_FLAG_OCSP_RESP_CHECK and X509_V_FLAG_OCSP_RESP_CHECK_ALL from the application's X509_STORE_CTX verification flags, which completely eliminates the vulnerable code path since it is never entered without those flags; the trade-off is loss of OCSP revocation checking, which may violate compliance requirements (e.g., NIST SP 800-52, PCI DSS TLS guidelines) in regulated environments. For applications that cannot disable OCSP checking, restricting TLS client connections to an allowlisted set of trusted server endpoints via firewall policy reduces exposure to server-side spoofing or compromise vectors, but does not eliminate risk if a trusted server is itself compromised.

Affected VersionsENISA

OpenSSL 4.0.0 <4.0.2
OpenSSL 3.6.0 <3.6.4

Affected Packages

euvd openssl fix: 3.6.4, 4.0.2

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

The vulnerable function is check_cert_ocsp_resp() in crypto/x509/x509_vfy.c, invoked during X.509 certificate chain verification. When X509_V_FLAG_OCSP_RESP_CHECK or X509_V_FLAG_OCSP_RESP_CHECK_ALL is active, OCSP_response_get1_basic() allocates and returns an owning OCSP_BASICRESP pointer. Before the fix, a combined conditional short-circuited to an early return when OCSP_resp_count(bs) returned less than 1 (an empty SEQUENCE OF SingleResponse, which is wire-legal and accepted by the OpenSSL ASN.1 decoder), bypassing the end: cleanup label responsible for calling OCSP_BASICRESP_free(). The root cause class is CWE-401 (Missing Release of Memory after Effective Lifetime). Attackers can amplify the per-handshake leak by populating the certs field of the BasicOCSPResponse with arbitrarily many bogus X.509 certificates; these are parsed and stored in the leaked structure before the empty-response guard fires. CPE cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* scoped to versions 3.6.0-3.6.3 and 4.0.0-4.0.1 describes the affected product surface.

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.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

OCSP checking requires explicit non-default flag activation by the client application, making successful exploitation depend on a target-side condition beyond attacker control, warranting AC:H.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
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
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVE Published
Aug 05, 2026 - 13:59 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 05, 2026 - 13:59 cve.org
HIGH 7.5

DescriptionCVE.org

Issue summary: A malicious TLS server can cause a memory leak in a TLS client that has enabled OCSP response checking by sending an OCSP response that contains no single response entries.

Impact summary: An attacker can leak an attacker-tunable amount of memory per TLS handshake in a victim client application. A long-running client that repeatedly connects to a malicious server can have its memory exhausted, resulting in a Denial of Service.

CWE: CWE-401: Missing Release of Memory after Effective Lifetime

Description: The affected function is called during X.509 certificate chain verification when OCSP response checking is enabled with the X509_V_FLAG_OCSP_RESP_CHECK or X509_V_FLAG_OCSP_RESP_CHECK_ALL verification flags, for example when a TLS client verifies an OCSP response stapled into the TLS handshake by the server.

When the received BasicOCSPResponse contains an empty SEQUENCE OF SingleResponse, which is permitted on the wire and accepted by the OpenSSL decoder, the OCSP_BASICRESP structure allocated by OCSP_response_get1_basic() was not freed because an early return bypassed the cleanup code at the end of the function.

The amount of memory leaked per handshake can be amplified by the attacker by padding the certs field of the BasicOCSPResponse with bogus certificates, which are parsed and stored in the leaked structure before the empty response check triggers the early return. A long-running TLS client that repeatedly connects to a malicious server can have its memory exhausted over time.

OCSP response checking is not enabled by default. Only client applications that explicitly enable the OCSP response check verification flags are affected.

FIPS impact: no

The FIPS modules in 4.0 and 3.6 are not affected by this issue as the affected code is outside the OpenSSL FIPS module boundary.

Executive ViewAI

Why It Matters

OpenSSL versions 3.6.0-3.6.3 and 4.0.0-4.0.1 contain a denial-of-service vulnerability enabling memory exhaustion attacks on TLS client applications with OCSP staple verification explicitly enabled. No public exploit identified at time of analysis, but the vulnerability can degrade service availability if clients connect to malicious or compromised TLS servers. The attack surface is limited by the requirement for non-default OCSP configuration and attacker control of the TLS server.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Ubiquitous
OpenSSL underlies TLS in the vast majority of Linux server and client deployments
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor 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.3%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
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

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

SUSE

Severity: Important
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Not-Affected
SLES15-SP5-CHOST-BYOS-SAP-CCloud Not-Affected
SLES15-SP6-CHOST-BYOS Not-Affected
SLES15-SP6-CHOST-BYOS Not-Affected
SLES15-SP6-CHOST-BYOS-Aliyun Not-Affected

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