Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Netty | Netty | < 4.1.125 |
Related Weaknesses (CWE)
References
- https://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145dPatch
- https://github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmjExploitVendor Advisory
FAQ
What is CVE-2025-58057?
CVE-2025-58057 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2025-58057?
CVE-2025-58057 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-58057?
Check the references section above for vendor advisories and patch information. Affected products include: Netty Netty.