CVE-2026-42586
Netty: CRLF Injection in Netty Redis Codec Encoder
Reported by github_m · Published May 13, 2026
netty-codec-redis is fixed in 4.2.13.Final and 4.1.133.Final (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| io.netty:netty-codec-redis | Maven Central | 4.2.13.Final, 4.1.133.Final |
| pinot-fips | Chainguard | 1.5.0-r10 |
| management-api-for-apache-cassandra-4.1 | Chainguard | 0.1.117-r1 |
| tinkerpop | Chainguard | 3.8.1-r2 |
| apache-hop-fips | Chainguard | 2.17.0-r15 |
| trino | Wolfi | 481-r0 |
| management-api-for-apache-cassandra-5.0 | Wolfi | 0.1.117-r1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| netty | netty | >= 4.2.0.Alpha1, < 4.2.13.Final, < 4.1.133.Final |
| io.netty | netty-codec-redis | >= 4.2.0.Alpha1, < 4.2.13.Final, < 4.1.133.Final |
| chainguard | pinot-fips | 0 |
| chainguard | management-api-for-apache-cassandra-4.1 | 0 |
| chainguard | tinkerpop | 0 |
| chainguard | apache-hop-fips | 0 |
| wolfi | trino | 0 |
| wolfi | management-api-for-apache-cassandra-5.0 | 0 |
| netty | netty | 0, 4.2.0.Alpha1 |
| chainguard | thingsboard | 0 |
| wolfi | celeborn-0.6 | 0 |
| chainguard | apache-hop | 0 |
| chainguard | hadoop-fips-3.5 | 0 |
| chainguard | celeborn-0.5 | 0 |
| chainguard | management-api-for-apache-cassandra-4.0 | 0 |
| chainguard | celeborn-0.6 | 0 |
| wolfi | thingsboard | 0 |
| chainguard | pinot | 0 |
| wolfi | celeborn-0.5 | 0 |
| chainguard | tez | 0 |
…and 8 more
Timeline
- May 5, 2026 CVE Published
- May 8, 2026 Security Advisory (12 in total, the first dated here)
- May 14, 2026 CVE Updated
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Jul 9, 2026 Distribution Patch (11 in total, the first dated here)
- Aug 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-42586
vulnetix vdb fixes CVE-2026-42586
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-42586/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/netty/netty/security/advisories/GHSA-rgrr-p7gp-5xj7 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2026-42586 advisory
- https://github.com/advisories/GHSA-rgrr-p7gp-5xj7 advisory
- https://github.com/netty/netty/security/advisories/GHSA-84h7-rjj3-6jx4 url
- https://github.com/netty/netty/security/advisories/GHSA-jq43-27x9-3v86 url
- https://redis.io/docs/reference/protocol-spec url
- https://github.com/netty/netty url