Skip to main content
← All vulnerabilities
CVE-2025-58057GHSA-3P8M-J85Q-PGMJ

Netty's BrotliDecoder is vulnerable to DoS via zip bomb style attack

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1.125.Final, 4.2.5.Final
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • netty netty

    fixed in 4.1.125.Final · through 4.1.124.Final; fixed in 4.2.5.Final · through 4.2.4.Final

  • io.netty:netty-codec-compressionMaven

    From 4.2.0.Alpha1 · fixed in 4.2.5.Final

  • io.netty:netty-codecMaven

    fixed in 4.1.125.Final

References 2

GitHub · netty/netty