CVE-2026-56822 json
Netty: TOCTOU in OcspServerCertificateValidator
published 2026-07-22 3 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-50091 , GHSA-wc96-39fc-566f
- cvss
- 7.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
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.
Patch / fix
- maven io.netty:netty-handler-ssl-ocsp 4.1.136.Final, 4.2.16.Final
- io.netty netty-handler-ssl-ocsp 4.1.136.Final, 4.2.16.Final
- netty netty 4.1.136.Final, 4.2.16.Final
- netty-tcnative SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 2.0.80-150200.3.48.1
- netty SLE Module for Package Hub 15 SP7 4.1.136-150200.4.53.1
suse advisories SUSE-SU-2026:3482-1
- netty openSUSE Tumbleweed 4.1.136-1.1
opensuse advisories openSUSE-SU-2026:11394-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-56822 updated cvss 7.4
io.netty/netty-handler-ssl-ocsp: Netty: Time-of-check/time-of-use in netty-handler-ssl-ocsp
-
Red Hat build of Apache Camel for Spring Boot 4 netty-handler-ssl-ocsp 4.1.135.Final-redhat-00001 Red Hat Data Grid 8 netty-handler-ssl-ocsp 4.1.135.Final-redhat-00001 Red Hat JBoss Enterprise Application Platform Expansion Pack netty-handler-ssl-ocsp 4.1.135.Final-redhat-00001affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 3 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/netty/netty/security/advisories/GHSA-wc96-39fc-566f referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | io.netty:netty-handler-ssl-ocsp | >=4.2.0.Final, <4.2.16.Final <4.1.136.Final |
4.2.16.Final 4.1.136.Final |
Affected products
- netty netty
Classification
- Weakness
-
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
Sources
- CVE List CVE-2026-56822
- GitHub Advisory GHSA-wc96-39fc-566f
- NVD CVE-2026-56822
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.