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

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), io.netty:netty-codec-compression (Maven). 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
    # 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
    # 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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.