# CVE-2026-56818: Netty: RedisArrayAggregator max-elements failure leaves retained partial aggregate state

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-07T17:14:02.356Z
- Modified: 2026-09-23T15:56:16.860Z
- Also known as: GHSA-p9jm-q85p-7mcp
- Weaknesses: CWE-401, CWE-703
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- netty netty: < 4.1.136.Final; >= 4.2.0-Final, < 4.2.16.Final; before 4.1.136; from 4.2.0 before 4.2.16
- io.netty:netty-codec-redis (Maven): before 4.1.136.Final; from 4.2.0-Final before 4.2.16.Final

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`

## References

- <https://github.com/netty/netty/security/advisories/GHSA-p9jm-q85p-7mcp> (exploit, vendor-advisory, web)
- <https://github.com/netty/netty/pull/17065> (issue-tracking, patch, web)
- <https://github.com/netty/netty/commit/5b68c61f37aa4a3045cba624cbea239655c9003b> (patch, web)
- <https://github.com/netty/netty/commit/bb2ff68a1fb71cb4b0eb9a9e17b66c52aff680c6> (patch, web)
- <https://github.com/netty/netty> (package)

## Sources

- CVE List: [CVE-2026-56818](https://www.cve.org/CVERecord?id=CVE-2026-56818), CVE Terms of Use, modified 2026-08-08
- GitHub Advisory Database: [GHSA-p9jm-q85p-7mcp](https://github.com/advisories/GHSA-p9jm-q85p-7mcp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-56818](https://nvd.nist.gov/vuln/detail/CVE-2026-56818), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-56818 · Whole record: https://cve.day/CVE-2026-56818.json · Rebuilt by cve.day 2026-11-25T22:59:31.869Z
