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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-07 · Modified: 2026-08-08
- Aliases: UBUNTU-CVE-2026-56818, DEBIAN-CVE-2026-56818, CGA-355f-m7wm-729r, CGA-3mrp-jgcv-8r5r, CGA-47h8-vxh8-63fj, CGA-4g9w-2wv7-gmv3, CGA-4mwp-cxh2-jv52, CGA-53h7-mqhr-5r3q, CGA-5m87-6j4j-rq43, CGA-5x79-cgv7-hf2g, CGA-663v-6465-85q3, CGA-72vf-p26v-fc76, CGA-74wm-xh9x-w47p, CGA-793x-qj6v-52f8, CGA-83x7-4cf6-q568, CGA-84xq-qg4h-hcq8, CGA-876w-gpj2-m8g7, CGA-c3wh-352q-p4rf, CGA-c4q7-4jxw-8246, CGA-f4p5-fc7f-pr48, CGA-fr35-v2h2-c5cq, CGA-gc56-4p55-9hq4, CGA-gq5x-p6gj-87v2, CGA-hpmv-wpvw-mgw6, CGA-hwr3-xx46-cxf9, CGA-jcq3-x4m2-62g2, CGA-jcwq-4rg5-7cr4, CGA-jj6m-7fcc-2ch5, CGA-jw7j-wmg2-qq2p, CGA-p272-pgvp-wf7x, CGA-pg3c-7667-3p24, GHSA-p9jm-q85p-7mcp, CGA-qh69-4rgr-2p2j, CGA-qp5v-5v98-p6jv, CGA-qqq5-j272-r3hj, CGA-qvcr-w8w4-5fgm, CGA-r4qg-prqh-m8q4, CGA-r6g3-38v6-9h86, CGA-v4hm-r6mw-jwh7, CGA-v9q2-q9ww-wmc8, CGA-vg82-cf23-5g57, CGA-xf53-vp95-cghw, CGA-xj4w-4fj2-9c62, CGA-2gf5-v6xg-q7c6, CGA-7j8m-fj65-mg3q, CGA-fgpr-mxcr-9q6r, CGA-qccp-c3qp-cwr2, CGA-m77w-m3fm-77f4, CGA-cjh8-48hc-gqjv, CGA-jcx6-qpp5-3h7r, CGA-52rw-gmw3-phpm, CGA-6r65-6qhc-58wh, CGA-jfvv-7crj-rx8h, CGA-jpg6-x97q-gj7x, CGA-p3vr-8pqj-x295, CGA-5ggx-x4m5-wq28, CGA-xwrv-28r3-57jp, CGA-7hwp-rchp-h45g, CGA-cmrq-c58r-g3qf
- Record: https://cvemate.com/vulnerability/CVE-2026-56818 · JSON: https://cvemate.com/vulnerability/CVE-2026-56818/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- EPSS: 0.288%, percentile 22.903%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard gremlin-server (Chainguard): \< 3.8.1-r2
- chainguard hadoop-3.5 (Chainguard): All versions (No fix recorded)
- chainguard hadoop-fips-3.3.6 (Chainguard): All versions (No fix recorded)
- chainguard hadoop-fips-3.4.2 (Chainguard): All versions (No fix recorded)
- chainguard hadoop-fips-3.5 (Chainguard): \< 3.5.0-r3 \| \< 3.5.0-r33 \| All versions (No fix recorded)
- chainguard pinot (Chainguard): \< 1.5.1-r12
- chainguard ranger (Chainguard): All versions (No fix recorded)
- chainguard starrocks-be-3.5-connector-kudu (Chainguard): All versions (No fix recorded) \| \< 3.5.21-r4
- chainguard starrocks-be-4.0-connector-kudu (Chainguard): All versions (No fix recorded) \| \< 4.0.17-r4
- chainguard starrocks-be-4.1-connector-kudu (Chainguard): All versions (No fix recorded) \| \< 4.1.8-r1
- chainguard starrocks-be-fips-4.1-connector-kudu (Chainguard): \< 4.1.8-r1
- chainguard starrocks-fe-3.5 (Chainguard): All versions (No fix recorded) \| \< 3.5.21-r1
- chainguard starrocks-fe-4.0 (Chainguard): All versions (No fix recorded)
- chainguard starrocks-fe-4.1 (Chainguard): All versions (No fix recorded) \| \< 4.1.7-r1
- debian netty (Debian): All versions (No fix recorded)
- ubuntu netty (Ubuntu): All versions (No fix recorded)
- io.netty netty-codec-redis (Maven): \< 4.1.136.Final \| ≥ 4.2.0-Final, \< 4.2.16.Final
- netty netty: \< 4.1.136.Final \| ≥ 4.2.0-Final, \< 4.2.16.Final \| \< 4.1.136 \| ≥ 4.2.0, \< 4.2.16

## References

- <https://github.com/netty/netty/security/advisories/GHSA-p9jm-q85p-7mcp>
- <https://github.com/netty/netty/pull/17065>
- <https://github.com/netty/netty/commit/5b68c61f37aa4a3045cba624cbea239655c9003b>
- <https://github.com/netty/netty/commit/bb2ff68a1fb71cb4b0eb9a9e17b66c52aff680c6>
- <https://ubuntu.com/security/CVE-2026-56818>
- <https://www.cve.org/CVERecord?id=CVE-2026-56818>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2507476>
- <https://security-tracker.debian.org/tracker/CVE-2026-56818>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56818.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-56818>
- <https://github.com/netty/netty>

---

Data as of 2026-12-05T06:22:28.984Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
