Null Byte Interaction Error (Poison Null Byte) Affecting io.netty:netty-codec-socks package, versions [,4.1.137.Final)[4.2.0.Final,4.2.17.Final)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-IONETTY-19233598
  • published24 Aug 2026
  • disclosed22 Aug 2026

Introduced: 22 Aug 2026

NewCVE-2026-62380  (opens in a new tab)
CWE-626  (opens in a new tab)

How to fix?

Upgrade io.netty:netty-codec-socks to version 4.1.137.Final, 4.2.17.Final or higher.

Overview

Affected versions of this package are vulnerable to Null Byte Interaction Error (Poison Null Byte) via the Socks4ClientEncoder and Socks5ClientEncoder in codec-socks. An attacker can truncate or alter encoded SOCKS requests by supplying userId, destination host, username, or password values containing embedded NUL bytes. This can make the proxy interpret different credentials or destination names than the application intended, leading to domain spoofing, authentication confusion, and proxy connections being sent to the wrong host.

CVSS Base Scores

version 4.0
version 3.1