Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-56818 EUVD-2026-54558GHSA-p9jm-q85p-7mcp

Netty: RedisArrayAggregator max-elements failure leaves retained partial aggregate state

Published Aug 7, 2026 · Updated Aug 8, 2026 · 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.

Affected products

VendorProductAffectedFixed
netty netty < 4.1.136.Final, >= 4.2.0-Final, < 4.2.16.Final —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 netty No fix yet —
Debian 13 netty No fix yet —
Debian 12 netty No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 netty No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS netty No fix yet —
Ubuntu Pro 24.04 LTS netty No fix yet —
Ubuntu Pro 22.04 LTS netty No fix yet —
Ubuntu Pro 20.04 LTS netty No fix yet —
Ubuntu Pro 18.04 LTS netty No fix yet —
Ubuntu Pro 16.04 LTS netty No fix yet —
Ubuntu Pro 14.04 LTS netty No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 netty 4.1.136-150200.4.53.1 SUSE-SU-2026:3482-1
SLES 15 SP7 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
SLES 15 SP6 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
SLES 15 SP5 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
SLES 15 SP4 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
SLES for SAP 15 SP5 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
SLES for SAP 15 SP4 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
SLE HPC 15 SP5 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
SLE HPC 15 SP4 netty-tcnative 2.0.80-150200.3.48.1 SUSE-SU-2026:3482-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed netty 4.1.136-1.1 openSUSE-SU-2026:11394-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven io.netty:netty-codec-redis < 4.1.136.Final 4.1.136.Final GHSA-p9jm-q85p-7mcp
Maven io.netty:netty-codec-redis >= 4.2.0-Final, < 4.2.16.Final 4.2.16.Final GHSA-p9jm-q85p-7mcp

Advisories 3

References