CVE 6.8 MEDIUM

Netty: CRLF Injection in Netty Redis Codec Encoder_CVE-2026-42586

6.8 / 10
MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

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.

Basic Information

ID CVE-2026-42586
Source GitHub_M
Published May 13, 2026 at 18:20

Affected Product

Vendor netty
Product netty
Version >= 4.2.0.Alpha1, < 4.2.13.Final
Affected Versions netty netty >= 4.2.0.Alpha1, < 4.2.13.Final
netty netty < 4.1.133.Final
io.netty netty-codec-redis >= 4.2.0.Alpha1, < 4.2.13.Final
io.netty netty-codec-redis < 4.1.133.Final

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.