cve.bz

CVE-2025-58057 netty netty

6.9 mediumExploit referenceEPSS 0.6%Fix available

Medium (6.9) in netty netty. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in io.netty:netty-codec-compression 4.2.5.Final.

On this page
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.

Severity

CVSS 4.0

6.9 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 51st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-09-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-58057 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-58057?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-58057?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-58057 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
netty:nettybefore 4.1.125
netty:nettyfrom 4.2.0 before 4.2.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3p8m-j85q-pgmjMavenio.netty:netty-codec-compression>=4.2.0.Alpha1 <4.2.5.Final4.2.5.Final
GHSA-3p8m-j85q-pgmjMavenio.netty:netty-codec<4.1.125.Final4.1.125.Final

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11netty1:4.1.48-4+deb11u3DLA-4519-1
Debian12netty1:4.1.48-7+deb12u2DEBIAN-CVE-2025-58057 DSA-6160-1
Debian13netty1:4.1.48-10+deb13u1DEBIAN-CVE-2025-58057 DSA-6160-1
Debian14netty1:4.1.48-12DEBIAN-CVE-2025-58057
Ubuntu22.04:LTSnetty1:4.1.48-4+deb11u2ubuntu0.1UBUNTU-CVE-2025-58057
Ubuntu24.04:LTSnetty1:4.1.48-9ubuntu0.1UBUNTU-CVE-2025-58057
Ubuntu25.10netty1:4.1.48-10ubuntu0.25.10.2UBUNTU-CVE-2025-58057
UbuntuPro:14.04:LTS, Pro:16.04:LTSnettyno fix listedUBUNTU-CVE-2025-58057
UbuntuPro:18.04:LTSnetty1:4.1.7-4ubuntu0.1+esm5UBUNTU-CVE-2025-58057
UbuntuPro:20.04:LTSnetty1:4.1.45-1ubuntu0.1~esm4UBUNTU-CVE-2025-58057
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 morenetty-tcnative2.0.73-150200.3.30.1SUSE-SU-2025:03114-1
SUSELinux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7netty4.1.126-150200.4.34.1SUSE-SU-2025:03114-1
openSUSELeap 15.6netty4.1.126-150200.4.34.1SUSE-SU-2025:03114-1
openSUSELeap 15.6netty-tcnative2.0.73-150200.3.30.1SUSE-SU-2025:03114-1
openSUSETumbleweednetty4.1.126-1.1openSUSE-SU-2025:15520-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate for Red Hat products. A flaw in Netty's BrotliDecoder and other decompression decoders can lead to a denial of service when processing specially crafted input. This affects various Red Hat products that utilize Netty for network communication and data decompression. Using BrotliDecoder on untrusted input is entirely

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat build of Quarkus 3.15.7netty-codecFixed 2025-10-02RHSA-2025:17187
Red Hat build of Quarkus 3.20.3.redhatio.netty/netty-codec:4.1.127.Final-redhat-00001Fixed 2025-10-14RHSA-2025:17563
Red Hat JBoss EAP XP 5.0 Update 4.0netty-codecFixed 2026-03-05RHSA-2026:3951
Streams for Apache Kafka 2.9.3Fixed 2025-10-23RHSA-2025:19077
Streams for Apache Kafka 3.1.0netty-codecFixed 2025-12-16RHSA-2025:23417
Cryostat 4netty-codecNot affected
Logging Subsystem for Red Hat OpenShiftnetty-codecNot affected
OpenShift Serverlessopenshift-serverless-1/kn-ekb-dispatcher-rhel8Not affected
OpenShift Serverlessopenshift-serverless-1/kn-ekb-kafka-controller-rhel8Not affected
OpenShift Serverlessopenshift-serverless-1/kn-ekb-post-install-rhel8Not affected
OpenShift Serverlessopenshift-serverless-1/kn-ekb-receiver-rhel8Not affected
OpenShift Serverlessopenshift-serverless-1/kn-ekb-webhook-kafka-rhel8Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel8Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel8Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel8Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel8Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel8Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-source-rhel8Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-log-sink-rhel8Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-timer-source-rhel8Not affected
28 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-58057.

References

Check your stackJSON