CVE-2025-58057
Java vulnerability analysis and mitigation

Overview

CVE-2025-58057 affects Netty, an asynchronous event-driven network application framework. The vulnerability was discovered in netty-codec-compression versions 4.1.124.Final and below, and netty-codec versions 4.2.4.Final and below. The issue was disclosed on September 3, 2025, and involves a denial of service vulnerability in the BrotliDecoder and other decompression decoders (GitHub Advisory, NVD).

Technical details

The vulnerability stems from BrotliDecoder.decompress having no limit on how often it calls pull, decompressing data 64K bytes at a time. When processing specially crafted input, the decoders will allocate a large number of reachable byte buffers, which remain reachable until an Out of Memory (OOM) condition occurs. The vulnerability has been assigned a CVSS v4.0 base score of 6.9 (Medium) with vector string 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, and is classified as CWE-409 (Improper Handling of Highly Compressed Data) (GitHub Advisory).

Impact

The vulnerability can lead to denial of service through a zip bomb-style attack. When exploited, it causes the allocation of a large number of byte buffers that remain in memory, eventually leading to an Out of Memory condition that can crash the application (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in netty-codec version 4.1.125.Final and netty-codec-compression version 4.2.5.Final. Users are advised to upgrade to these patched versions to mitigate the vulnerability (GitHub Advisory, NVD).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-62249MEDIUM6.9
  • JavaJava
  • com.liferay.portal:com.liferay.portal.impl
NoYesOct 21, 2025
CVE-2025-62250MEDIUM6.9
  • JavaJava
  • com.liferay:com.liferay.portal.cluster.multiple
NoYesOct 21, 2025
GHSA-gr7h-xw4f-wh86LOW2.6
  • JavaJava
  • org.sakaiproject.kernel:sakai-kernel-impl
NoNoOct 22, 2025
CVE-2025-11965N/AN/A
  • JavaJava
  • io.vertx:vertx-web
NoYesOct 22, 2025
CVE-2025-11966N/AN/A
  • JavaJava
  • io.vertx:vertx-web
NoYesOct 22, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management