Fedora Account System
Red Hat Associate
Red Hat Customer
OcspServerCertificateValidator in netty-handler-ssl-ocsp is meant to hold back application data until OCSP confirms the peer certificate is valid. The earlier fix for CVE-2026-56822 changed the handler to extend ByteToMessageDecoder, which buffers inbound data while the OCSP query is in flight. However, once the query completes, the handler is always removed from the pipeline, even when the certificate status is not valid. Removal causes ByteToMessageDecoder to flush the buffered bytes to the next handler. When the status is REVOKED and closeAndThrowIfNotValid is true (the default), the channel close is processed asynchronously. The buffered data from the revoked peer is therefore delivered to downstream handlers before the channel-inactive event fires. A server presenting a revoked certificate can thus still deliver the first application data it sends after the TLS handshake, such as an SMTP, FTP, IMAP or POP3 banner or other early responses, into the client's pipeline. This bypasses the fail-closed behavior that clients enabled the validator to obtain, and allows a revoked certificate to be used in a man-in-the-middle attack. This is an incomplete fix for CVE-2026-56822. This affects users of netty-handler-ssl-ocsp that install OcspServerCertificateValidator on client pipelines, in versions up to and including 4.1.138.Final and from 4.2.0.Final through 4.2.18.Final. The default configuration (closeAndThrowIfNotValid=true) is affected. The issue is fixed in 4.1.139.Final and 4.2.19.Final. Affected versions: >= 4.2.0.Final, <= 4.2.18.Final; <= 4.1.138.Final Patched versions: 4.2.19.Final; 4.1.139.Final CVSS: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N (8.3) CWE: CWE-367 Upstream advisory: https://github.com/netty/netty/security/advisories/GHSA-m3w2-2657-46g8 CVE requested by the Netty Project via PSIRTSUPT-32166.