CVE-2026-42579

Netty: DNS Codec Input Validation Bypass in Netty (Encoder + Decoder)

Published May 13, 2026 CVSS 3.1 · 7.5 High EPSS 1.0% KEV · Not listed
Description
Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, Netty's DNS codec does not enforce RFC 1035 domain name constraints during either encoding or decoding. This creates a bidirectional attack surface: malicious DNS responses can exploit the decoder, and user-influenced hostnames can exploit the encoder. This vulnerability is fixed in 4.2.13.Final and 4.1.133.Final.

Analysis

AI-generated

Technical impact

Netty is an asynchronous, event‑driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, its DNS codec does not enforce RFC 1035 domain name constraints during either encoding or decoding. This lack of input validation allows malicious DNS responses to bypass validation, leading to crashes or denial of service, and permits user‑influenced hostnames to be sent unchecked by the encoder. The flaw stems from improper input validation (CWE‑20) and buffer handling weaknesses (CWE‑1286), creating a vulnerability that can exhaust resources or crash the application.

Affected Systems

Any software that incorporates Netty 4.x and relies on the DNS codec before version 4.2.13.Final or 4.1.133.Final is vulnerable. This includes all deployments that use the netty:netty library without the mentioned version update.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity vulnerability. EPSS is <1%, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is network‑based; an attacker can craft DNS responses or supply hostnames that trigger improper handling. The weakness is classified as CWE‑20 and CWE‑1286, which together allow exploitation without local privileges or special conditions, making exploitation likely in exposed services.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Netty library to version 4.2.13.Final or 4.1.133.Final or later, ensuring full RFC 1035 domain name validation is enforced.
  • If an immediate upgrade is not feasible, disable or remove the Netty DNS codec from the application stack, or replace it with a custom DNS handler that validates hostnames according to RFC 1035.
  • Deploy monitoring to detect unusually large or malformed DNS responses and implement rate limiting on DNS traffic to mitigate potential denial of service attacks.
  • Ensure that any custom DNS handler enforces RFC 1035 constraints to mitigate input validation and buffer handling weaknesses (CWE‑20, CWE‑1286).

Generated by OpenCVE AI on May 28, 2026 at 13:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-cm33-6792-r9fm Netty has a DNS Codec Input Validation Bypass (Encoder + Decoder)
Ubuntu USN Ubuntu USN USN-8401-1 Netty vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Netty
Netty netty
Vendors & Products Netty
Netty netty
Type Values Removed Values Added
Description Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, Netty's DNS codec does not enforce RFC 1035 domain name constraints during either encoding or decoding. This creates a bidirectional attack surface: malicious DNS responses can exploit the decoder, and user-influenced hostnames can exploit the encoder. This vulnerability is fixed in 4.2.13.Final and 4.1.133.Final.
Title Netty: DNS Codec Input Validation Bypass in Netty (Encoder + Decoder)
Weaknesses CWE-20
CWE-400
CWE-626
References
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'}

Weaknesses
  • CWE-1286

    Improper Validation of Syntactic Correctness of Input

  • CWE-20

    Improper Input Validation

  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-626

    Null Byte Interaction Error (Poison Null Byte)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 18, 2026, 12:04 PM
Reserved
Apr 28, 2026, 5:26 PM
Status
Modified
Published
May 13, 2026, 7:17 PM
Modified
Nov 11, 2026, 8:10 PM
Severity
Important
Public date
May 13, 2026, 6:01 PM