CVE-2026-142442

Description

A flaw was found in netty-codec-socks. A remote attacker can exploit this issue by sending a Socket Secure 5 (SOCKS5) handshake request specifying 128 or more authentication methods, causing the server to misinterpret the method count as a negative value due to signed byte parsing. This allows the attacker to bypass authentication scheme negotiation and desynchronize the network protocol stream.

Statement

This vulnerability is rated as Moderate severity because exploitation requires an application to explicitly incorporate the legacy Netty SOCKS5 decoder into its channel pipeline. A remote attacker sending a crafted greeting specifying 128 or more authentication methods can trigger a signed byte conversion error, bypassing authentication scheme negotiation and desynchronizing the protocol stream. Because this legacy handler is not configured or enabled by default in standard Red Hat product deployments, overall exposure remains limited.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.3N/A5.3
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactLowN/ALow
Availability ImpactNoneN/ANone

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Red Hat CVSS v3 Score Explanation

CVSS vector provided by the Netty Project in the CVE request (PSIRTSUPT-32166).

Understanding the Weakness (CWE)

Integrity

Technical Impact: Unexpected State

Frequently Asked Questions

Want to get errata notifications? Sign up here.