Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify MINA service with CompressionFilter inbound
-
DeliveryCraft tiny high-ratio zlib-compressed payload
-
ExploitSend over network connection
-
ExecutionFilter inflates without size limit
-
ImpactMemory exhausted, service denial
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Compression ratio limits
|
| Exploitation Conditions | Requires the target application to instantiate and enable Apache MINA's CompressionFilter for inbound decompression (compressInbound=true) and expose that endpoint to untrusted network peers; the pre-fix filter has no maxDecompressedSize/maxDecompressRatio bound. Exploitation is unauthenticated and needs no user interaction, but is LIMITED to deployments that actually use this optional compression feature - applications not using CompressionFilter, or already upgraded and configured with a maxDecompressedSize limit, are not affected. Impact is confined to availability (memory exhaustion / crash of the affected JVM process). |
| Impact | This is a genuine but bounded availability risk, not a critical priority. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) is internally consistent with the CWE-409 (data amplification / decompression bomb) description: a remote unauthenticated attacker can trigger memory exhaustion, but the impact is purely availability - there is no confidentiality or integrity exposure. The single 'high' driver of the 7.5 score is A:H; the absence of any C/I impact means the ceiling here is denial of service, so the vendor's 'Information Disclosure' tag misrepresents the actual impact. No EPSS score, no CISA KEV listing, and no public exploit code were provided, so exploitation status is 'no public exploit identified at time of analysis' - nothing here indicates active exploitation. Automatability is high in principle (a single small crafted payload amplifies enormously), but real risk is materially constrained because it applies ONLY to applications that actually enable Apache MINA's CompressionFilter for inbound decompression and expose it to untrusted peers - this is a non-default, opt-in feature. Net: treat as a medium-real-world-risk hardening/patch item for the subset of MINA deployments using compression, not a drop-everything emergency. |
| Exploit ScenarioDerived | An attacker sends a small but highly compressed payload (compression ratio exceeding ~1000:1) to a service built on Apache MINA that has enabled CompressionFilter for inbound traffic. When the filter calls ZLib inflate, it allocates a buffer for the full decompressed output with no size cap, so a few kilobytes expand into gigabytes and exhaust the JVM heap, crashing or hanging the application. No authentication or user interaction is required; no public proof-of-concept was provided in the source data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 21, 2026
Memory exhaustion in Apache MINA's CompressionFilter lets unauthenticated remote attackers crash the affected JVM by sending ZLib-compressed data that inflates to an unbounded size, since the pre-fix filter allocates an output buffer proportional to the decompressed result without enforcing any limit (CWE-409, CVSS 3.1 7.5, AV:N/AC:L/PR:N/UI:N with availability-only impact). The flaw is reachable only in deployments that instantiate the filter for inbound decompression (compressInbound=true) and expose that endpoint to untrusted network peers; applications that never enable CompressionFilter, or that already configure a maxDecompressedSize bound, are not affected. Our assessment rates this a genuine but bounded availability risk rather than a critical priority, and no public exploit code was identified at time of analysis; there is no KEV listing or confirmed in-the-wild activity.
RemediationAI
The primary fix is released upstream: upgrade Apache MINA to the version that adds bounded decompression and then explicitly configure the filter, because the new limits are opt-in rather than automatic. When constructing the filter, use the four-argument constructor CompressionFilter(compressInbound, compressOutbound, compressionLevel, maxDecompressedSize) and pass a hard ceiling on inflated output; optionally add maxDecompressRatio and decompressRatioMinSize to also block high-ratio payloads while the default 1 MB grace window keeps small high-ratio inputs with modest results from being rejected. The fluent equivalent is: new CompressionFilter().setCompressionLevel(Zlib.COMPRESSION_MAX).setMaxDecompressedSize(1_000_000).setMaxDecompressRatio(100).setDecompressRatioMinSize(100_000). If an upgrade cannot be scheduled immediately, the most direct compensating control is to stop decompressing untrusted input altogether - set compressInbound=false so the vulnerable inflate path is never exercised - at the cost of losing inbound compression on that endpoint; alternatively terminate the compressed protocol at a fronting proxy that enforces its own decompressed-size cap, blocks oversized frames, or rejects requests whose compression ratio is implausible, noting that the proxy then becomes a new availability choke point and must rewrite framed traffic correctly. Monitor the affected JVM heap and set a max heap (-Xmx) with an out-of-memory kill-and-restart policy to bound blast radius until the upgrade lands. Full guidance is in the Apache advisory at https://lists.apache.org/thread/y7xj1bl8qo47p9bktb11hg5v6k1d4dyj.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache MINA is a Java network application framework whose filtering layer (IoFilter / IoFilterChain) is inserted into the I/O pipeline to transform protocol traffic; the bundled CompressionFilter uses java.util.zip.Zlib (deflate/inflate) for that purpose. The defect is CWE-409, Improper Handling of Highly Compressed Data - the classic "decompression bomb" or data-amplification class, in which an attacker crafts a payload whose compression ratio can exceed 1000:1, so a small amount of wire input expands into a very large in-memory byte array. Because the vulnerable filter sized its inflate output buffer purely from the stream contents, with no ceiling on the resulting size, the JVM heap can be driven to exhaustion and the process terminated; the CVSS vector confirms the effect is confined to availability (C:N/I:N/A:H) with network reachability, low complexity, no privileges and no user interaction. The upstream remediation introduces configurable bounds: a maxDecompressedSize constructor parameter that throws when exceeded, plus optional maxDecompressRatio and decompressRatioMinSize parameters whose default 1 MB grace window prevents false positives on tiny inputs that legitimately inflate at a high ratio but still yield a small result; a fluent setter API (setMaxDecompressedSize, setMaxDecompressRatio, setDecompressRatioMinSize) was added for the same purpose. Affected code is tracked by the wildcard CPE cpe:2.3:a:apache_software_foundation:apache_mina:*:*:*:*:*:*:*:*, i.e. all builds shipped before the bounded-decompression constructors were added. One supplied metadata tag labels the issue 'Information Disclosure', but the vendor description and the assessed CVSS vector describe availability-only impact; no confidentiality or integrity effect should be assumed.
Know when Apache Mina gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote unauthenticated network trigger with low complexity via a single crafted compressed payload; impact is pure availability (heap exhaustion), no confidentiality or integrity effect.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
The CompressionFilter class uses ZLib to deflate and inflate data sent and received. When we inflate incoming data, the filter does not control the resulting size, and create a buffer no matter what.
Some compressed data may have a compression ration greater than 1 thousand, leading to an exhaustion of the application memory, as we don't control the deflated size.
The fix adds such a control by allowing the application developer to provide a fixed size limit, which when reached throws an exception. It also allows the user to provide a compression ratio that should not be exceeded, protected the application from small inflated files that inflate in gigantic files, but with a grace limit for the resulting size (1Mb) to avoid false positive (like a very small file inflating with a high ratio, but resulting with a acceptable size, like a few thousands bytes)
For application using this feature, it is highly recommended to create the CompressionFilter and to pass the maximum limit as a forth constructor parameter, maxDecompressedSize:
public CompressionFilter(final boolean compressInbound, final boolean compressOutbound, final int compressionLevel, final int maxDecompressedSize)Optionally one can also provide a maxDecompressRatio fifth parameter, and a decompressRatioMinSize sixth parameter to allow small inflated files with a high compression ratio to still be accepted.
Here are the additional constructor:
public CompressionFilter(final boolean compressInbound, final boolean compressOutbound,
final int compressionLevel, final int maxDecompressedSize,
final long maxDecompressRatio, final long decompressRatioMinSize)
Also note that a fluent API has been added to spare the users the pain to call a constructor with that many parameters:
CompressionFilter compressionFilter = new CompressionFilter()
.setCompressionLevel(Zlib.COMPRESSION_MAX)
.setMaxDecompressedSize(1_000_000)
.setMaxDecompressRatio(100).
.setDecompressRatioMinSize(100_000);
Applications using Apache MINA are advised to upgrade and configure their CompressionFilter instance.
Articles & Coverage 2
Executive ViewAI
Apache MINA's CompressionFilter, used by applications that decompress inbound network traffic, can be driven to exhaust JVM memory by an unauthenticated remote sender, crashing the affected service. Exposure is limited to deployments that both enable inbound decompression (compressInbound=true) and expose that endpoint to untrusted networks, so customer-facing or partner-facing services using this configuration are the primary concern, not the organization's entire application estate. The consequence is a service-availability outage rather than data compromise or code execution, making this a targeted disruption risk that warrants configuration-level action while a vendor fix is pending.
No vendor-released patch identified at time of analysis. Interim mitigations: disable CompressionFilter inbound decompression (compressInbound=false) where the functionality is not required, or configure an explicit maximum decompressed size bound where it is; restrict network reachability of the affected endpoint to trusted peers via firewall or security group rules; cap container or JVM heap and enforce request size/time limits so a decompression attempt cannot exhaust process memory; deploy rate limiting or a reverse proxy filter to constrain repeated large compressed payloads; and monitor JVM memory pressure and filter exceptions to detect and respond to attempted crashes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Apache Mina
View allUnsafe Java deserialization in Apache MINA's ObjectSerializationDecoder allows remote unauthenticated attackers to bypas
Remote code execution in Apache MINA 2.1.0-2.1.11 and 2.2.0-2.2.6 allows unauthenticated attackers to execute arbitrary
Remote unauthenticated code execution in Apache MINA 2.1.0-2.1.11 and 2.2.0-2.2.6 allows attackers to bypass class allow
Remote unauthenticated attackers can execute arbitrary code in Apache MINA 2.0.0-2.0.27, 2.1.0-2.1.10, and 2.2.0-2.2.5 t
Unauthenticated remote code execution risk in Apache MINA 2.0.X through 2.0.30 and 2.1.X through 2.1.14 arises because t
EUVD-2026-83858
GHSA-3c8x-fp36-75xv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB