CVE-2025-58057: Netty

High severity, CVSS 7.5. EPSS: 0.7% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Netty, before 4.1.125: fixed in 4.1.125
  • Netty, from 4.2.0, before 4.2.5: fixed in 4.2.5

Affected products

  • Netty Netty: before 4.1.125 (fixed in 4.1.125); from 4.2.0, before 4.2.5 (fixed in 4.2.5)

Affected packages

Published 2025-09-04. Last modified 2026-10-19.