Skip to main content

Netty DNS Resolver CVE-2026-45673

| EUVDEUVD-2026-36445 MEDIUM
Use of Insufficiently Random Values (CWE-330)
2026-06-08 https://github.com/netty/netty GHSA-xmv7-r254-6q78
6.8
CVSS 3.1 · Vendor: https://github.com/netty/netty
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain visibility into target's outbound DNS traffic
  2. Delivery
    Collect sequence of DNS transaction IDs from Netty resolver
  3. Exploit
    Recover ThreadLocalRandom LCG internal state via mathematical analysis
  4. Install
    Predict next transaction ID for target hostname query
  5. C2
    Forge UDP DNS response with known static source port and predicted transaction ID
  6. Execute
    Race forged response to arrive before legitimate authoritative answer
  7. Impact
    Netty resolver caches attacker-controlled IP
  8. Step 8
    Downstream application connects to malicious infrastructure

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Cryptographic random values
Exploitation Conditions

Exploitation requires the target application to use io.netty:netty-resolver-dns in its default configuration, specifically with DnsNameResolverBuilder left at the default ChannelPerResolver channel strategy, which causes all DNS queries to share a single DatagramChannel and thus a fixed UDP source port. Applications that explicitly configure a per-query channel strategy - randomizing source port per DNS query - are not exploitable via the static-port component of this attack. The PRNG prediction component additionally requires the attacker to observe a sufficient number of DNS transaction IDs in sequence to recover the ThreadLocalRandom LCG state, implying some degree of network visibility into the resolver's outbound DNS traffic. The CVSS vector (PR:N/UI:N) confirms no authentication or user interaction is required from the victim side, but AC:H reflects the non-trivial prerequisites of LCG state recovery and response-race timing that meaningfully constrain opportunistic exploitation.

Impact

CVSS 6.8 (AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N) reflects a network-exploitable, unauthenticated attack with high complexity, changed scope, and high integrity impact but no confidentiality or availability impact. The AC:H rating is appropriate given the attacker must recover PRNG state from observed queries and win a timing race against legitimate DNS responses. EPSS score was not provided in the available intelligence, limiting probabilistic exploitation forecasting. The vulnerability is not listed in CISA KEV and no publicly available exploit code has been identified at time of analysis. Despite a moderate CVSS score, real-world risk is meaningfully elevated for applications that base sensitive operations on DNS-resolved hostnames (service discovery, external API calls, microservice routing) without independent verification such as certificate pinning or DNSSEC. The changed scope (S:C) is correctly applied - successful cache poisoning affects downstream connections beyond the Netty process itself. The CVSS integrity signal and the absence of active exploitation data are consistent; this is a real priority for Netty-dependent infrastructure but not an emergency requiring weekend patching for most deployments.

Exploit ScenarioDerived

An attacker with the ability to observe DNS query traffic from a target application using Netty's default resolver - for example via network tap, on-path positioning, or malicious DNS infrastructure - captures a sequence of transaction IDs and applies LCG state-recovery techniques to predict the next ID in the sequence. Because the source port is static (fixed by the ChannelPerResolver default), the attacker forges a UDP DNS response matching the known static source port and the predicted transaction ID, racing it against the legitimate authoritative response; if the forged response arrives first, the Netty resolver accepts it and caches the attacker-supplied IP, redirecting all subsequent connections for that hostname to attacker-controlled infrastructure.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

DNS cache poisoning in Netty's resolver component (io.netty:netty-resolver-dns) enables remote unauthenticated attackers to redirect downstream application traffic to attacker-controlled IPs through a Kaminsky-style spoofing attack. The vulnerability combines two compounding weaknesses present in the default configuration: DNS transaction IDs shuffled with a mathematically predictable Linear Congruential Generator (ThreadLocalRandom), and a static UDP source port resulting from the default ChannelPerResolver channel strategy. No public exploit has been identified at time of analysis and the issue is not listed in CISA KEV, but the Netty project rated it high severity and released fixes in versions 4.1.135.Final and 4.2.15.Final.

