CVE Catalog

CVE-2026-42586

MediumCVSS 6.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

12th percentile - higher than 12% of all known CVEs

Summary

Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, the Netty Redis codec encoder (RedisEncoder) writes user-controlled string content directly to the network output buffer without validating or sanitizing CRLF (\r\n) characters. Since the Redis Serialization Protocol (RESP) uses CRLF as the command/response delimiter, an attacker who can control the content of a Redis message can inject arbitrary Redis commands or forge fake responses. This vulnerability is fixed in 4.2.13.Final and 4.1.133.Final.

Risk Assessment

The vulnerability enables Redis command injection or response forgery, which can lead to unauthorized data operations, bypassing access controls, or communication poisoning. It is especially relevant for applications using Netty as a Redis client with user-supplied data.

Recommendation

Update Netty to version 4.2.13.Final or 4.1.133.Final (or later). Additionally, validate user input before passing it to the Redis encoder.

Other vulnerabilities in Netty

See all
Original NVD description (English source)

Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, the Netty Redis codec encoder (RedisEncoder) writes user-controlled string content directly to the network output buffer without validating or sanitizing CRLF (\r\n) characters. Since the Redis Serialization Protocol (RESP) uses CRLF as the command/response delimiter, an attacker who can control the content of a Redis message can inject arbitrary Redis commands or forge fake responses. This vulnerability is fixed in 4.2.13.Final and 4.1.133.Final.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS