{"id":"CVE-2025-58057","state":"PUBLISHED","title":"Netty's BrotliDecoder is vulnerable to DoS via zip bomb style attack","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.","publishedAt":"2025-09-03T21:46:49.928Z","updatedAt":"2025-09-04T19:59:23.458Z","severity":{"score":6.9,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["netty netty"],"affected":[{"vendor":"netty","product":"netty","versions":[{"version":"<= 4.1.124.Final, < 4.1.125.Final","status":"affected"},{"version":"<= 4.2.4.Final,  < 4.2.5.Final","status":"affected"}]}],"references":["https://github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmj","https://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d"],"weaknesses":["CWE-409"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/58xxx/CVE-2025-58057.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-58057","state":"PUBLISHED","datePublished":"2025-09-03T21:46:49.928Z","dateUpdated":"2025-09-04T19:59:23.458Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-08-22T14:30:32.221Z"},"containers":{"cna":{"title":"Netty's BrotliDecoder is vulnerable to DoS via zip bomb style attack","descriptions":[{"lang":"en","value":"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":[{"vendor":"netty","product":"netty","versions":[{"version":"<= 4.1.124.Final, < 4.1.125.Final","status":"affected"},{"version":"<= 4.2.4.Final,  < 4.2.5.Final","status":"affected"}]}],"references":[{"url":"https://github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmj","name":"https://github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d","name":"https://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-409","lang":"en","description":"CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-09-03T21:46:49.928Z"},"source":{"advisory":"GHSA-3p8m-j85q-pgmj","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-09-04T19:59:14.684509Z","id":"CVE-2025-58057","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-09-04T19:59:23.458Z"}}]}}}