Summary
A vulnerability (CWE-400, uncontrolled resource consumption) was found in Netty's netty-codec-dns. The DNS decoders materialize records based on 16-bit record counts without any limit, causing excessive (quadratic) memory allocation during message parsing.
Per the CVSS vector (score 7.5, high), the attack is network-based, low complexity, and requires no authentication or user interaction. An attacker sends specially crafted DNS messages with oversized record counts.
The result is disproportionate memory and CPU consumption, severe application responsiveness issues, or a full Denial of Service (DoS). Confidentiality and integrity are not affected. The issue is not listed in CISA KEV and no EPSS data is available.
Who is affected
Organizations running Java applications that use the Netty DNS codec, including Red Hat OpenShift Serverless and Red Hat Exploit Intelligence.
What to do
- Check the official Red Hat advisory (access.redhat.com/security/cve/CVE-2026-142440) and GitHub advisory GHSA-3h79-3wcf-5whr, as fixed versions are not listed in the record.
- Inventory applications and dependencies that include io.netty:netty-codec-dns (e.g., via SBOM or Maven/Gradle dependency trees).
- Apply Netty library and Red Hat product updates as soon as they are released.
- Red Hat states no suitable mitigation is available; until patched, limit exposure of affected services' DNS traffic to untrusted sources and monitor memory and CPU usage.
Vendor workaround
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.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- None
- Availability
- High impact
Weakness type (CWE)
- CWE-400 Uncontrolled Resource Consumption
References
- access.redhat.com/security/cve/CVE-2026-142440
- bugzilla.redhat.com/show_bug.cgi?id=2588732
- github.com/netty/netty/security/advisories/GHSA-3h79-3wcf-5whr
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.