### [CVE-2025-58057](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-58057) ![](https://img.shields.io/static/v1?label=Product&message=netty&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3C%3D%204.1.124.Final%2C%20%3C%204.1.125.Final%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=%3C%3D%204.2.4.Final%2C%20%20%3C%204.2.5.Final%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-409%3A%20Improper%20Handling%20of%20Highly%20Compressed%20Data%20(Data%20Amplification)&color=brightgreen) ### 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. ### POC #### Reference - https://github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmj #### Github No PoCs found on GitHub currently.