CVE-2026-54876: Client-Side Memory Leak in OpenSSL OCSP Response Checking
- Vendor
- OpenSSL Software Foundation
CVE-2026-54876 is a memory leak in OpenSSL 4.0 and 3.6 during X.509 certificate chain verification with OCSP response checking explicitly enabled. When a BasicOCSPResponse contains an empty SEQUENCE OF SingleResponse, an early return bypasses cleanup of the OCSP_BASICRESP structure allocated by OCSP_response_get1_basic(). This empty sequence is permitted by the wire format and accepted by the decoder. A malicious TLS server can amplify the leak by including bogus certificates in the response's certs field, which are parsed and retained before the early return. Repeated handshakes can exhaust client memory and cause denial of service. OCSP response checking is disabled by default.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Affected client applications leak an attacker-tunable amount of memory per TLS handshake. Long-running clients that repeatedly connect to a malicious server can progressively exhaust memory, resulting in denial of service. No confidentiality or integrity impact is identified. OpenSSL rates the issue Low severity. The OpenSSL 4.0 and 3.6 FIPS modules themselves are unaffected because the vulnerable code is outside their boundary; this does not exclude applications using those modules from exposure.
Mitigation
If you can’t patch tonight, do this now.
Where operationally acceptable, temporarily disable OCSP response checking by clearing X509_V_FLAG_OCSP_RESP_CHECK and X509_V_FLAG_OCSP_RESP_CHECK_ALL until a fix is deployed. Evaluate the loss of revocation checking before doing so. Restrict affected clients from connecting or repeatedly reconnecting to untrusted TLS servers.
Remediation
Patch, then assume compromise.
Apply the OpenSSL cleanup fix for the affected branch or upgrade to OpenSSL 4.0.2 or 3.6.4 when available, or a vendor package containing the backported fix. For the identified Chainguard packages, update libcrypto3-2.34 and related packages to version 3.6.3-r2 or later. Ensure affected applications use the patched library. OpenSSL 3.5, 3.4, 3.0, 1.1.1, and 1.0.2 are not affected by this issue.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-54876 exploited in the wild?
- As of Dec 2, 2026, Mallory has no reports of CVE-2026-54876 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-54876?
- As of Dec 2, 2026, Mallory has found no public exploit for CVE-2026-54876.
- Is there a patch for CVE-2026-54876?
- Apply the OpenSSL cleanup fix for the affected branch or upgrade to OpenSSL 4.0.2 or 3.6.4 when available, or a vendor package containing the backported fix. For the identified Chainguard packages, update libcrypto3-2.34 and related packages to version 3.6.3-r2 or later.
- What products are affected by CVE-2026-54876?
- OpenSSL Software Foundation Openssl.
- How severe is CVE-2026-54876?
- CVE-2026-54876 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 0.34% (29th percentile) as of Dec 2, 2026.
Recent activity
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.