Description
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.
Published: 2026-08-22
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Netty’s SOCKS4 and SOCKS5 client encoders do not properly validate domain addresses and authentication fields, permitting an attacker who can influence these fields to inject null bytes or CRLF characters. This can truncate or alter values, leading to domain spoofing, userid truncation, authentication data injection, and protocol confusion. The flaw is classified as CWE‑626 and can compromise the integrity of SOCKS traffic and potentially allow denial of service or manipulation of authenticated connections.

Affected Systems

The affected packages are the netty‑codec‑socks modules of the Netty framework. Versions 4.2.0.Final through 4.2.16.Final and 4.1.x through 4.1.136.Final are susceptible. The vulnerability applies to both the Socks4ClientEncoder and Socks5ClientEncoder components. Users of earlier or later releases are not impacted.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. The EPSS score is currently unavailable, and the vulnerability is not listed in CISA’s KEV catalog, suggesting no widespread exploitation is publicly documented. The likely attack vector is remote, requiring an attacker to inject crafted proxy requests that control the domain or authentication fields. If the targeted environment allows untrusted SOCKS clients, the risk elevates; otherwise, the exposure is limited to internal, trusted traffic.

Generated by OpenCVE AI on August 22, 2026 at 13:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Netty to version 4.2.17.Final or 4.1.137.Final or later to apply the vendor fix.
  • If an upgrade is not immediately feasible, restrict the SOCKS proxy to trusted networks or enforce firewall rules that block connections from untrusted sources.
  • Implement input validation for domain addresses and authentication data before processing within the proxy to mitigate injection attempts in line with CWE‑626 remediation practices.

Generated by OpenCVE AI on August 22, 2026 at 13:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Netty before 4.2.16.Final SOCKS Proxy Null Byte Injection
First Time appeared Netty
Netty netty
Weaknesses CWE-626
CPEs cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*
Vendors & Products Netty
Netty netty
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-22T12:26:43.777Z

Reserved: 2026-07-13T22:40:54.411Z

Link: CVE-2026-62380

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T13:16:39.830

Modified: 2026-08-22T13:16:39.830

Link: CVE-2026-62380

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T13:30:17Z

Weaknesses
  • CWE-626

    Null Byte Interaction Error (Poison Null Byte)