Io.netty:netty handler ssl ocsp: Netty: Out-of-date OCSP Responses Accepted by OcspServerCertificateValidator (CVE-2026-56821)
The io.netty netty-handler-ssl-ocsp component's OcspServerCertificateValidator improperly processes out-of-date OCSP responses by flagging them but continuing to treat them as valid. This allows an on-path attacker to replay stale but previously valid OCSP responses, bypassing revocation checks for certificates that have since been revoked. Additionally, nonce validation is off by default, and the freshness check may throw exceptions due to null handling issues.
AI Analysis
Technical Summary
The vulnerability in io.netty.handler.ssl.ocsp.OcspServerCertificateValidator arises because the freshness check for OCSP responses does not halt processing when an out-of-date response is detected. Specifically, the method userEventTriggered logs an exception for stale OCSP responses but still fires a VALID OcspValidationEvent, effectively accepting expired GOOD responses. Since nonce validation is optional and disabled by default, the freshness check is the primary defense against replay attacks, but it is not enforced. Furthermore, the code may throw a NullPointerException if getNextUpdate() returns null. This flaw enables an attacker positioned on the network path to replay stale but valid OCSP responses, bypassing certificate revocation mechanisms.
Potential Impact
An attacker with network access can replay expired but previously valid OCSP responses, causing the system to incorrectly treat revoked certificates as valid. This undermines the certificate revocation checking process, potentially allowing the use of revoked certificates for malicious purposes. There is no indication of known exploits in the wild. The vulnerability affects the integrity and trustworthiness of SSL/TLS certificate validation in affected versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider enabling nonce validation if possible to strengthen replay protection. Monitor vendor channels for updates addressing this issue. Avoid relying solely on the freshness check for OCSP response validation due to its current ineffective enforcement.
Io.netty:netty handler ssl ocsp: Netty: Out-of-date OCSP Responses Accepted by OcspServerCertificateValidator (CVE-2026-56821)
Description
The io.netty netty-handler-ssl-ocsp component's OcspServerCertificateValidator improperly processes out-of-date OCSP responses by flagging them but continuing to treat them as valid. This allows an on-path attacker to replay stale but previously valid OCSP responses, bypassing revocation checks for certificates that have since been revoked. Additionally, nonce validation is off by default, and the freshness check may throw exceptions due to null handling issues.
CVSS v3.1
Affected software
Run 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
The vulnerability in io.netty.handler.ssl.ocsp.OcspServerCertificateValidator arises because the freshness check for OCSP responses does not halt processing when an out-of-date response is detected. Specifically, the method userEventTriggered logs an exception for stale OCSP responses but still fires a VALID OcspValidationEvent, effectively accepting expired GOOD responses. Since nonce validation is optional and disabled by default, the freshness check is the primary defense against replay attacks, but it is not enforced. Furthermore, the code may throw a NullPointerException if getNextUpdate() returns null. This flaw enables an attacker positioned on the network path to replay stale but valid OCSP responses, bypassing certificate revocation mechanisms.
Potential Impact
An attacker with network access can replay expired but previously valid OCSP responses, causing the system to incorrectly treat revoked certificates as valid. This undermines the certificate revocation checking process, potentially allowing the use of revoked certificates for malicious purposes. There is no indication of known exploits in the wild. The vulnerability affects the integrity and trustworthiness of SSL/TLS certificate validation in affected versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider enabling nonce validation if possible to strengthen replay protection. Monitor vendor channels for updates addressing this issue. Avoid relying solely on the freshness check for OCSP response validation due to its current ineffective enforcement.
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: 07/22/2026, 23:30:30 UTC
Last updated: 07/22/2026, 23:30:30 UTC
Views: 2
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.