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: < 1% Very Low
KEV: No
Impact: Injection vulnerability affecting SOCKS proxy handling
Action: Patch Upgrade
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 CWE‑93 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 low, at 0.00253 (less than 1%), 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 September 1, 2026 at 17:54 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 September 1, 2026 at 17:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-93
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 28 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}


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-26T16:16:44.043Z

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

Link: CVE-2026-62380

cve-icon Vulnrichment

Updated: 2026-08-26T15:55:29.662Z

cve-icon NVD

Status : Analyzed

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

Modified: 2026-08-27T20:32:22.390

Link: CVE-2026-62380

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-22T12:26:43Z

Links: CVE-2026-62380 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T18:00:18Z

Weaknesses
  • CWE-626

    Null Byte Interaction Error (Poison Null Byte)

  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')