Netty: TOCTOU in OcspServerCertificateValidator
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
Netty is an asynchronous, event-driven network application framework. Prior to versions 4.1.136.Final and 4.2.16.Final, the OcspServerCertificateValidator forwards the SslHandshakeCompletionEvent before the asynchronous OCSP validation completes. This allows the client's downstream handlers to send sensitive application data (e.g., HTTP requests) to a revoked server before the channel is closed by the OCSP check. n io.netty.handler.ssl.ocsp.OcspServerCertificateValidator#userEventTriggered, when an SslHandshakeCompletionEvent is received, the validator immediately calls ctx.fireUserEventTriggered(evt). It then initiates an asynchronous OCSP query using OcspClient.query. Because the handshake completion event is forwarded immediately, downstream handlers in the client's pipeline are notified that the TLS handshake is successful. They may then begin reading and processing incoming application data or sending outgoing data. If the OCSP response later indicates the server's certificate is REVOKED, the validator closes the channel, but by this time, the client may have already leaked sensitive data to a revoked server or processed malicious responses from it. This issue has been fixed in versions 4.1.136.Final and 4.2.16.Final.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| netty | netty | 4.2.0.Final to before 4.2.16.Final; before 4.1.136.Final | 4.2.16.Final, 4.1.136.Final | Patch available | CNA |
| — | io.netty:netty-handler-ssl-ocsp (Maven) | 4.2.0.Final to before 4.2.16.Final | 4.2.16.Final | Patch available | GHSA-wc96-39fc-566f |
| — | io.netty:netty-handler-ssl-ocsp (Maven) | before 4.1.136.Final | 4.1.136.Final | Patch available | GHSA-wc96-39fc-566f |
- netty Vendornetty Affected 4.2.0.Final to before 4.2.16.Final; before 4.1.136.Final Fixed in 4.2.16.Final, 4.1.136.Final Patch available CNA
- io.netty:netty-handler-ssl-ocsp (Maven) Vendor— Affected 4.2.0.Final to before 4.2.16.Final Fixed in 4.2.16.Final Patch available GHSA-wc96-39fc-566f
- io.netty:netty-handler-ssl-ocsp (Maven) Vendor— Affected before 4.1.136.Final Fixed in 4.1.136.Final Patch available GHSA-wc96-39fc-566f
Remediation
- Fix · CNA netty (netty) Fixed in 4.2.16.Final, 4.1.136.Final
- Fix · GHSA-wc96-39fc-566f io.netty:netty-handler-ssl-ocsp (Maven) Fixed in 4.2.16.Final Advisory →
- Fix · GHSA-wc96-39fc-566f io.netty:netty-handler-ssl-ocsp (Maven) Fixed in 4.1.136.Final Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Data Grid 8 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-56822
- 2026-10-03 Alias added: GHSA-wc96-39fc-566f
References
More Netty vulnerabilities
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2026-30861 Netty: HTTP/1.0 TE+CL Coexistence Bypasses Smuggling Sanitization CVSS 3.1CRITICAL 9.8
- TI-2026-30864 Netty: HttpClientCodec response desynchronization CVSS 3.1CRITICAL 9.1
- TI-2026-30859 Netty: DNS Codec Input Validation Bypass in Netty (Encoder + Decoder) CVSS 3.1CRITICAL 9.1
- TI-2026-40973 Netty: Missing CertificateID Validation in OCSP Response Allows Replay Attacks CVSS 3.1CRITICAL 9.1
- TI-2026-40972 Uncontrolled resource consumption in netty CVSS 3.1HIGH 7.5
Sources
- CVE-2026-56822 · CVE Program
- CVE-2026-56822 · NVD
- FIRST EPSS
- GHSA-wc96-39fc-566f · GitHub Advisory Database · CC BY 4.0
- CVE-2026-56822 · 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