Client-Side Memory Leak in OCSP Response Checking
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 fixed, 6 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-401.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA OpenSSL (OpenSSL) Fixed in 4.0.2, 3.6.4
Red Hat 8 advisories
- RHSA-2026:68764 Released 2026-09-17 · Red Hat rating CriticalTechnical preview of the satellite/iop-vmaas-rhel9 container image
- Red Hat Satellite 6.18 registry.redhat.io/satellite/iop-vmaas-rhel9
- RHSA-2026:57994 Released 2026-08-21 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby3.4-3.4.10-31.6.hum1@aarch64, ruby3.4-3.4.10-31.6.hum1@src, ruby3.4-3.4.10-31.6.hum1@x86_64 +10
- RHSA-2026:57986 Released 2026-08-21 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby3.3-3.3.10-23.5.hum1@aarch64, ruby3.3-3.3.10-23.5.hum1@src, ruby3.3-3.3.10-23.5.hum1@x86_64 +10
Show 5 more Red Hat advisories
- RHSA-2026:57565 Released 2026-08-20 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images ruby4.0-4.0.6-37.2.hum1@aarch64, ruby4.0-4.0.6-37.2.hum1@src, ruby4.0-4.0.6-37.2.hum1@x86_64 +46
- RHSA-2026:57021 Released 2026-08-19 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images openssl3-1:3.5.7-2.2.hum1@src, openssl3-devel-1:3.5.7-2.2.hum1@aarch64, openssl3-devel-1:3.5.7-2.2.hum1@x86_64 +4
- RHSA-2026:56097 Released 2026-08-18 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images openssl-1:3.5.6-0.5.hum1@aarch64, openssl-1:3.5.6-0.5.hum1@src, openssl-1:3.5.6-0.5.hum1@x86_64 +12
- RHSA-2026:55543 Released 2026-08-17 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images python-cryptography-50.0.0-1.hum1@src, python3-cryptography-50.0.0-1.hum1@aarch64, python3-cryptography-50.0.0-1.hum1@x86_64
- RHSA-2026:42825 Released 2026-07-21 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images chunkah-0.6.0-3.hum1@aarch64, chunkah-0.6.0-3.hum1@src, chunkah-0.6.0-3.hum1@x86_64
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Confidential Compute Attestation | Affected | No fix yet |
| Red Hat 3scale API Management Platform 2 | Affected | No fix planned: Will not fix |
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| Red Hat Trusted Profile Analyzer | Affected | No fix yet |
| Red Hat Hardened Images | Fixed | RHSA-2026:42825, RHSA-2026:55543, RHSA-2026:56097, RHSA-2026:57021, RHSA-2026:57565, RHSA-2026:57986, RHSA-2026:57994 |
| Red Hat Satellite 6.18 | Fixed | RHSA-2026:68764 |
Not affected: 22 products
- Logging Subsystem for Red Hat OpenShift
- OpenShift Lightspeed
- Red Hat Ansible Automation Platform 2
- Red Hat Connectivity Link 1
- Red Hat Developer Hub 1
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux AI (RHEL AI) 3
- Red Hat Hardened Images
- Red Hat JBoss Core Services
- Red Hat JBoss Web Server 6
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
- Red Hat OpenShift Update Service
- Red Hat OpenStack Platform 16.2
- Red Hat Quay 3
- Red Hat Satellite 6
- Red Hat Trusted Profile Analyzer
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54876
- 2026-10-03 Alias added: GHSA-5cfw-78wc-wvjq
- 2026-10-07 Affected versions changed · Red Hat
- 2026-10-09 Affected versions changed · Red Hat
- 2026-10-10 Affected versions changed · Red Hat
- 2026-10-15 Affected versions changed · Red Hat
- 2026-10-27 Affected versions changed · Red Hat
- 2026-10-30 Affected versions changed · Red Hat
References
More Openssl vulnerabilities
- TI-2022-01915 The c_rehash script allows command injection CVSS 3.1CRITICAL 9.8
- TI-2021-02645 SM2 Decryption Buffer Overflow CVSS 3.1CRITICAL 9.8
- TI-2009-03392 The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft… CVSS 3.1CRITICAL 9.8
- TI-2022-01176 The c_rehash script allows command injection CVSS 3.1CRITICAL 9.8
- TI-2014-00154 The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly… KEVCVSS 3.1HIGH 7.5
- TI-2025-14107 Stack buffer overflow in CMS (Auth)EnvelopedData parsing CVSS 3.1HIGH 8.8
Sources
- CVE-2026-54876 · CVE Program
- CVE-2026-54876 · NVD
- FIRST EPSS
- GHSA-5cfw-78wc-wvjq · GitHub Advisory Database · CC BY 4.0
- CVE-2026-54876 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences