CVE-2026-73508: Netty · Memory Leak in DNS Record Decoder via Malformed Domain Names
Affects io.netty:netty-codec-dnsSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 4.2.16.Final when convenient.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.2.16.Final, 4.1.136.Final
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 24 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade io.netty:netty-codec-dns to 4.2.16.Final; io.netty:netty-codec-dns to 4.1.136.Final.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Mavenio.netty:netty-codec-dns | Affected
| Fixed in
|
| Mavenio.netty:netty-codec-dns | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
### Summary A memory leak can be caused in Netty's DNS codec by sending malicious DNS packets containing invalid domain names. Because the leak occurs incrementally per packet, sustained malicious requests will cause a gradual Denial of Service. ### Details Inside `io.netty.handler.codec.dns.AbstractDnsRecord`, the parsed domain name string is passed to `IDN.toASCII(name)`. If the domain name contains characters that violate IDNA rules, `IDN.toASCII` throws an `IllegalArgumentException`. Because this exception occurs inside the constructor before the `DnsRecord` instance can assign the buffer to its content field for later release, the ByteBuf whose reference count was incremented (or newly allocated) is never released, resulting in a direct memory leak. There are several places where variants of this leak happen: - `io.netty.handler.codec.dns.DefaultDnsRecordDecoder#decodeRecord(java.lang.String, io.netty.handler.codec.dns.DnsRecordType, int, long, io.netty.buffer.ByteBuf, int, int)` invokes `in.retainedDuplicate()` or creates a new buffer `out` when constructing `DefaultDnsRawRecord` - `io.netty.handler.codec.dns.DnsCodecUtil#decompressDomainName` allocates a new `ByteBuf` and passes it to `encodeDomainName()`. If the decompressed domain name contains a null byte (`\0`), `encodeDomainName()` throws an `IllegalArgumentException`, leaking the newly allocated buffer. ### Impact Resource Exhaustion. Any application utilizing Netty's DnsRecordDecoder (such as DnsNameResolver or custom DNS servers) is vulnerable.
References
- github.com/netty/netty/security/advisories/GHSA-mfg7-5gfp-c4w3 (opens in a new tab)
- github.com/netty/netty/pull/17063 (opens in a new tab)
- github.com/netty/netty/pull/17065 (opens in a new tab)
- github.com/netty/netty/commit/5b68c61f37aa4a3045cba624cbea239655c9003b (opens in a new tab)
- github.com/netty/netty/commit/bb2ff68a1fb71cb4b0eb9a9e17b66c52aff680c6 (opens in a new tab)
- github.com/netty/netty (opens in a new tab)
- github.com/netty/netty/releases/tag/netty-4.1.136.Final (opens in a new tab)
- github.com/netty/netty/releases/tag/netty-4.2.16.Final (opens in a new tab)