Back

MEDIUM

Netty before 4.2.16.Final SOCKS Proxy Null Byte Injection

Published Aug 22, 2026

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.

Affected products

Remediation

Red Hat mitigation

Applications utilizing Netty's SOCKS client encoders should implement robust input validation and sanitization for all domain address and authentication credential fields. If SOCKS proxy client functionality is not required by the application, it should be disabled to remove the attack surface.

Weaknesses (2)

References (7)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner VulnCheck
Published Aug 22, 2026
Updated Aug 26, 2026
Reserved Jul 13, 2026

CISA Vulnrichment

Updated Aug 26, 2026

NVD

Status Analyzed
Modified Aug 27, 2026

Red Hat

Severity Moderate
Public date Aug 22, 2026
Bugzilla 2521308

ENISA EUVD

Assigner VulnCheck
Published Aug 22, 2026
Updated Aug 26, 2026

GitHub

No data