{"id":"CVE-2025-58057","published":"2025-09-03T21:46:49Z","modified":"2025-09-04T19:59:23Z","title":"Netty's BrotliDecoder is vulnerable to DoS via zip bomb style attack","vendor":"netty","product":"netty","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00726,"percentile":0.49982,"provenance":"source"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"references":[{"url":"https://github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d","tags":["x_refsource_MISC"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":10.0},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"netty","affectedVersions":[{"vendor":"netty","product":"netty","versions":["<= 4.1.124.Final, < 4.1.125.Final","<= 4.2.4.Final,  < 4.2.5.Final"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-04T19:59:14.684509Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"io.netty:netty-codec-compression","vulnerableRanges":[">=4.2.0.Alpha1, <4.2.5.Final"],"patched":["4.2.5.Final"],"from":["GHSA-3p8m-j85q-pgmj"],"provenance":"source"},{"ecosystem":"Maven","package":"io.netty:netty-codec","vulnerableRanges":["<4.1.125.Final"],"patched":["4.1.125.Final"],"from":["GHSA-3p8m-j85q-pgmj"],"provenance":"source"}],"summary":{"text":"The flaw is in Netty's BrotliDecoder, part of the netty-codec-compression component (and certain other decompression decoders), where specially crafted compressed input causes a large number of reachable byte buffers to be allocated because decompress has no limit on how often it calls pull, with buffers retained in the output list until memory is exhausted. An unauthenticated remote attacker with network access can send such crafted input to cause denial of service, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:20Z"},"euvd":{"id":"EUVD-2025-26649","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-58057","published":"2025-09-03","fixed":"4.2.5.Final","kev":false},{"cve":"CVE-2026-42583","published":"2026-05-13","fixed":"4.2.13.Final","kev":false,"link":{"from":"CVE-2025-58057","to":"CVE-2026-42583","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:io.netty:netty-codec-compression","fromFixed":"4.2.5.Final","toFixed":"4.2.13.Final","daysApart":252},{"kind":"version-step","provenance":"source","package":"Maven:io.netty:netty-codec","fromFixed":"4.1.125.Final","toFixed":"4.1.133.Final","daysApart":252}]}},{"cve":"CVE-2026-59901","published":"2026-07-29","fixed":"4.2.16.Final","kev":false}],"package":"Maven:io.netty:netty-codec-compression"}}