Vulnerabilities · 2025 · Netty
CVE-2025-58057
Netty vulnerability
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. In netty-codec-compression versions 4.1.124.Final and below, and netty-codec versions 4.2.4.Final and below, when supplied with specially crafted input, BrotliDecoder and certain other decompression decoders will allocate a large number of reachable byte buffers, which can lead to denial of service. BrotliDecoder.decompress has no limit in how often it calls pull, decompressing data 64K bytes at a time. The buffers are saved in the output list, and remain reachable until OOM is hit. This is fixed in versions 4.1.125.Final of netty-codec and 4.2.5.Final of netty-codec-compression.
Affected products
Netty. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Netty runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmj · Exploit
- github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-58057
- github.com/advisories/GHSA-3p8m-j85q-pgmj
- nvd.nist.gov/vuln/detail/CVE-2025-58057
- cve.org/CVERecord?id=CVE-2025-58057
More vulnerabilities in Netty products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.