# CVE-2026-56822: Netty: TOCTOU in OcspServerCertificateValidator

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-22T21:47:41.000Z
- Modified: 2026-09-10T03:51:12.489Z
- Also known as: GHSA-wc96-39fc-566f
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- netty netty: >= 4.2.0.Final, < 4.2.16.Final; < 4.1.136.Final; before 4.1.136; from 4.2.0 before 4.2.16
- io.netty:netty-handler-ssl-ocsp (Maven): from 4.2.0.Final before 4.2.16.Final; before 4.1.136.Final

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/netty/netty/security/advisories/GHSA-wc96-39fc-566f> (exploit, vendor-advisory, web)
- <https://github.com/netty/netty> (package)
- <https://github.com/netty/netty/releases/tag/netty-4.1.136.Final> (web)
- <https://github.com/netty/netty/releases/tag/netty-4.2.16.Final> (web)

## Sources

- CVE List: [CVE-2026-56822](https://www.cve.org/CVERecord?id=CVE-2026-56822), CVE Terms of Use, modified 2026-07-30
- GitHub Advisory Database: [GHSA-wc96-39fc-566f](https://github.com/advisories/GHSA-wc96-39fc-566f), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-56822](https://nvd.nist.gov/vuln/detail/CVE-2026-56822), Public domain, modified 2026-08-07

---

Page: https://cve.day/CVE-2026-56822 · Whole record: https://cve.day/CVE-2026-56822.json · Rebuilt by cve.day 2026-11-25T22:59:30.400Z
