CVE-2026-42586
MEDIUM6.8EPSS 0.01%Netty Redis Codec Encoder has a CRLF Injection Issue
Published: 5/7/2026Modified: 5/19/2026
Also known as:DEBIAN-CVE-2026-42586
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.
Affected packages (2)
- Debian/nettyfrom 0
- Maven/io.netty:netty-codec-redis>= 4.2.0.Alpha1, < 4.2.13.Final
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-42586
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-42586
- PATCHhttps://github.com/netty/netty
- WEBhttps://github.com/netty/netty/security/advisories/GHSA-84h7-rjj3-6jx4
- WEBhttps://github.com/netty/netty/security/advisories/GHSA-jq43-27x9-3v86
- WEBhttps://github.com/netty/netty/security/advisories/GHSA-rgrr-p7gp-5xj7
- WEBhttps://redis.io/docs/reference/protocol-spec