Ubuntu CVE Tracker
UBUNTU-CVE-2025-58057
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | netty | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | netty | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | netty | All versions before 1:4.1.7-4ubuntu0.1+esm5 (fixed in 1:4.1.7-4ubuntu0.1+esm5) |
| Ubuntu:Pro:20.04:LTS | netty | All versions before 1:4.1.45-1ubuntu0.1~esm4 (fixed in 1:4.1.45-1ubuntu0.1~esm4) |
| Ubuntu:22.04:LTS | netty | All versions before 1:4.1.48-4+deb11u2ubuntu0.1 (fixed in 1:4.1.48-4+deb11u2ubuntu0.1) |
| Ubuntu:24.04:LTS | netty | All versions before 1:4.1.48-9ubuntu0.1 (fixed in 1:4.1.48-9ubuntu0.1) |
| Ubuntu:25.10 | netty | All versions before 1:4.1.48-10ubuntu0.25.10.2 (fixed in 1:4.1.48-10ubuntu0.25.10.2) |
References
- https://ubuntu.com/security/CVE-2025-58057
- https://www.cve.org/CVERecord?id=CVE-2025-58057
- https://github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmj
- https://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d
- https://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d
- https://ubuntu.com/security/notices/USN-7918-1