RemediationAI

The primary fix is to upgrade io.netty:netty-resolver-dns to version 4.1.135.Final for consumers of the 4.1.x branch, or to 4.2.15.Final for consumers of the 4.2.x branch; both releases are confirmed by the Netty project at https://github.com/netty/netty/releases/tag/netty-4.1.135.Final and https://github.com/netty/netty/releases/tag/netty-4.2.15.Final respectively. If an immediate upgrade is not possible, configure DnsNameResolverBuilder to use a per-query channel strategy rather than the default ChannelPerResolver, which restores source port randomization per DNS query at the cost of increased ephemeral socket churn - operators should verify OS-level ephemeral port range limits (net.ipv4.ip_local_port_range on Linux) before applying this workaround in high-throughput environments. As a complementary defense-in-depth measure for environments that cannot patch, routing DNS traffic through a DNSSEC-validating upstream resolver adds an out-of-band integrity layer, accepting the operational overhead of DNSSEC chain validation failures for unsigned zones. Patch vendor advisory: https://github.com/netty/netty/security/advisories/GHSA-xmv7-r254-6q78.

Affected VersionsENISA

netty < 4.1.135.Final
netty 4.2.0.Final, < 4.2.15.Final

Affected Packages

maven io.netty:netty-resolver-dns fix: 4.1.135.Final, 4.2.15.Final
euvd netty fix: 4.1.135.Final
euvd netty_4_2_0_final fix: 4.2.15.Final

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in two classes within io.netty.resolver.dns. First, DnsQueryIdSpace manages 16-bit DNS transaction IDs in a single 16,384-entry bucket and reinserts returned IDs at a position chosen by java.util.concurrent.ThreadLocalRandom, a Linear Congruential Generator (LCG) whose full internal state can be recovered mathematically after observing a sequence of its outputs - making the ID sequence practically predictable. Second, DnsNameResolverBuilder defaults to a ChannelPerResolver channel strategy, which binds a single DatagramChannel at startup and reuses it for all queries, producing a static UDP source port. RFC 5452 (Kaminsky attack mitigations) requires combined entropy across both the 16-bit transaction ID space and the source port space; eliminating source port randomization collapses effective entropy to at most 16 bits, and the LCG predictability reduces it further still. CWE-330 (Use of Insufficiently Random Values) correctly classifies the root cause. Affected artifacts are identified by CPE as pkg:maven/io.netty:netty-resolver-dns.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/netty/netty) PRIMARY 6.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
SUSE MEDIUM
Red Hat 6.8 MEDIUM

Primary rating from Vendor (https://github.com/netty/netty).

CVSS VectorVendor: https://github.com/netty/netty

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None

DescriptionCVE.org

Summary

Netty's DNS resolver uses a predictable PRNG for generating DNS transaction IDs and defaults to a static UDP source port. This combination reduces the entropy of DNS queries, enabling DNS Cache Poisoning (Kaminsky attack).

Details

Two factors contribute to this vulnerability in io.netty.resolver.dns:

  • Predictable Query IDs: DnsQueryIdSpace manages 16-bit transaction IDs in buckets of 16,384 IDs. It initializes only the first bucket. When an ID is returned, it is pushed back into the bucket at a random index generated by java.util.concurrent.ThreadLocalRandom:
java
Random random = ThreadLocalRandom.current();
int insertionPosition = random.nextInt(count + 1);

Because ThreadLocalRandom is a predictable LCG and the resolver operates within a single bucket, the sequence of IDs is predictable once the PRNG state is mathematically recovered.

  • Default Static Source Port: DnsNameResolverBuilder defaults to a channelStrategy of ChannelPerResolver. This binds the DatagramChannel once, resulting in a static source port for all subsequent queries.

Combined, a static source port and predictable transaction IDs reduces the entropy required to secure DNS resolution against spoofing.

Impact

DNS Cache Poisoning. Downstream applications using the default Netty DNS resolver may connect to malicious IPs, leading to traffic interception or MitM attacks.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy