Skip to main content

Netty CVE-2026-56820

CRITICAL
Improper Certificate Validation (CWE-295)
2026-07-21 security-advisories@github.com GHSA-272m-gcwp-mpwg
9.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid same-CA certificate
  2. Delivery
    Fetch signed GOOD OCSP response
  3. Exploit
    Position as MITM for revoked cert
  4. Execution
    Replay GOOD response to Netty client
  5. Persist
    CertificateID mismatch ignored
  6. Impact
    Revoked certificate accepted as valid

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
Exploitation Conditions

Exploitation requires that the target application uses Netty's OcspClient (netty-handler-ssl-ocsp) to perform OCSP revocation checks, and that the attacker (1) possesses a valid, non-revoked certificate issued by the SAME CA as the certificate being validated and (2) can obtain a legitimately CA-signed GOOD OCSP response for that unrelated certificate. The attacker must also be able to deliver that response to the Netty client during its validation flow, which in practice means occupying a man-in-the-middle or malicious-server position for the target certificate they wish to have wrongly accepted. Limiting factors: the OcspClient feature must be actively in use (it is optional and not enabled by default in most deployments), both certificates must share one issuing CA, and the attack only defeats revocation status - it does not by itself forge signatures or break TLS key exchange, so its payoff depends on the attacker already holding a revoked/compromised certificate they want honored.

Impact

The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, 9.1) rates this critical, but that AC:L likely overstates ease: a successful replay requires the attacker to already possess a valid non-revoked certificate from the same CA AND to be positioned to serve the forged OCSP response to the target (typically a man-in-the-middle or malicious-server role), which is meaningful added complexity - hence my independent assessment lowers complexity to AC:H. SSVC signals (Exploitation: PoC, Automatable: yes, Technical Impact: total) and the confirmed public PoC raise attention, yet EPSS is only 0.30% (22nd percentile) and there is no CISA KEV listing, consistent with a defense-weakening bug rather than a directly wormable RCE. This is a real, prioritize-if-you-use-OCSP issue - it silently defeats revocation checking, a security control - but its practical exploitability is gated by the same-CA-certificate and interception prerequisites, so it is not a mass-exploitation, high-EPSS emergency. Note the conflict to verify: the vendor rates AC:L while the described attack implies a privileged network position and cert-possession requirement.

Exploit ScenarioDerived

An attacker who legitimately obtains any non-revoked certificate from CA X (e.g., their own domain cert) queries that CA and captures a signed GOOD OCSP response for it. When a Netty-based client later checks the status of a different, revoked certificate also issued by CA X - such as a stolen or compromised server certificate the attacker is presenting during a man-in-the-middle - the attacker returns the captured GOOD response; Netty validates the signature, ignores the mismatched CertificateID, and accepts the revoked certificate. A working PoC (OcspClientTest.testCertIdBypass) is published in the GHSA advisory.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 30, 2026

Certificate revocation-check bypass in the Netty network framework's OCSP client (io.netty:netty-handler-ssl-ocsp) affects versions 4.2.0.Final through 4.2.15.Final and all releases prior to 4.1.136.Final, where OcspClient.validateResponse never confirms that the CertificateID in an OCSP response matches the certificate being validated. An attacker holding any valid, non-revoked certificate from the same issuing CA can obtain a legitimately signed GOOD response and replay it to make Netty accept a revoked or compromised certificate as valid. Publicly available exploit code exists (a PoC test case in the GHSA advisory), but there is no public exploit identified as being used in active attacks and EPSS risk is low (0.30%, 22nd percentile).

Earlier versions of this analysis (1)
v1 Jul 22, 2026 - 00:32 CVSS 7.4

OCSP revocation-check bypass in the Netty networking framework (4.1.x prior to 4.1.135.Final and 4.2.0.Final–4.2.15.Final) allows an attacker to have a revoked TLS certificate treated as valid. OcspClient.validateResponse does not verify that the CertificateID in an OCSP response matches the requested certificate, so a legitimately CA-signed 'GOOD' response for any unrelated certificate from the same issuing CA is accepted, defeating revocation checking. There is no public exploit identified at time of analysis and it is not in CISA KEV; CVSS is 7.4 with high attack complexity.

RemediationAI

Vendor-released patch: upgrade to Netty 4.1.136.Final (for 4.1.x users) or 4.2.16.Final (for 4.2.x users), which add the missing CertificateID equality check in OcspClient.validateResponse; release notes are at https://github.com/netty/netty/releases/tag/netty-4.1.136.Final and https://github.com/netty/netty/releases/tag/netty-4.2.16.Final and the advisory is GHSA-272m-gcwp-mpwg. If you cannot immediately upgrade, the most effective compensating control is to stop relying on Netty's OcspClient as the sole revocation mechanism - for example disable OCSP-response-based validation in this component and instead enforce revocation via a hardened external verifier or short-lived certificates, accepting that this removes stapled-OCSP checking entirely. Where OCSP must remain enabled, restrict trust to CAs you fully control so an attacker cannot readily obtain a same-CA sibling certificate, understanding this narrows but does not eliminate the replay window. Patch refs: commits 5b68c61f37aa4a3045cba624cbea239655c9003b and bb2ff68a1fb71cb4b0eb9a9e17b66c52aff680c6.

