Vulnerability in Io.netty Netty-Codec-Redis

CVE-2026-42586

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.

Vulnerability class: CRLF Injection

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N.

EPSS exploit prediction

EPSS 0.002, 12.3th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Io.netty Netty-Codec-Redis — versions >= 4.2.0.Alpha1, < 4.2.13.Final, < 4.1.133.Final
  • Netty — versions >= 4.2.0.Alpha1, < 4.2.13.Final, < 4.1.133.Final

Weakness classification (CWE)

References