Bug 2588739 (CVE-2026-142447) - CVE-2026-142447 io.netty/netty-handler-ssl-ocsp: Netty: OcspServerCertificateValidator still delivers buffered data from a revoked peer after OCSP fails
Summary: CVE-2026-142447 io.netty/netty-handler-ssl-ocsp: Netty: OcspServerCertificate...
Keywords:
Status: NEW
Alias: CVE-2026-142447
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-02 16:50 UTC by OSIDB Bzimport
Modified: 2026-12-02 17:35 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-02 16:50:08 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.