CVE-2026-42586
HIGH 7.1CVSS 3.1Netty Redis Codec Encoder has a CRLF Injection Issue
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.
- Published
- 13 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-93
- Also known as
- GHSA-rgrr-p7gp-5xj7
- Sources
- NVDJSONOSV GHSA-rgrr-p7gp-5xj7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | netty | nettycpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* |
< 4.1.133 | 4.1.133 |
| NVD | netty | nettycpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.13 | 4.2.13 |
| OSV | Maven | io.netty:netty-codec-redis | >= 4.2.0.Alpha1, < 4.2.13.Final | 4.2.13.Final |
| OSV | Maven | io.netty:netty-codec-redis | < 4.1.133.Final | 4.1.133.Final |
References
- https://github.com/netty/netty/security/advisories/GHSA-rgrr-p7gp-5xj7 · Exploit, Mitigation, Vendor Advisory, WEB
- https://github.com/netty/netty/security/advisories/GHSA-84h7-rjj3-6jx4 · WEB
- https://github.com/netty/netty/security/advisories/GHSA-jq43-27x9-3v86 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42586 · ADVISORY
- https://github.com/netty/netty · PACKAGE
- https://redis.io/docs/reference/protocol-spec · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 13 May 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 May 2026)