Client-Side Memory Leak in OCSP Response Checking
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.
- Published
- Aug 5, 2026
- Updated
- Aug 28, 2026
- EPSS
- 0.5% · 43th percentile
- CWE
- CWE-401
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
30
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (openssl). Independent of NVD's CPE analysis and usually ahead of it.
OpenSSL OpenSSL
- 4.0.0 and later · before 4.0.2affected · semver
- 3.6.0 and later · before 3.6.4affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:14 | openssl | before 3.6.4-1 | 3.6.4-1 |
| Red Hat:hummingbird:1 | chunkah | before 0:0.6.0-3.hum1 | 0:0.6.0-3.hum1 |
| Red Hat:hummingbird:1 | openssl | before 0:3.5.6-0.5.hum1 | 0:3.5.6-0.5.hum1 |
| Red Hat:hummingbird:1 | openssl-config-fips | before 0:3.5.6-0.5.hum1 | 0:3.5.6-0.5.hum1 |
| Red Hat:hummingbird:1 | openssl-devel | before 0:3.5.6-0.5.hum1 | 0:3.5.6-0.5.hum1 |
| Red Hat:hummingbird:1 | openssl-devel-engine | before 0:3.5.6-0.5.hum1 | 0:3.5.6-0.5.hum1 |
| Red Hat:hummingbird:1 | openssl-fips-provider-upstream | before 0:3.5.6-0.5.hum1 | 0:3.5.6-0.5.hum1 |
| Red Hat:hummingbird:1 | openssl-libs | before 0:3.5.6-0.5.hum1 | 0:3.5.6-0.5.hum1 |
| Red Hat:hummingbird:1 | openssl-perl | before 0:3.5.6-0.5.hum1 | 0:3.5.6-0.5.hum1 |
| Red Hat:hummingbird:1 | openssl3 | before 0:3.5.7-2.2.hum1 | 0:3.5.7-2.2.hum1 |
| Red Hat:hummingbird:1 | openssl3-devel | before 0:3.5.7-2.2.hum1 | 0:3.5.7-2.2.hum1 |
| Red Hat:hummingbird:1 | openssl3-devel-engine | before 0:3.5.7-2.2.hum1 | 0:3.5.7-2.2.hum1 |
| Red Hat:hummingbird:1 | openssl3-libs | before 0:3.5.7-2.2.hum1 | 0:3.5.7-2.2.hum1 |
| Red Hat:hummingbird:1 | python-cryptography | before 0:50.0.0-1.hum1 | 0:50.0.0-1.hum1 |
| Red Hat:hummingbird:1 | python3-cryptography | before 0:50.0.0-1.hum1 | 0:50.0.0-1.hum1 |
| Red Hat:hummingbird:1 | ruby3.3 | before 0:3.3.10-23.5.hum1 | 0:3.3.10-23.5.hum1 |
| Red Hat:hummingbird:1 | ruby3.3-bundled-gems | before 0:3.3.10-23.5.hum1 | 0:3.3.10-23.5.hum1 |
| Red Hat:hummingbird:1 | ruby3.3-default-gems | before 0:3.3.10-23.5.hum1 | 0:3.3.10-23.5.hum1 |
| Red Hat:hummingbird:1 | ruby3.3-devel | before 0:3.3.10-23.5.hum1 | 0:3.3.10-23.5.hum1 |
| Red Hat:hummingbird:1 | ruby3.3-doc | before 0:3.3.10-23.5.hum1 | 0:3.3.10-23.5.hum1 |
| Red Hat:hummingbird:1 | ruby3.3-libs | before 0:3.3.10-23.5.hum1 | 0:3.3.10-23.5.hum1 |
| Red Hat:hummingbird:1 | ruby3.4 | before 0:3.4.10-31.6.hum1 | 0:3.4.10-31.6.hum1 |
| Red Hat:hummingbird:1 | ruby3.4-bundled-gems | before 0:3.4.10-31.6.hum1 | 0:3.4.10-31.6.hum1 |
| Red Hat:hummingbird:1 | ruby3.4-default-gems | before 0:3.4.10-31.6.hum1 | 0:3.4.10-31.6.hum1 |
+27
Same product
openssl: all recordsOther highest-scoring records for the same primary product.
- CVE-2014-0160The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packets, which allows remKEV90Now
- CVE-2021-3711SM2 Decryption Buffer Overflow65This week
- CVE-2003-0545Double free vulnerability in OpenSSL 0.9.7 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code 65This week
- CVE-2016-2108The ASN.1 implementation in OpenSSL before 1.0.1o and 1.0.2 before 1.0.2c allows remote attackers to execute arbitrary code or cause a denia62This week
- CVE-2016-6309statem/statem.c in OpenSSL 1.1.0a does not consider memory-block movement after a realloc call, which allows remote attackers to cause a den60This week
- CVE-2022-3786X.509 Email Address Variable Length Buffer Overflow58Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| OpenSSL OpenSSL | 3.6.4 | Vendor (CNA) |
| OpenSSL OpenSSL | 4.0.2 | Vendor (CNA) |
| azl3 openvmm 0.1.0-1 on Azure Linux 3.0 | — | Microsoft (MSRC) |
| debian:openssl | 3.6.4-1 · Debian:14 | Package registry (OSV) |
| red hat:chunkah | 0:0.6.0-3.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:openssl | 0:3.5.6-0.5.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:openssl-config-fips | 0:3.5.6-0.5.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:openssl-devel | 0:3.5.6-0.5.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:openssl-devel-engine | 0:3.5.6-0.5.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:openssl-fips-provider-upstream | 0:3.5.6-0.5.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:openssl-libs | 0:3.5.6-0.5.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:openssl-perl | 0:3.5.6-0.5.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:openssl3 | 0:3.5.7-2.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:openssl3-devel | 0:3.5.7-2.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:python-cryptography | 0:50.0.0-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:python3-cryptography | 0:50.0.0-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:ruby3.3 | 0:3.3.10-23.5.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:ruby3.3-default-gems | 0:3.3.10-23.5.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:ruby3.4 | 0:3.4.10-31.6.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:ruby3.4-default-gems | 0:3.4.10-31.6.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:ruby4.0 | 0:4.0.6-37.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:ruby4.0-default-gems | 0:4.0.6-37.2.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Bhabani Sankar Dasreporter
- Zhenzhe Shaoreporter
- Mounir Idrassiremediation developer
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-401 · Missing Release of Memory after Effective LifetimeCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- github.com/openssl/openssl/commit/155b5fe0f93365e6df1c56ee3606b121080c6c12
- github.com/openssl/openssl/commit/d8c51048ac037a21bae0f41cad7a3920dc7f3638
- openssl-library.org/news/secadv/20260805.txt
- www.openwall.com/lists/oss-security/2026/08/05/8
Vendor advisories and official records. Exploit/PoC links are deliberately left out.