ZeroHour

CVE-2026-56821

PoC moderate

OCSP revocation bypass via replay of expired responses in Netty

CVSS 3.1
7.4 high
EPSS
<1%p6
Published
()
Modified
AI analysis

Netty's OcspServerCertificateValidator (CWE-299, improper certificate revocation check) detects when a received OCSP response is out of date but does not stop processing it, so an expired 'GOOD' OCSP response is still reported as VALID. An attacker positioned on the network path (man-in-the-middle) can replay a stale 'GOOD' response for a certificate that has since been revoked, and the application accepts the now-revoked certificate because the validation logic treats the replayed response as valid. The attacker gains a bypass of certificate revocation checks — for example, a certificate revoked after key compromise could still be used to impersonate the legitimate service — with high impact on confidentiality and integrity (CVSS 3.1: 7.4, high) and no availability impact. Any application embedding Netty before 4.1.136.Final or 4.2.16.Final and using OcspServerCertificateValidator is affected; deployments that do not use this validator are not exposed to this flaw. No in-the-wild exploitation is reported: the flaw is documented in a public GitHub security advisory, it is not in CISA KEV, and EPSS estimates only a 0.2% chance of exploitation within 30 days.

What to do: Upgrade to Netty 4.1.136.Final (4.1.x line) or 4.2.16.Final (4.2.x line), which correctly reject out-of-date OCSP responses. Audit your TLS client configuration for use of OcspServerCertificateValidator — applications that do not use this validator are not affected. Until you can upgrade, consider disabling OCSP stapling via the validator as an interim mitigation.

Affected
nettyAll versions prior to 4.1.136.Final and all versions prior to 4.2.16.Final (fixed in 4.1.136.Final and 4.2.16.Final)
Estimated exposure
moderatelikely thousands of applications (a small opt-in subset of Netty's multi-million-application Java installed base) — Netty is one of the most widely embedded Java networking libraries, but OcspServerCertificateValidator is an optional OCSP-stapling component that most deployments never enable and no public usage counts exist, so the plausibly affected…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Netty is an asynchronous, event-driven network application framework. Prior to versions 4.1.136.Final and 4.2.16.Final, the OcspServerCertificateValidator flags an out-of-date OCSP response but does not stop processing it, so an expired GOOD response is still reported as VALID, letting an on-path attacker replay a stale GOOD response to bypass revocation of a since-revoked certificate. Exploitation can lead to certificate revocation bypass via replay of an expired OCSP response. Any application using OcspServerCertificateValidator is affected; a revoked certificate can be accepted. This issue has been fixed in versions 4.1.136.Final and 4.2.16.Final.

Vendors
netty
Products
netty
Weakness
CWE-299
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

In the news

No ingested article mentions this CVE yet.