Netty: 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… (CVE-2026-56821)
Description
The Netty io.netty netty-handler-ssl-ocsp component's OcspServerCertificateValidator improperly handles out-of-date OCSP responses by flagging them but continuing to treat them as valid. This flaw allows an on-path attacker to replay stale but previously valid OCSP responses, bypassing certificate revocation checks. Additionally, nonce validation is disabled by default, and the freshness check may throw exceptions due to null handling issues. Versions prior to 4.1.136.Final and 4.2.16.Final are affected.
CVSS v3.1
Score 7.4high
Affected software
pkg:deb/ubuntu/netty?arch=source&distro=esm-infra-legacy/trustypkg:deb/ubuntu/netty?arch=source&distro=esm-apps-legacy/xenialpkg:deb/ubuntu/netty?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/netty?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/netty?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/netty?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/netty?arch=source&distro=stonkingpkg:deb/ubuntu/netty?arch=source&distro=esm-apps/resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-56821 affects the OcspServerCertificateValidator in the io.netty netty-handler-ssl-ocsp component. The validator flags out-of-date OCSP responses but does not stop processing them, allowing replay of stale yet valid OCSP responses. This bypasses revocation checks for certificates that have been revoked. Nonce validation is off by default, reducing protection against replay attacks. The freshness check may also throw exceptions due to null handling issues. The vulnerability affects Netty versions prior to 4.1.136.Final and 4.2.16.Final, with multiple specific affected versions identified. The CVSS 3.1 score is 7.4 (medium severity), reflecting network attack vector, high complexity, no privileges required, no user interaction, unchanged scope, and high impact on confidentiality and integrity.
Potential Impact
An attacker positioned on the network path can replay stale but previously valid OCSP responses to bypass revocation checks, potentially allowing use of revoked certificates without detection. This undermines the trust model of certificate validation and can lead to unauthorized access or man-in-the-middle attacks. The default off nonce validation further weakens protection against replay attacks. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade to Netty versions 4.1.136.Final or later, or 4.2.16.Final or later, where this issue is fixed. Since this is a software vulnerability, applying the official fix is the recommended mitigation. No vendor advisory content was provided to indicate alternative mitigations or that no action is required. Patch status is not explicitly confirmed in the input but the presence of fixed versions implies an official fix is available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-g7hg-vrcf-mvmr
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-56821"]
- Ecosystems
- ["Maven"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6150d69c2644c7f8da0c27
Added to database: 07/22/2026, 23:23:02 UTC
Last enriched: 10/18/2026, 04:43:37 UTC
Last updated: 10/21/2026, 13:20:22 UTC
Views: 81
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.