CVE-2025-58057 Details
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.
A denial-of-service vulnerability has been identified in the Netty framework, specifically in the 'netty-codec-compression' and 'netty-codec' components, in versions through 4.1.124.Final and 4.2.4.Final, respectively. The issue arises in the BrotliDecoder, which, when given specially crafted input, decompresses data without limitation, leading to excessive allocation of reachable byte buffers. This behavior can cause the application to run out of memory. The vulnerability is akin to a zip bomb, where a small amount of compressed data expands into a much larger size, consuming available resources.
Users can upgrade to Netty versions 4.1.125.Final or 4.2.5.Final to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d | [email protected] | Patch |
| https://github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmj | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-409 | Improper Handling of Highly Compressed Data (Data Amplification) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| netty netty | < 4.1.125 >= 4.2.0, < 4.2.5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 8, 2025 | Initial Analysis | [email protected] |
| Sep 4, 2025 | New CVE Received | [email protected] |