Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.5CVE-2026-142440

Netty netty-codec-dns: denial of service via uncapped DNS record counts

Published 02/12/2026 · Updated 03/12/2026 · Red Hat Exploit Intelligence

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

  1. 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.
  2. Inventory applications and dependencies that include io.netty:netty-codec-dns (e.g., via SBOM or Maven/Gradle dependency trees).
  3. Apply Netty library and Red Hat product updates as soon as they are released.
  4. 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

Red Hat Exploit Intelligence
Red Hat OpenShift Serverless
Red Hat OpenShift Serverless
Red Hat OpenShift Serverless
Red Hat OpenShift Serverless
Red Hat OpenShift Serverless
Red Hat OpenShift Serverless
Red Hat OpenShift Serverless
Red Hat OpenShift Serverless
Red Hat OpenShift Serverless

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

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.