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… (CVE-2026-54876)
A vulnerability in TLS clients that enable OCSP response checking allows a malicious TLS server to cause a memory leak by sending an OCSP response with no single response entries. This memory leak can be amplified by padding the OCSP response with bogus certificates, potentially exhausting the client's memory over repeated connections and causing a denial of service. The issue affects clients that explicitly enable OCSP response checking and does not impact default configurations or OpenSSL FIPS modules.
AI Analysis
Technical Summary
CVE-2026-54876 describes a memory leak vulnerability in TLS clients that have enabled OCSP response checking via the X509_V_FLAG_OCSP_RESP_CHECK or X509_V_FLAG_OCSP_RESP_CHECK_ALL flags. When a malicious TLS server sends an OCSP BasicOCSPResponse containing an empty SEQUENCE OF SingleResponse entries, the allocated OCSP_BASICRESP structure is not freed due to an early return in the verification function, bypassing cleanup code. Attackers can increase the leaked memory by padding the BasicOCSPResponse with bogus certificates, which are parsed and stored before the empty response triggers the early return. This leak can accumulate over multiple handshakes, potentially exhausting client memory and causing a denial of service. The vulnerability does not affect clients that do not enable OCSP response checking and does not impact OpenSSL FIPS modules 3.6 and 4.0.
Potential Impact
An attacker controlling a malicious TLS server can cause a TLS client that has enabled OCSP response checking to leak an attacker-controlled amount of memory per TLS handshake. Over time, repeated connections to such a server can exhaust the client's memory resources, leading to a denial of service condition. This impact is limited to clients that explicitly enable OCSP response checking and does not affect default client configurations or FIPS module usage.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, clients should consider disabling OCSP response checking if feasible or limit connections to untrusted servers. Since OCSP response checking is not enabled by default, avoiding enabling these flags reduces exposure. Monitor vendor advisories for updates and apply official patches once released.
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… (CVE-2026-54876)
Description
A vulnerability in TLS clients that enable OCSP response checking allows a malicious TLS server to cause a memory leak by sending an OCSP response with no single response entries. This memory leak can be amplified by padding the OCSP response with bogus certificates, potentially exhausting the client's memory over repeated connections and causing a denial of service. The issue affects clients that explicitly enable OCSP response checking and does not impact default configurations or OpenSSL FIPS modules.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-54876 describes a memory leak vulnerability in TLS clients that have enabled OCSP response checking via the X509_V_FLAG_OCSP_RESP_CHECK or X509_V_FLAG_OCSP_RESP_CHECK_ALL flags. When a malicious TLS server sends an OCSP BasicOCSPResponse containing an empty SEQUENCE OF SingleResponse entries, the allocated OCSP_BASICRESP structure is not freed due to an early return in the verification function, bypassing cleanup code. Attackers can increase the leaked memory by padding the BasicOCSPResponse with bogus certificates, which are parsed and stored before the empty response triggers the early return. This leak can accumulate over multiple handshakes, potentially exhausting client memory and causing a denial of service. The vulnerability does not affect clients that do not enable OCSP response checking and does not impact OpenSSL FIPS modules 3.6 and 4.0.
Potential Impact
An attacker controlling a malicious TLS server can cause a TLS client that has enabled OCSP response checking to leak an attacker-controlled amount of memory per TLS handshake. Over time, repeated connections to such a server can exhaust the client's memory resources, leading to a denial of service condition. This impact is limited to clients that explicitly enable OCSP response checking and does not affect default client configurations or FIPS module usage.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, clients should consider disabling OCSP response checking if feasible or limit connections to untrusted servers. Since OCSP response checking is not enabled by default, avoiding enabling these flags reduces exposure. Monitor vendor advisories for updates and apply official patches once released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5cfw-78wc-wvjq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-54876"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a738523bf8831d5394efd8d
Added to database: 08/05/2026, 18:46:59 UTC
Last enriched: 08/05/2026, 22:16:44 UTC
Last updated: 08/05/2026, 22:16:44 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.