CVEfocus › CVE database › CVE-2026-47321

CVE-2026-47321Apache MINA: Unbounded Decompression Amplification DoS in Zlib.inflate

CVSS 7.5 HighEPSS 0.5% (higher than 43% of CVEs)Published 2026-09-21Updated 2026-09-21Assigner: apache

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.

CWE-409CWE-789

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
15Fix pending
2Under investigation
1Will not fix
11Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10mina2Fix pendingUBUNTU-CVE-2026-47321
Ubuntu 26.04mina2Fix pendingUBUNTU-CVE-2026-47321
Ubuntu 25.10mina2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-47321
Ubuntu 24.04minaUnder investigationUBUNTU-CVE-2026-47321
Ubuntu 24.04mina2Fix pendingUBUNTU-CVE-2026-47321
Ubuntu 22.04minaUnder investigationUBUNTU-CVE-2026-47321
Ubuntu 22.04mina2Fix pendingUBUNTU-CVE-2026-47321
Ubuntu 20.04minaFix pendingUBUNTU-CVE-2026-47321
Ubuntu 20.04mina2Fix pendingUBUNTU-CVE-2026-47321
Ubuntu 18.04minaFix pendingUBUNTU-CVE-2026-47321
Ubuntu 18.04mina2Fix pendingUBUNTU-CVE-2026-47321
Ubuntu 16.04minaFix pendingUBUNTU-CVE-2026-47321
Ubuntu 16.04mina2Fix pendingUBUNTU-CVE-2026-47321
Debian 14mina2Fixed2.2.9-1DEBIAN-CVE-2026-47321
Debian 13mina2Fix pendingDEBIAN-CVE-2026-47321
Debian 12minaFix pendingDEBIAN-CVE-2026-47321
Debian 12mina2Fix pendingDEBIAN-CVE-2026-47321
Red Hat Enterprise Linux 10maven-wagonFix pending
Affected
Red Hat Enterprise Linux 10maven-wagon-javadocFix pending
Affected
Red Hat Enterprise Linux 9maven-wagonNot affected
Red Hat Enterprise Linux 9maven-wagon-javadocNot affected
Red Hat Enterprise Linux 8maven-wagonNot affected
Red Hat Enterprise Linux 8maven-wagon-fileNot affected
Red Hat Enterprise Linux 8maven-wagon-ftpNot affected
Red Hat Enterprise Linux 8maven-wagon-httpNot affected
Red Hat Enterprise Linux 8maven-wagon-http-lightweightNot affected
Red Hat Enterprise Linux 8maven-wagon-http-sharedNot affected
Red Hat Enterprise Linux 8maven-wagon-javadocNot affected
Red Hat Enterprise Linux 8maven-wagon-provider-apiNot affected
Red Hat Enterprise Linux 8maven-wagon-providersNot affected

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.