{"id":"CVE-2026-56818","published":"2026-08-07T17:14:02Z","modified":"2026-08-08T03:01:06Z","title":"Netty: RedisArrayAggregator max-elements failure leaves retained partial aggregate state","vendor":"netty","product":"netty","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00473,"percentile":0.33181,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"},{"id":"CWE-703","name":"Improper Check or Handling of Exceptional Conditions"}],"references":[{"url":"https://github.com/netty/netty/security/advisories/GHSA-p9jm-q85p-7mcp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/netty/netty/pull/17065","tags":["x_refsource_MISC"]},{"url":"https://github.com/netty/netty/commit/5b68c61f37aa4a3045cba624cbea239655c9003b","tags":["x_refsource_MISC"]},{"url":"https://github.com/netty/netty/commit/bb2ff68a1fb71cb4b0eb9a9e17b66c52aff680c6","tags":["x_refsource_MISC"]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":6.64},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"netty","affectedVersions":[{"vendor":"netty","product":"netty","versions":["< 4.1.136.Final",">= 4.2.0-Final, < 4.2.16.Final"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-08T03:00:04.843851Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"io.netty:netty-codec-redis","vulnerableRanges":["<4.1.136.Final",">=4.2.0-Final, <4.2.16.Final"],"patched":["4.1.136.Final","4.2.16.Final"],"from":["GHSA-p9jm-q85p-7mcp"],"provenance":"source"}],"summary":{"text":"Netty's RedisArrayAggregator Redis codec, in versions before 4.1.136.Final and 4.2.16.Final, fails to clear retained partial aggregate state when the maxElements limit is exceeded, although it does clear that state for the maxNestedArrayDepth limit. An unauthenticated network peer can exploit this by sending a valid RESP array with a bulk string child followed by a nested array header longer than maxElements, and if the application keeps the channel open after the decoder exception, later messages are consumed into the stale aggregate, pinning retained pooled buffers.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:11Z"},"euvd":{"id":"EUVD-2026-54558","exploited":false,"provenance":"source"}}