Skip to main content

Netty netty-codec-socks CVE-2026-62380

| EUVDEUVD-2026-64272 MEDIUM
Null Byte Interaction Error (Poison Null Byte) (CWE-626)
2026-08-22 VulnCheck GHSA-jmpc-xv4r-m7fw
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply crafted domain or credential with null byte or CRLF
  2. Delivery
    Application passes unsanitized input to Socks4/5ClientEncoder
  3. Exploit
    Encoder serializes malformed field onto wire
  4. Execution
    SOCKS proxy misinterprets truncated or injected values
  5. Impact
    Connection routed to attacker-influenced destination

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires that attacker-controlled data reaches the domain address field (Socks4ClientEncoder or Socks5ClientEncoder) or the authentication username/password fields (Socks5ClientEncoder) of the Netty SOCKS client. This condition is met when an application accepts external user input - such as a proxy destination hostname or SOCKS credentials - and passes that input without prior sanitization into Netty's SOCKS encoder. The CVSS 4.0 AT:P attribute confirms that specific attack requirements (attacker field control) must be satisfied. Exploitation is limited to the SOCKS client path only; server-side Netty handlers and non-SOCKS codec modules are not affected. Applications that use hardcoded or internally-generated SOCKS destinations and credentials are not exploitable regardless of the Netty version. The CVSS PR:N indicates no authentication is required on the attacker's side to submit the malicious input, but the application must expose a pathway through which that input reaches the encoder.

Impact

The CVSS 4.0 base score of 6.3 reflects a moderate real-world risk profile: the AT:P attribute (attack requirements present) captures the critical limiting factor - exploitation depends on the attacker's ability to inject controlled values into the SOCKS domain or authentication fields of an application using Netty as a SOCKS client. This is not a default-configuration remote exploit; it requires a trust boundary where attacker-controlled data flows into the encoder, such as a web proxy or tunneling service that allows user-specified destinations. The impact metrics VC:N/VI:N/VA:N/SC:N/SI:L/SA:N confirm the damage is limited: no confidentiality loss, no availability impact, and only a low subsequent-system integrity effect - meaning the spoofed or injected data affects the SOCKS proxy's routing decisions, not the Netty host itself. EPSS data is not provided, and KEV status is negative, so there is no confirmed exploitation signal. The absence of a POC and the moderate exploitation complexity mean that, while the fix should be prioritized in the next maintenance cycle, this does not warrant emergency patching for most operators. Organizations running Netty-based SOCKS proxy gateway services where end-user input reaches the encoder should treat this with higher urgency than those using Netty for internal-only SOCKS tunneling with trusted inputs.

Exploit ScenarioDerived

An attacker targets a Java application that accepts user-specified proxy destinations and uses Netty's SOCKS5 client encoder to connect through a corporate SOCKS proxy. By supplying a domain name containing an embedded CRLF sequence (e.g., legitimate.host\r\nevil.host), the attacker causes Socks5ClientEncoder to produce a malformed SOCKS5 CONNECT request, potentially redirecting the proxy connection to an attacker-controlled host while appearing to target the legitimate one. No public exploit code has been identified at time of analysis, so this scenario requires independent implementation by an attacker familiar with the SOCKS protocol wire format.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 22, 2026

Null byte and CRLF injection in Netty's SOCKS4 and SOCKS5 client encoders (Socks4ClientEncoder, Socks5ClientEncoder) allows an attacker who controls domain address or authentication fields to truncate or alter proxy connection parameters, enabling domain spoofing, userid truncation, authentication data injection, and protocol confusion. Affected are all Netty releases in the 4.1.x branch through 4.1.136.Final and the 4.2.x branch through 4.2.16.Final - both branches have been patched. No public exploit code has been identified at time of analysis and this CVE is not listed in CISA KEV, but the integrity impact on downstream SOCKS proxy routing is concrete.

RemediationAI

Upgrade to Netty 4.2.17.Final (for the 4.2.x branch) or 4.1.137.Final (for the 4.1.x branch), which introduce input validation in both Socks4ClientEncoder and Socks5ClientEncoder to reject or sanitize null bytes and CRLF sequences. These fix versions are confirmed by the vendor advisory at https://github.com/netty/netty/security/advisories/GHSA-cc6x-ffm5-83wf. As a compensating control where immediate upgrade is not feasible, applications should validate and sanitize any externally-supplied hostnames and credentials before passing them to Netty's SOCKS client APIs - specifically rejecting inputs containing 0x00, \r, or \n characters at the application layer. This control places the validation burden on the caller rather than the library and may require audit of all call sites. There is no known workaround that disables the vulnerable encoder path while preserving SOCKS proxy functionality.

