---
id: CVE-2026-62380
title: >-
  Netty (io.netty:netty-codec-socks) versions 4.2.0.Final through 4.2.16.Final
  and 4.1.x through 4.1.136.Final contain null byte, CRLF, and credential
  injection vulnerabilities in the SOCKS4 (Socks4ClientEncoder) and SOCKS5
  (Socks5ClientEn…
summary: >-
  Netty (io.netty:netty-codec-socks) versions 4.2.0.Final through 4.2.16.Final
  and 4.1.x through 4.1.136.Final contain null byte, CRLF, and credential
  injection vulnerabilities in the SOCKS4 (Socks4ClientEncoder) and SOCKS5
  (Socks5ClientEn…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'
cwe:
  - CWE-626
vendor: netty
product: netty
affected:
  - netty < 4.1.137
  - 'netty >= 4.2.0, < 4.2.17'
patched:
  - netty 4.2.17
published: '2026-08-22'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T19:10:00.297'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-62380'
references:
  - url: 'https://github.com/netty/netty/security/advisories/GHSA-cc6x-ffm5-83wf'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/netty-before-final-socks-proxy-null-byte-injection
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00253
epssPercentile: 0.16651
ingestedAt: '2026-08-23T04:42:14.661Z'
---

## Overview

Netty (io.netty:netty-codec-socks) versions 4.2.0.Final through 4.2.16.Final and 4.1.x through 4.1.136.Final contain null byte, CRLF, and credential injection vulnerabilities in the SOCKS4 (Socks4ClientEncoder) and SOCKS5 (Socks5ClientEncoder) client encoders, which fail to validate domain address and authentication (username/password) fields. An attacker able to control these fields can inject null bytes or CRLF characters to truncate or alter values, potentially enabling domain spoofing, SOCKS4 userid truncation, authentication data injection, and protocol confusion. Fixed in 4.2.17.Final and 4.1.137.Final.

## Affected

- `netty < 4.1.137`
- `netty >= 4.2.0, < 4.2.17`

## Remediation

Upgrade past the affected range:

- `netty 4.2.17`
