CRLF injection in Netty - CVE-2026-42586
Published: May 5, 2026
Vulnerability details
The vulnerability allows a remote attacker to inject Redis commands or poison Redis responses.
The vulnerability exists due to improper neutralization of CRLF sequences in io.netty.handler.codec.redis.RedisEncoder when encoding user-controlled Redis message content. A remote attacker can supply crafted content containing CRLF characters to inject Redis commands or poison Redis responses.
The issue affects inline command mode and simple string or error response types, while RESP array format with binary-safe length-prefixed encoding is not affected.
Affected software
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Ubuntu
SUSE Package Hub 15
Development Tools Module
netty-tcnative-debugsource
netty-tcnative
netty (Ubuntu package)
netty
netty-javadoc
How to mitigate CVE-2026-42586
netty-tcnative-debugsource - update to 2.0.77-150200.3.39.1
netty-tcnative - update to 2.0.77-150200.3.39.1
netty (Ubuntu package) - addressed in versions 1:3.2.6.Final-2+deb8u2ubuntu0.1~esm1, 1:4.0.34-1ubuntu0.1~esm4, 1:4.1.7-4ubuntu0.1+esm6, 1:4.1.45-1ubuntu0.1~esm6, 1:4.1.48-4+deb11u2ubuntu0.1+esm3, 1:4.1.48-9ubuntu0.1+esm3, 1:4.1.48-16ubuntu0.1~esm2
netty - update to 4.1.133-150200.4.46.1
netty-javadoc - update to 4.1.133-150200.4.46.1