CVE-2026-56818
Description
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.
Weakness
- CWE-401: Missing Release of Memory after Effective Lifetime
- CWE-703: Improper Check or Handling of Exceptional Conditions
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-08-08 |
Timeline
- 2026-08-07Published by the CNA17:14 UTC
- 2026-08-07GitHub advisory published (GHSA-p9jm-q85p-7mcp)same day
- 2026-08-08CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-p9jm-q85p-7mcp, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven io.netty:netty-codec-redis | before 4.1.136.Final | 4.1.136.Final |
| Maven io.netty:netty-codec-redis | from 4.2.0-Final before 4.2.16.Final | 4.2.16.Final |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| netty netty | before 4.1.136fixed in 4.1.136from 4.2.0 before 4.2.16fixed in 4.2.16 | 4.1.1364.2.16 |
References
- https://github.com/netty/netty/commit/5b68c61f37aa4a3045cba624cbea239655c9003b
- https://github.com/netty/netty/commit/bb2ff68a1fb71cb4b0eb9a9e17b66c52aff680c6
- https://github.com/netty/netty/pull/17065
- https://github.com/netty/netty/security/advisories/GHSA-p9jm-q85p-7mcp
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-56818'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-56818'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-56818'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-56818'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).