{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.1.133"
              },
              {
                "introduced": "4.2.0"
              },
              {
                "fixed": "4.2.13"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "fb13125f135ab53203513ff603872a3abe84d38d"
            },
            {
              "introduced": "09e64d259c99be8b5b2a471a78f11e65eb82598a"
            },
            {
              "fixed": "b3844c8108b42f68d56144b36d4d1ed96078a688"
            }
          ],
          "repo": "https://github.com/netty/netty",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-rgrr-p7gp-5xj7"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-93"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42586.json"
  },
  "details": "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.",
  "id": "CVE-2026-42586",
  "modified": "2026-07-08T05:36:01.885376387Z",
  "published": "2026-05-13T18:20:46.999Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42586.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/netty/netty/security/advisories/GHSA-rgrr-p7gp-5xj7"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42586"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Netty: CRLF Injection in Netty Redis Codec Encoder"
}