Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Io.netty:netty handler ssl ocsp: Netty: TOCTOU in OcspServerCertificateValidator (CVE-2026-56822)

0
High
Published: 07/22/2026 (07/22/2026, 21:47:41 UTC)
Source: GCVE Database
Product: io.netty:netty-handler-ssl-ocsp

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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

Mavenghsa
io.netty:netty-handler-ssl-ocsp
Affected versions
>=4.2.0.Final <4.2.16.Final
Mavenghsa
io.netty:netty-handler-ssl-ocsp
Affected versions
<4.1.136.Final

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 23:30:17 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses