Missing Release of Resource after Effective Lifetime Affecting io.netty:netty-codec-dns package, versions [,4.1.136.Final)[4.2.0.Alpha1,4.2.16.Final)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-IONETTY-18854645
  • published16 Aug 2026
  • disclosed13 Aug 2026
  • creditvioletagg

Introduced: 13 Aug 2026

NewCVE-2026-73508  (opens in a new tab)
CWE-772  (opens in a new tab)

How to fix?

Upgrade io.netty:netty-codec-dns to version 4.1.136.Final, 4.2.16.Final or higher.

Overview

Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime through DnsCodecUtil.decompressDomainName in codec-dns/src/main/java/io/netty/handler/codec/dns/DnsCodecUtil.java. An attacker can exhaust direct memory and trigger a gradual denial of service by sending DNS packets with malformed domain names that make domain-name encoding fail during decode. When encodeDomainName(domainName, result) throws on invalid input, the allocated ByteBuf is not released, and repeated packets leak buffers until the process runs out of memory.

CVSS Base Scores

version 4.0
version 3.1