CVE-2025-58057
HIGH7.5EPSS 0.06%Netty's decoders 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.
Affected packages (3)
- Debian/nettyfrom 0, < 1:4.1.48-4+deb11u3
- Maven/io.netty:netty-codecfrom 0, < 4.1.125.Final
- Maven/io.netty:netty-codec-compression>= 4.2.0.Alpha1, < 4.2.5.Final
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-58057
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-58057
- PATCHhttps://github.com/netty/netty
- WEBhttps://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d
- WEBhttps://github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmj