Netty: RedisArrayAggregator max-elements failure leaves retained partial aggregate state
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Partial Red Hat: 5 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-401.
Summary
Netty is an asynchronous, event-driven network application framework. Prior to 4.1.136.Final and 4.2.16.Final, the RedisArrayAggregator Redis codec clears retained partial aggregate state when the maxNestedArrayDepth limit is exceeded, but it does not clear the same state when the sibling maxElements limit is exceeded. A peer can start a valid RESP array, send a bulk string child, then send a nested array header longer than the configured maxElements. Netty throws a decoder exception in decodeRedisArrayHeader, but the existing partial aggregate remains retained in the handler. If the application leaves the channel alive after the exception, later messages are still consumed into the pre-error aggregate, allowing an unauthenticated peer to keep attacker-controlled aggregate state alive across a security-limit exception and pin retained pooled buffers. This issue is fixed in versions 4.1.136.Final and 4.2.16.Final.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| netty | netty | before 4.1.136.Final; 4.2.0-Final to before 4.2.16.Final | 4.1.136.Final, 4.2.16.Final | Patch available | CNA |
| — | io.netty:netty-codec-redis (Maven) | before 4.1.136.Final | 4.1.136.Final | Patch available | GHSA-p9jm-q85p-7mcp |
| — | io.netty:netty-codec-redis (Maven) | 4.2.0-Final to before 4.2.16.Final | 4.2.16.Final | Patch available | GHSA-p9jm-q85p-7mcp |
- netty Vendornetty Affected before 4.1.136.Final; 4.2.0-Final to before 4.2.16.Final Fixed in 4.1.136.Final, 4.2.16.Final Patch available CNA
- io.netty:netty-codec-redis (Maven) Vendor— Affected before 4.1.136.Final Fixed in 4.1.136.Final Patch available GHSA-p9jm-q85p-7mcp
- io.netty:netty-codec-redis (Maven) Vendor— Affected 4.2.0-Final to before 4.2.16.Final Fixed in 4.2.16.Final Patch available GHSA-p9jm-q85p-7mcp
Remediation
- Fix · CNA netty (netty) Fixed in 4.1.136.Final, 4.2.16.Final
- Fix · GHSA-p9jm-q85p-7mcp io.netty:netty-codec-redis (Maven) Fixed in 4.1.136.Final Advisory →
- Fix · GHSA-p9jm-q85p-7mcp io.netty:netty-codec-redis (Maven) Fixed in 4.2.16.Final Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Data Grid 8 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | Affected | No fix yet: Fix deferred |
| Red Hat Single Sign-On 7 | Affected | No fix planned: Out of support scope |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-56818
- 2026-10-03 Alias added: GHSA-p9jm-q85p-7mcp
References
Patch 3
More Netty vulnerabilities
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2026-30861 Netty: HTTP/1.0 TE+CL Coexistence Bypasses Smuggling Sanitization CVSS 3.1CRITICAL 9.8
- TI-2026-30864 Netty: HttpClientCodec response desynchronization CVSS 3.1CRITICAL 9.1
- TI-2026-30859 Netty: DNS Codec Input Validation Bypass in Netty (Encoder + Decoder) CVSS 3.1CRITICAL 9.1
- TI-2026-40973 Netty: Missing CertificateID Validation in OCSP Response Allows Replay Attacks CVSS 3.1CRITICAL 9.1
- TI-2026-40972 Uncontrolled resource consumption in netty CVSS 3.1HIGH 7.5
Sources
- CVE-2026-56818 · CVE Program
- CVE-2026-56818 · NVD
- FIRST EPSS
- GHSA-p9jm-q85p-7mcp · GitHub Advisory Database · CC BY 4.0
- CVE-2026-56818 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences