Io.netty:netty handler ssl ocsp: Netty: TOCTOU in OcspServerCertificateValidator (CVE-2026-56822)
Netty's OcspServerCertificateValidator forwards the TLS handshake completion event before completing asynchronous OCSP validation. This timing issue allows clients to send or receive sensitive application data to a server whose certificate may later be determined as revoked. The channel is closed only after the OCSP check completes and detects revocation, potentially exposing data to a revoked server during the window between handshake completion and OCSP validation result.
AI Analysis
Technical Summary
The vulnerability in io.netty.handler.ssl.ocsp.OcspServerCertificateValidator (CVE-2026-56822) is a time-of-check to time-of-use (TOCTOU) race condition. When the TLS handshake completes, the validator immediately forwards the SslHandshakeCompletionEvent to downstream handlers before the asynchronous OCSP certificate revocation check finishes. This premature forwarding causes the client to treat the handshake as successful and start exchanging application data. If the OCSP response later indicates the server certificate is revoked, the validator closes the channel, but sensitive data may have already been exchanged with a revoked server. This flaw affects the integrity and confidentiality of data during TLS sessions using this OCSP validation approach.
Potential Impact
An attacker with a revoked server certificate can still receive or send sensitive application data during the window between handshake completion and the asynchronous OCSP validation result. This undermines the trust model of TLS by allowing data exposure or acceptance of malicious responses from a revoked server. The vulnerability impacts confidentiality and integrity but does not affect availability since the channel is eventually closed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider disabling OCSP validation in Netty or implementing additional application-level checks to prevent data exchange before OCSP validation completes. Monitor vendor channels for updates and apply official patches once released.
Io.netty:netty handler ssl ocsp: Netty: TOCTOU in OcspServerCertificateValidator (CVE-2026-56822)
Description
Netty's OcspServerCertificateValidator forwards the TLS handshake completion event before completing asynchronous OCSP validation. This timing issue allows clients to send or receive sensitive application data to a server whose certificate may later be determined as revoked. The channel is closed only after the OCSP check completes and detects revocation, potentially exposing data to a revoked server during the window between handshake completion and OCSP validation result.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in io.netty.handler.ssl.ocsp.OcspServerCertificateValidator (CVE-2026-56822) is a time-of-check to time-of-use (TOCTOU) race condition. When the TLS handshake completes, the validator immediately forwards the SslHandshakeCompletionEvent to downstream handlers before the asynchronous OCSP certificate revocation check finishes. This premature forwarding causes the client to treat the handshake as successful and start exchanging application data. If the OCSP response later indicates the server certificate is revoked, the validator closes the channel, but sensitive data may have already been exchanged with a revoked server. This flaw affects the integrity and confidentiality of data during TLS sessions using this OCSP validation approach.
Potential Impact
An attacker with a revoked server certificate can still receive or send sensitive application data during the window between handshake completion and the asynchronous OCSP validation result. This undermines the trust model of TLS by allowing data exposure or acceptance of malicious responses from a revoked server. The vulnerability impacts confidentiality and integrity but does not affect availability since the channel is eventually closed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider disabling OCSP validation in Netty or implementing additional application-level checks to prevent data exchange before OCSP validation completes. Monitor vendor channels for updates and apply official patches once released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-wc96-39fc-566f
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-56822"]
- Ecosystems
- ["Maven"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6150d69c2644c7f8da0c21
Added to database: 07/22/2026, 23:23:02 UTC
Last enriched: 07/22/2026, 23:30:17 UTC
Last updated: 07/22/2026, 23:30:17 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.