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

Source: https://junglewise.ai/threats/cve-2025-58057-netty-s-decoders-vulnerable-to-dos-via-zip-bomb-style-attack  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-09-03  
License: CC BY 4.0 with a link back

CVE-2025-58057 · Severity: medium · CVSS 4 · Published 2025-09-03

Netty's decoders vulnerable to DoS via zip bomb style attack

Technologies: [io.netty:netty-codec (Maven)](https://junglewise.ai/threats/technologies/io-netty-netty-codec), [io.netty:netty-codec-compression (Maven)](https://junglewise.ai/threats/technologies/io-netty-netty-codec-compression). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-58057 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-58057 being exploited in the wild.

**How severe is CVE-2025-58057?** Medium severity, with a CVSS score of 4, published 3 September 2025.

**Which products and versions are affected?** io.netty:netty-codec (Maven) ECOSYSTEM:introduced=0,fixed=4.1.125.Final; io.netty:netty-codec-compression (Maven) ECOSYSTEM:introduced=4.2.0.Alpha1,fixed=4.2.5.Final.

**Is there a fix for CVE-2025-58057?** Yes. io.netty:netty-codec (Maven): upgrade to 4.1.125.Final or later; io.netty:netty-codec-compression (Maven): upgrade to 4.2.5.Final or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-58057?** Check whether you run io.netty:netty-codec (Maven) or io.netty:netty-codec-compression (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- io.netty:netty-codec (Maven): upgrade to 4.1.125.Final or later

  ```sh
  # set io.netty:netty-codec to 4.1.125.Final in your pom.xml or build.gradle
  ```

- io.netty:netty-codec-compression (Maven): upgrade to 4.2.5.Final or later

  ```sh
  # set io.netty:netty-codec-compression to 4.2.5.Final in your pom.xml or build.gradle
  ```


## Affected products

- io.netty:netty-codec (Maven) ECOSYSTEM:introduced=0,fixed=4.1.125.Final
- io.netty:netty-codec-compression (Maven) ECOSYSTEM:introduced=4.2.0.Alpha1,fixed=4.2.5.Final

## Identifiers

- CVE-2025-58057
- GHSA-3p8m-j85q-pgmj

## Related threats

- [Netty Bzip2Decoder infinite loop denial of service](https://junglewise.ai/threats/cve-2026-59901-netty-bzip2decoder-infinite-loop-denial-of-service)
- [Netty Lz4FrameDecoder resource exhaustion](https://junglewise.ai/threats/cve-2026-42583-netty-lz4framedecoder-resource-exhaustion)
- [SnappyFrameDecoder doesn't restrict chunk length any may buffer skippable chunks in an unnecessary way](https://junglewise.ai/threats/cve-2021-37137-snappyframedecoder-doesn-t-restrict-chunk-length-any-may-buffer)
- [Bzip2Decoder doesn't allow setting size restrictions for decompressed data](https://junglewise.ai/threats/cve-2021-37136-bzip2decoder-doesn-t-allow-setting-size-restrictions-for)
