# CVE-2026-42586: Netty: CRLF Injection in Netty Redis Codec Encoder

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-07T00:24:08.000Z
- Modified: 2026-10-26T17:10:03.270Z
- Also known as: GHSA-rgrr-p7gp-5xj7
- Weaknesses: CWE-93
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- netty netty: >= 4.2.0.Alpha1, < 4.2.13.Final; < 4.1.133.Final; before 4.1.133; from 4.2.0 before 4.2.13
- io.netty netty-codec-redis: >= 4.2.0.Alpha1, < 4.2.13.Final; < 4.1.133.Final
- io.netty:netty-codec-redis (Maven): from 4.2.0.Alpha1 before 4.2.13.Final; before 4.1.133.Final

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## 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)

## Sources

- CVE List: [CVE-2026-42586](https://www.cve.org/CVERecord?id=CVE-2026-42586), CVE Terms of Use, modified 2026-05-14
- GitHub Advisory Database: [GHSA-rgrr-p7gp-5xj7](https://github.com/advisories/GHSA-rgrr-p7gp-5xj7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-42586](https://nvd.nist.gov/vuln/detail/CVE-2026-42586), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42586 · Whole record: https://cve.day/CVE-2026-42586.json · Rebuilt by cve.day 2026-11-25T22:59:21.646Z