Affected VersionsENISA

netty 4.2.0.Final <4.2.16.Final
netty 0 <4.1.137.Final

Affected Packages

euvd netty fix: 4.1.137.Final, 4.2.16.Final

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-626 (Null Byte Interaction Error) describes vulnerabilities where null bytes embedded in strings are interpreted differently by different layers, causing truncation or behavioral divergence. In the SOCKS4 protocol, domain addresses and userids are transmitted as null-terminated or length-prefixed ASCII strings; SOCKS5 extends this with username/password sub-negotiation. Netty's io.netty:netty-codec-socks module provides client-side encoders that serialize these fields into on-wire byte sequences. The flaw is that neither Socks4ClientEncoder nor Socks5ClientEncoder performs input validation to reject or escape null bytes (0x00) or CRLF sequences (\r\n) in the domain address or credential fields. An attacker with influence over those field values - for example, by supplying a crafted hostname or username to an application that feeds user-supplied data into Netty's SOCKS client - can terminate string parsing early, inject unexpected protocol tokens, or alter the effective proxy destination. The CPE cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:* covers the full Netty artifact, but the affected code is scoped to the netty-codec-socks sub-module.

Know when Netty gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.3 MEDIUM
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
vuln.today AI 4.0 MEDIUM

AC:H reflects the prerequisite of attacker-controlled input reaching the encoder; S:C because injection affects downstream SOCKS proxy routing beyond the Netty host.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
SUSE 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 22, 2026 - 13:16 EUVD
CVE Published
Aug 22, 2026 - 12:26 cve.org
MEDIUM 6.3

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.6%
Top 56% exploitable
Prevalence
High
Netty is foundational Java networking library used across enterprise, cloud, and OSS ecosystems
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
High

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in Netty

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2019-16869 HIGH POC
7.5 Sep 26

Netty before 4.1.42.Final mishandles whitespace before the colon in HTTP headers (such as a "Transfer-Encoding : chunked

CVE-2026-56820 CRITICAL POC
9.1 Jul 21

Certificate revocation-check bypass in the Netty network framework's OCSP client (io.netty:netty-handler-ssl-ocsp) affec

CVE-2024-36121 CRITICAL POC
9.1 Jun 04

netty-incubator-codec-ohttp is the OHTTP implementation for netty. Rated critical severity (CVSS 9.1), this vulnerabilit

CVE-2024-40642 HIGH POC
8.1 Jul 18

The netty incubator codec.bhttp is a java language binary http parser. Rated high severity (CVSS 8.1), this vulnerabilit

CVE-2025-24970 HIGH POC
7.5 Feb 10

Netty, an asynchronous, event-driven network application framework, has a vulnerability starting in version 4.1.91.Final

CVE-2026-59902 HIGH POC
7.5 Aug 17

Memory exhaustion in Netty's SctpMessageCompletionHandler (netty-transport-sctp) allows unauthenticated remote peers to

CVE-2026-55833 HIGH POC
7.5 Jul 20

Compression-amplification denial of service in the Netty network framework (versions prior to 4.1.136.Final and 4.2.16.F

CVE-2026-55831 HIGH POC
7.5 Jul 20

Memory-amplification denial of service in the Netty network framework (SPDY/3.1 codec) prior to 4.1.136.Final and 4.2.16

CVE-2026-56816 HIGH POC
7.5 Jul 21

Memory-exhaustion denial of service in Netty's HTTP/3 codec (Http3FrameCodec) affects all releases prior to 4.2.16.Final

CVE-2026-59903 HIGH POC
7.5 Aug 17

Netty's HTTP CORS handler silently rewrites the Vary response header to Vary: Origin in releases before 4.1.137.Final an

CVE-2026-48748 HIGH POC
7.5 Jun 12

Denial of service in the Netty HTTP/3 codec (io.netty:netty-codec-http3) prior to version 4.2.15.Final allows remote una

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Development Tools 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Development Tools 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy