Vulnerability · Published May 13, 2026 · Assigned by GitHub_M

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

Medium 6.8

In plain English

A medium-severity security flaw in netty-codec-redis from io.netty. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)0.2%top 87.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12nettyno fix listedDEBIAN-CVE-2026-42586
Debian:13nettyno fix listedDEBIAN-CVE-2026-42586
Debian:14nettyno fix listedDEBIAN-CVE-2026-42586
Mavenio.netty:netty-codec-redis4.1.133.FinalGHSA-rgrr-p7gp-5xj7
Mavenio.netty:netty-codec-redis4.2.13.FinalGHSA-rgrr-p7gp-5xj7
Ubuntu:25.10nettyno fix listedUBUNTU-CVE-2026-42586
Ubuntu:26.10nettyno fix listedUBUNTU-CVE-2026-42586

Affected products (as reported)

VendorProductVersions
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

Weakness: CWE-93 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

References