Skip to main content
← All vulnerabilities
CVE-2026-42586GHSA-RGRR-P7GP-5XJ7

Netty: CRLF Injection in Netty Redis Codec Encoder

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.2.13.Final, 4.1.133.Final
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • netty netty

    From 4.2.0.Alpha1 · fixed in 4.2.13.Final; fixed in 4.1.133.Final

  • io.netty netty-codec-redis

    From 4.2.0.Alpha1 · fixed in 4.2.13.Final; fixed in 4.1.133.Final

  • io.netty:netty-codec-redisMaven

    From 4.2.0.Alpha1 · fixed in 4.2.13.Final

  • io.netty:netty-codec-redisMaven

    fixed in 4.1.133.Final

References 1

GitHub · netty/netty