CVE Vulnerabilities

CVE-2026-42586

Improper Neutralization of CRLF Sequences ('CRLF Injection')

Published: May 13, 2026 | Modified: May 18, 2026
CVSS 3.x
7.1
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
6.8 MODERATE
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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 (rn) 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.

Weakness

The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.

Affected Software

NameVendorStart VersionEnd Version
NettyNetty*4.1.133 (excluding)
NettyNetty4.2.0 (including)4.2.13 (excluding)
NettyUbuntudevel*
NettyUbuntuesm-apps/bionic*
NettyUbuntuesm-apps/focal*
NettyUbuntuesm-apps/jammy*
NettyUbuntuesm-apps/noble*
NettyUbuntuesm-apps/resolute*
NettyUbuntujammy*
NettyUbuntunoble*
NettyUbuntuquesting*
NettyUbunturesolute*
NettyUbuntuupstream*

Potential Mitigations

References