CVE-2026-42586Netty: CRLF Injection in Netty Redis Codec Encoder
Description
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| io.netty | netty-codec-redis | >= 4.2.0.Alpha1, < 4.2.13.Final, < 4.1.133.Final | |
| netty | netty | >= 4.2.0.Alpha1, < 4.2.13.Final, < 4.1.133.Final |
References and patches
- https://github.com/netty/netty/security/advisories/GHSA-rgrr-p7gp-5xj7 ExploitMitigationVendor Advisory
CPE matches (NVD) (2)
cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*< 4.1.133cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*≥ 4.2.0 < 4.2.13