CVE-2026-47321: CWE-409: Improper Handling of Highly Compressed Data — Data Amplification in Apache Software Foundation Apache MINA
CVE-2026-47321 is a vulnerability in Apache MINA's CompressionFilter class where decompression of highly compressed data can lead to excessive memory consumption. The filter does not limit the size of inflated data, allowing attackers to cause application memory exhaustion through data amplification. The Apache Software Foundation has introduced controls to limit decompressed size and compression ratio, mitigating this risk. Users are advised to upgrade and configure CompressionFilter with these new parameters to prevent potential denial of service.
AI Analysis
Technical Summary
The CompressionFilter class in Apache MINA uses ZLib for data compression and decompression but does not control the size of inflated data. This allows specially crafted compressed data with very high compression ratios (greater than 1000) to cause excessive memory allocation during decompression, leading to application memory exhaustion. The fix introduces parameters to set a maximum decompressed size and maximum decompression ratio, throwing exceptions when limits are exceeded. A fluent API is also provided for easier configuration. Applications using Apache MINA should upgrade to fixed versions and configure these limits to mitigate the vulnerability.
Potential Impact
An attacker can send highly compressed data that inflates to a very large size, exhausting application memory and causing denial of service. The vulnerability does not impact confidentiality or integrity but affects availability by potentially crashing or severely degrading the application.
Mitigation Recommendations
Upgrade Apache MINA to a fixed version within the ranges >=2.2.0 <2.2.8, >=2.1.0 <2.1.13, or >=2.0.0 <2.0.29. Configure the CompressionFilter instance to specify a maximum decompressed size and optionally a maximum decompression ratio and minimum size threshold to prevent excessive memory allocation. Use the new constructor parameters or the fluent API to set these limits. No other mitigation is indicated by the vendor advisory.
CVE-2026-47321: CWE-409: Improper Handling of Highly Compressed Data — Data Amplification in Apache Software Foundation Apache MINA
Description
CVE-2026-47321 is a vulnerability in Apache MINA's CompressionFilter class where decompression of highly compressed data can lead to excessive memory consumption. The filter does not limit the size of inflated data, allowing attackers to cause application memory exhaustion through data amplification. The Apache Software Foundation has introduced controls to limit decompressed size and compression ratio, mitigating this risk. Users are advised to upgrade and configure CompressionFilter with these new parameters to prevent potential denial of service.
CVSS v3.1
Score 7.5high
Affected software
Apache Software Foundation
Apache MINA
pkg:maven/Apache Software Foundation/org.apache.mina:mina-filter-compressionRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The CompressionFilter class in Apache MINA uses ZLib for data compression and decompression but does not control the size of inflated data. This allows specially crafted compressed data with very high compression ratios (greater than 1000) to cause excessive memory allocation during decompression, leading to application memory exhaustion. The fix introduces parameters to set a maximum decompressed size and maximum decompression ratio, throwing exceptions when limits are exceeded. A fluent API is also provided for easier configuration. Applications using Apache MINA should upgrade to fixed versions and configure these limits to mitigate the vulnerability.
Potential Impact
An attacker can send highly compressed data that inflates to a very large size, exhausting application memory and causing denial of service. The vulnerability does not impact confidentiality or integrity but affects availability by potentially crashing or severely degrading the application.
Mitigation Recommendations
Upgrade Apache MINA to a fixed version within the ranges >=2.2.0 <2.2.8, >=2.1.0 <2.1.13, or >=2.0.0 <2.0.29. Configure the CompressionFilter instance to specify a maximum decompressed size and optionally a maximum decompression ratio and minimum size threshold to prevent excessive memory allocation. Use the new constructor parameters or the fluent API to set these limits. No other mitigation is indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-05-19T07:41:55.668Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ab0e47e55bf5e2cf582d8b0
Added to database: 09/21/2026, 08:02:06 UTC
Last enriched: 09/21/2026, 08:16:32 UTC
Last updated: 09/21/2026, 09:00:46 UTC
Views: 16
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.