medium6.8
CVE-2026-42586
Netty is an asynchronous, event-driven network application framework.
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | io.netty:netty-codec-redis | >= 4.2.0.Alpha1, <= 4.2.12.Final | 4.2.13.Final |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Netty | Netty | before 4.1.133 from 4.2.0 before 4.2.13 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-rgrr-p7gp-5xj7
- https://github.com/netty/netty/security/advisories/GHSA-84h7-rjj3-6jx4
- https://github.com/netty/netty/security/advisories/GHSA-jq43-27x9-3v86
- https://github.com/netty/netty/security/advisories/GHSA-rgrr-p7gp-5xj7
- https://redis.io/docs/reference/protocol-spec
- https://nvd.nist.gov/vuln/detail/CVE-2026-42586