The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42579

CVE-2026-42579: Netty DNS Codec Vulnerability

CVE-2026-42579 is a DNS codec flaw in Netty that fails to enforce RFC 1035 domain name constraints, creating a bidirectional attack surface. This article covers technical details, affected versions, and mitigation.

Published: May 14, 2026

CVE-2026-42579 Overview

CVE-2026-42579 affects Netty, an asynchronous event-driven network application framework widely used in Java-based services. The Netty DNS codec fails to enforce RFC 1035 domain name constraints during encoding and decoding operations. This creates a bidirectional attack surface where malicious DNS responses can exploit the decoder and user-influenced hostnames can exploit the encoder. The flaw is categorized as improper input validation [CWE-20]. Maintainers fixed the issue in Netty 4.2.13.Final and 4.1.133.Final.

Critical Impact

Attackers can craft malformed DNS messages or hostnames that bypass protocol-level validation, enabling integrity violations in services that rely on Netty's DNS codec for resolution or proxying.

Affected Products

  • Netty versions prior to 4.2.13.Final
  • Netty versions prior to 4.1.133.Final
  • Applications and frameworks embedding the Netty DNS codec (netty-codec-dns)

Discovery Timeline

  • 2026-05-13 - CVE-2026-42579 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-42579

Vulnerability Analysis

Netty provides DNS encoding and decoding through its netty-codec-dns module. RFC 1035 defines strict limits on domain name structure, including a maximum label length of 63 octets, a total name length of 255 octets, and constraints on permitted characters. The vulnerable codec does not enforce these constraints in either direction.

On the decoding path, the codec accepts DNS responses containing oversized labels, malformed pointers, or invalid characters. Downstream consumers receive domain strings the protocol forbids. On the encoding path, the codec serializes hostnames supplied by callers without validating them against RFC 1035. User-influenced inputs flow directly into outbound DNS queries.

This bidirectional weakness allows attackers to inject malformed data into resolver pipelines, cache layers, and logging systems that assume protocol-conformant names.

Root Cause

The root cause is missing input validation [CWE-20] in the Netty DNS codec. The encoder and decoder treat domain name fields as opaque byte sequences instead of enforcing RFC 1035 length and character rules. No structural checks reject labels exceeding 63 octets or total names exceeding 255 octets.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker controlling a DNS responder, or able to inject responses into a resolution path, sends crafted records to a Netty-based client. Alternatively, an attacker who supplies hostnames to an application using Netty's DNS encoder can cause malformed queries to be emitted. Successful exploitation impacts integrity by corrupting downstream parsers, caches, or security controls that rely on validated names. See the GitHub Security Advisory GHSA-cm33-6792-r9fm for protocol-level technical details.

Detection Methods for CVE-2026-42579

Indicators of Compromise

  • DNS query or response packets containing labels longer than 63 octets or total names exceeding 255 octets.
  • DNS records with non-RFC 1035 characters appearing in resolver logs of Netty-based services.
  • Unexpected parsing exceptions or truncated names in application logs originating from io.netty.handler.codec.dns classes.

Detection Strategies

  • Inventory Java applications and dependencies to identify Netty versions prior to 4.2.13.Final and 4.1.133.Final, including transitive dependencies.
  • Inspect DNS traffic from services using Netty for protocol-noncompliant names with packet capture tools or DNS-aware IDS rules.
  • Apply software composition analysis to CI/CD pipelines to flag vulnerable netty-codec-dns artifacts before deployment.

Monitoring Recommendations

  • Forward DNS traffic logs and application logs to a central analytics platform and alert on parsing anomalies tied to Netty stack traces.
  • Monitor egress DNS queries for malformed names that may indicate exploitation of the encoder path.
  • Track dependency manifests across production services to detect reintroduction of vulnerable Netty versions.

How to Mitigate CVE-2026-42579

Immediate Actions Required

  • Upgrade Netty to 4.2.13.Final or 4.1.133.Final across all affected services and rebuild dependent artifacts.
  • Audit transitive dependencies in Maven, Gradle, and SBT projects to ensure no older Netty version is pulled in.
  • Validate hostnames supplied by users or upstream systems against RFC 1035 constraints before passing them to the DNS encoder.

Patch Information

The Netty maintainers fixed CVE-2026-42579 in releases 4.2.13.Final and 4.1.133.Final. The patched codec enforces RFC 1035 domain name constraints during both encoding and decoding. Refer to the Netty GitHub Security Advisory for release notes and patch commits.

Workarounds

  • Where immediate upgrade is not feasible, wrap the DNS encoder with an application-layer validator that rejects names violating RFC 1035 length and character rules.
  • Restrict DNS resolution to trusted resolvers over authenticated channels such as DNS over TLS to reduce response injection exposure.
  • Sanitize and length-check any user-controlled hostname before submitting it to Netty-based DNS clients.
bash
# Maven dependency update example
# Replace prior Netty versions with the fixed release
mvn versions:use-dep-version -Dincludes=io.netty:netty-codec-dns -DdepVersion=4.1.133.Final -DforceVersion=true

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeOther

  • Vendor/TechNetty

  • SeverityHIGH

  • CVSS Score7.5

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-42585: Netty Request Smuggling Vulnerability

  • CVE-2026-42581: Netty HTTP Request Smuggling Vulnerability

  • CVE-2026-42578: Netty HTTP Header Injection Vulnerability

  • CVE-2026-41417: Netty HTTP Request Smuggling Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English