{"id":"CVE-2025-58057","aliases":["GHSA-3p8m-j85q-pgmj"],"url":"https://o3.security/vulnerability/CVE-2025-58057","summary":"Netty's BrotliDecoder is vulnerable to DoS via zip bomb style attack","details":"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.","published":"2025-09-03T21:46:49.928Z","modified":"2026-08-07T19:57:32.313549Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"io.netty:netty-codec-compression","fixedVersion":"4.2.5.Final"},{"ecosystem":"Maven","name":"io.netty:netty-codec","fixedVersion":"4.1.125.Final"}],"fix":{"url":"https://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d","label":"netty/netty@9d804c5"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58057.json"},{"type":"ADVISORY","url":"https://github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58057"},{"type":"FIX","url":"https://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T19:57:32.313549Z"}}