CVE Vulnerabilities

CVE-2025-58057

Improper Handling of Highly Compressed Data (Data Amplification)

Published: Sep 04, 2025 | Modified: Sep 08, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.

Affected Software

NameVendorStart VersionEnd Version
NettyNetty*4.1.125 (excluding)
NettyNetty4.2.0 (including)4.2.5 (excluding)
Red Hat build of Quarkus 3.15.7RedHatnetty-codec*
Red Hat build of Quarkus 3.20.3RedHatnetty-codec*
Streams for Apache Kafka 2.9.3RedHat*
Streams for Apache Kafka 3.1.0RedHatnetty-codec*
NettyUbuntuesm-apps/bionic*
NettyUbuntuesm-apps/focal*
NettyUbuntuesm-apps/jammy*
NettyUbuntuesm-apps/noble*
NettyUbuntuesm-apps/xenial*
NettyUbuntuesm-infra-legacy/trusty*
NettyUbuntujammy*
NettyUbuntunoble*
NettyUbuntuplucky*
NettyUbuntuquesting*
NettyUbuntuupstream*

References