Affected Packages

maven io.netty:netty-handler-ssl-ocsp fix: 4.1.136.Final, 4.2.16.Final

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in maven

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in Netty's TLS/OCSP stapling client, io.netty.handler.ssl.ocsp.OcspClient. OCSP (RFC 6960) lets a client query a CA's responder for the live revocation status of a specific certificate, identified by a CertificateID composed of the issuer name hash, issuer key hash, and the certificate serial number. Netty correctly builds the request from the victim certificate's serial and issuer hash and correctly verifies that the returned BasicOCSPResp is signed by the trusted issuer or a valid responder chain - but it omits step 1 of RFC 6960 §3.2, which requires the client to confirm the CertificateID in the response corresponds to the one in the request. This is a textbook CWE-295 (Improper Certificate Validation) root cause: a cryptographically valid signature is treated as sufficient while the binding between the response and the specific certificate is left unchecked, so any same-CA GOOD response satisfies the check. Affected artifacts per CPE are cpe:2.3:a:netty:netty across the affected ranges, specifically the netty-handler-ssl-ocsp Maven module.

Know when Netty gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY HIGH
NVD 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

Network-reachable and unauthenticated (AV:N/PR:N/UI:N), but replay needs a same-CA certificate plus an interception position, raising complexity to AC:H; accepting a revoked cert enables impersonation, so C:H/I:H, A:N.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Red Hat 7.4 HIGH

Primary rating from Vendor (github).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
Severity Changed
Jul 30, 2026 - 14:52 NVD
HIGH CRITICAL
CVSS changed
Jul 30, 2026 - 14:52 NVD
7.4 (HIGH) 9.1 (CRITICAL)
CVE Published
Jul 21, 2026 - 23:17 cve.org
HIGH 7.4

DescriptionNVD

Netty is a network application framework for development of protocol servers and clients. In versions 4.2.0.Final through 4.2.15.Final and prior to 4.1.135.Final, OcspClient does not validate that the CertificateID in an OCSP response matches the requested CertificateID, which can lead to replay attack. OcspClient.validateResponse accepts a legitimately signed GOOD status response for an unrelated certificate issued by the same CA, allowing bypass of revocation checks for another certificate. This issue is fixed in versions 4.1.136.Final and 4.2.16.Final.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 74 maven packages depend on io.netty:netty-handler-ssl-ocsp (2 direct, 72 indirect)

Ecosystem-wide dependent count for version 4.2.0.Final.

Executive ViewAI

Why It Matters

Netty network framework versions 4.2.0.Final through 4.2.15.Final and all 4.1.x releases prior to 4.1.136.Final contain a critical certificate revocation check bypass that allows attackers holding valid certificates from the same CA to replay OCSP responses and bypass certificate validation. This threatens the confidentiality and integrity of all Java applications using Netty for TLS/SSL communications and enables attackers to impersonate legitimate services.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
Netty is ubiquitous, but its optional OCSP client module is rarely enabled
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

66
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)NVD

cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*
cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*

More in Netty

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2019-16869 HIGH POC
7.5 Sep 26

Netty before 4.1.42.Final mishandles whitespace before the colon in HTTP headers (such as a "Transfer-Encoding : chunked

CVE-2024-36121 CRITICAL POC
9.1 Jun 04

netty-incubator-codec-ohttp is the OHTTP implementation for netty. Rated critical severity (CVSS 9.1), this vulnerabilit

CVE-2024-40642 HIGH POC
8.1 Jul 18

The netty incubator codec.bhttp is a java language binary http parser. Rated high severity (CVSS 8.1), this vulnerabilit

CVE-2025-24970 HIGH POC
7.5 Feb 10

Netty, an asynchronous, event-driven network application framework, has a vulnerability starting in version 4.1.91.Final

CVE-2026-59902 HIGH POC
7.5 Aug 17

Memory exhaustion in Netty's SctpMessageCompletionHandler (netty-transport-sctp) allows unauthenticated remote peers to

CVE-2026-55833 HIGH POC
7.5 Jul 20

Compression-amplification denial of service in the Netty network framework (versions prior to 4.1.136.Final and 4.2.16.F

CVE-2026-55831 HIGH POC
7.5 Jul 20

Memory-amplification denial of service in the Netty network framework (SPDY/3.1 codec) prior to 4.1.136.Final and 4.2.16

CVE-2026-56816 HIGH POC
7.5 Jul 21

Memory-exhaustion denial of service in Netty's HTTP/3 codec (Http3FrameCodec) affects all releases prior to 4.2.16.Final

CVE-2026-59903 HIGH POC
7.5 Aug 17

Netty's HTTP CORS handler silently rewrites the Vary response header to Vary: Origin in releases before 4.1.137.Final an

CVE-2026-48748 HIGH POC
7.5 Jun 12

Denial of service in the Netty HTTP/3 codec (io.netty:netty-codec-http3) prior to version 4.2.15.Final allows remote una

CVE-2026-50011 HIGH POC
7.5 Jun 12

Denial of service in Netty's io.netty:netty-codec-redis component (prior to 4.1.135.Final and 4.2.15.Final) allows remot

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Development Tools 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy