CVE-2026-44890: Netty has Unbounded Direct Memory Consumption in its RedisDecoder

Published Jun 8, 2026
·
Updated

Summary An attacker can cause DoS by sending crafted Redis payloads across multiple connections without \r\n. This exhausts the server's direct memory pool (OutOfDirectMemoryError), preventing legitimate connections from being processed.

Details io.netty.handler.codec.redis.RedisDecoder decodes the length of bulk strings and array headers using the decodeLength method. This method reads bytes from the network until it encounters a \n character. However, it does not enforce any maximum length check while buffering the bytes if the \n character is not found. An attacker can exploit this by sending a continuous stream of digits (e.g., $1111...) without ever sending a \n.

To cause a true Denial of Service, an attacker must open multiple concurrent connections and distribute the unbounded payloads among them.

According to the RESP specification (https://redis.io/docs/latest/develop/reference/protocol-spec/), all parts of the protocol are strictly terminated with \r\n. Furthermore, the length prefix itself is an integer representation that must fit within standard numeric limits (e.g., a 64-bit signed integer). Therefore, a stream of digits exceeding these bounds without \r\n is a protocol violation and should be rejected immediately rather than buffered indefinitely.

Impact Denial of Service due to memory exhaustion. Any application using Netty's RedisDecoder to handle untrusted Redis traffic is vulnerable.

Other sources

Netty is a network application framework for development of protocol servers and clients. In netty-codec-redis prior to versions 4.1.135.Final and 4.2.15.Final, an attacker can cause DoS by sending crafted Redis payloads across multiple connections without \r\n. This exhausts the server's direct memory pool (OutOfDirectMemoryError), preventing legitimate connections from being processed. Versions 4.1.135.Final and 4.2.15.Final patch the issue.

MITRE

Affected Software

5 affected componentsFixes available
maven/io.netty:netty-codec-redis<=4.1.134.Final
4.1.135.Final
maven/io.netty:netty-codec-redis>=4.2.0.Final<=4.2.14.Final
4.2.15.Final
Netty Netty<4.1.135
Netty Netty>=4.2.0<4.2.15
IBM Netezza Software<=11.3.0.3-IF2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/io.netty:netty-codec-redis to a version that resolves this vulnerability.

    Fixed in 4.1.135.Final
  2. Upgrade

    Upgrade maven/io.netty:netty-codec-redis to a version that resolves this vulnerability.

    Fixed in 4.2.15.Final
  3. Upgrade

    Upgrade io.netty:netty-codec-redis to a version that resolves this vulnerability.

    Fixed in 4.1.135.Final
  4. Upgrade

    Upgrade io.netty:netty-codec-redis to a version that resolves this vulnerability.

    Fixed in 4.2.15.Final
  5. Compensating control

    Reject untrusted Redis traffic that violates the protocol termination requirement by ensuring Redis protocol commands/responses are strictly terminated with \r\n; do not allow requests/streams that never send a \n to reach Netty's RedisDecoder (e.g., enforce framing at a proxy/LB/firewall or application-level decoder so payloads lacking \r\n are dropped immediately).

Event History

Jun 8, 2026
Advisory Published
via GitHub·07:02 PM
Data Sourced
via GitHub·07:02 PM
DescriptionSeverityWeaknessAffected Software
Jun 11, 2026
CVE Published
via MITRE·08:52 PM
Data Sourced
via MITRE·08:52 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·10:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
Affected Software
Aug 20, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-44890?

The severity of CVE-2026-44890 is rated as high with a score of 7.5.

2

How do I fix CVE-2026-44890?

To fix CVE-2026-44890, upgrade to a patched version of netty-codec-redis, such as netty 4.1.135.Final or netty 4.2.15.Final.

3

What type of vulnerability is CVE-2026-44890?

CVE-2026-44890 is a denial-of-service (DoS) vulnerability caused by malformed Redis payloads.

4

What impact does CVE-2026-44890 have on my server?

CVE-2026-44890 can exhaust the server's direct memory pool, leading to OutOfDirectMemoryError and preventing legitimate connections.

5

Which software is affected by CVE-2026-44890?

CVE-2026-44890 affects the maven/io.netty:netty-codec-redis library.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203