CVEfocus › CVE database › CVE-2025-58057

CVE-2025-58057Netty's BrotliDecoder is vulnerable to DoS via zip bomb style attack

CVSS 6.9 MediumEPSS 0.7% (higher than 50% of CVEs)Published 2025-09-03Updated 2025-09-04Assigner: GitHub_M

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.

CWE-409

What to do

Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fixed
4Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10nettyFixed1:4.1.48-10ubuntu0.25.10.2UBUNTU-CVE-2025-58057
Ubuntu 24.04nettyFixed1:4.1.48-9ubuntu0.1UBUNTU-CVE-2025-58057
Ubuntu 22.04nettyFixed1:4.1.48-4+deb11u2ubuntu0.1UBUNTU-CVE-2025-58057
Ubuntu 20.04nettyFix pending1:4.1.45-1ubuntu0.1~esm4 (Ubuntu Pro)UBUNTU-CVE-2025-58057
Ubuntu 18.04nettyFix pending1:4.1.7-4ubuntu0.1+esm5 (Ubuntu Pro)UBUNTU-CVE-2025-58057
Ubuntu 16.04nettyFix pendingUBUNTU-CVE-2025-58057
Ubuntu 14.04nettyFix pendingUBUNTU-CVE-2025-58057
Debian 14nettyFixed1:4.1.48-12DEBIAN-CVE-2025-58057
Debian 13nettyFixed1:4.1.48-10+deb13u1DEBIAN-CVE-2025-58057
Debian 12nettyFixed1:4.1.48-7+deb12u2DEBIAN-CVE-2025-58057
Maven libraryio.netty:netty-codecFixed4.1.125.FinalGHSA-3p8m-j85q-pgmj
Maven libraryio.netty:netty-codec-compressionFixed4.2.5.FinalGHSA-3p8m-j85q-pgmj

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.