CVE-2026-45674: Netty resolver dns Netty Vulnerable To DNS Cache Vulnerability
HIGHCVE-2026-45674 is a HIGH (CVSS 8.7) netty vulnerable to dns cache vulnerability (CWE-345: Insufficient Verification of Data Authenticity) affecting Netty resolver dns libraries in the Maven ecosystem. The issue involves netty vulnerable to dns cache poisoning via missing bailiwick checks in cname records. Remediation is available by upgrading affected packages to version 4.2.15.Final, 4.1.135.Final.
CVE-2026-45674 at a Glance
Security Impact
CVSS: 8.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N).
How to Fix CVE-2026-45674
To remediate this vulnerability, upgrade all affected Netty resolver dns dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-resolver-dns</artifactId>
<version>4.2.15.Final</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-resolver-dns</artifactId>
<version>4.1.135.Final</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.netty
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-45674, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.netty
Analyze the terminal output to locate any version of Netty resolver dns in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.15.Final), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.netty command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-345: Insufficient Verification of Data Authenticity, where the product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data. In Netty resolver dns, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-45674 Affected Netty resolver dns Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.netty:netty-resolver-dns
|
Maven |
≥ 4.2.0.Final
< 4.2.15.Final
|
4.2.15.Final
|
|
io.netty:netty-resolver-dns
|
Maven |
< 4.1.135.Final
|
4.1.135.Final
|
References
Frequently Asked Questions
What is CVE-2026-45674?
Which Netty resolver dns versions are affected?
What version fixes CVE-2026-45674?
Is netty-resolver-dns affected?
What is the CVSS score of CVE-2026-45674?
What CWE is associated with CVE-2026-45674?
How can I check Maven dependencies for CVE-2026-45674?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-676x-f7gg-47vc",
"modified" : "2026-09-18T15:31:38Z",
"published" : "2026-06-08T23:02:26Z",
"aliases" : [ "CVE-2026-45674" ],
"summary" : "Netty Vulnerable to DNS Cache Poisoning via Missing Bailiwick Checks in CNAME Records",
"details" : "### Summary\nNetty's DnsResolveContext fails to validate the origin (bailiwick) of CNAME records in DNS responses.\n\n### Details\nIn `io.netty.resolver.dns.DnsResolveContext#buildAliasMap`, the resolver processes the ANSWER section of a DNS response and blindly caches all CNAME records it finds.\n\nAccording to https://datatracker.ietf.org/doc/html/rfc5452#section-6 \n\n```\nCare must be taken to only accept\n data if it is known that the originator is authoritative for the\n QNAME or a parent of the QNAME.\n One very simple way to achieve this is to only accept data if it is\n part of the domain for which the query was intended.\n```\n\n### Impact\nDNS Cache Poisoning (Bailiwick Bypass). Any application using Netty's DNS resolver is impacted.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.netty:netty-resolver-dns"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0.Final"
}, {
"fixed" : "4.2.15.Final"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.2.14.Final"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "io.netty:netty-resolver-dns"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.1.135.Final"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.1.134.Final"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/netty/netty/security/advisories/GHSA-676x-f7gg-47vc"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-45674"
}, {
"type" : "WEB",
"url" : "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45674.json"
}, {
"type" : "WEB",
"url" : "https://github.com/netty/netty/releases/tag/netty-4.2.15.Final"
}, {
"type" : "WEB",
"url" : "https://github.com/netty/netty/releases/tag/netty-4.1.135.Final"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/netty/netty"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2488400"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2026-45674"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:65126"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:62260"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:54435"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:53806"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:53646"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:53645"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:53644"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:50085"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:49701"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:49700"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:48151"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:41951"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:37390"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:34608"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:26586"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:26018"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:26017"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-345", "CWE-346" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-08T23:02:26Z",
"nvd_published_at" : "2026-06-12T15:16:27Z"
}
}