# CVE-2025-58057: Netty's BrotliDecoder is vulnerable to DoS via zip bomb style attack

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-03T18:00:55.000Z
- Modified: 2026-10-19T17:10:00.173Z
- Also known as: GHSA-3p8m-j85q-pgmj
- Weaknesses: CWE-409
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- netty netty: <= 4.1.124.Final, < 4.1.125.Final; <= 4.2.4.Final,  < 4.2.5.Final; before 4.1.125; from 4.2.0 before 4.2.5
- io.netty:netty-codec-compression (Maven): from 4.2.0.Alpha1 before 4.2.5.Final
- io.netty:netty-codec (Maven): before 4.1.125.Final

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmj> (exploit, vendor-advisory, web)
- <https://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58057> (advisory)
- <https://github.com/netty/netty> (package)

## Sources

- CVE List: [CVE-2025-58057](https://www.cve.org/CVERecord?id=CVE-2025-58057), CVE Terms of Use, modified 2025-09-04
- GitHub Advisory Database: [GHSA-3p8m-j85q-pgmj](https://github.com/advisories/GHSA-3p8m-j85q-pgmj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-58057](https://nvd.nist.gov/vuln/detail/CVE-2025-58057), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-58057 · Whole record: https://cve.day/CVE-2025-58057.json · Rebuilt by cve.day 2026-11-25T22:59:04.100Z
