CVE-2026-42586
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.
- CVSS 3.1
- 7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - EPSS
- 0.2% chance of exploitation in the next 30 days; higher than 12% of CVEs (scores of 2026-10-25)
- CWE
- CWE-93
- Published
- Modified
- Record from
- the NVD, synced
Affected
- netty:netty
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-rgrr-p7gp-5xj7 | Maven | io.netty:netty-codec-redis | >=4.2.0.Alpha1 <4.2.13.Final | 4.2.13.Final |
| GHSA-rgrr-p7gp-5xj7 | Maven | io.netty:netty-codec-redis | <4.1.133.Final | 4.1.133.Final |