cve.bz

CVE-2026-47321 apache software foundation apache mina

7.5 highEPSS 0.5%

High (7.5) in apache software foundation apache mina. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

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

Severity

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.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-09-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
CWE-789 Memory Allocation with Excessive Size Value
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-47321 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-47321?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-47321?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-2026-47321 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 CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache MINAfrom 2.2.0 before 2.2.8
Apache Software Foundation Apache MINAfrom 2.1.0 before 2.1.13
Apache Software Foundation Apache MINAfrom 2.0.0 before 2.0.29

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12mina, mina2no fix listedDEBIAN-CVE-2026-47321
Debian13mina2no fix listedDEBIAN-CVE-2026-47321
Debian14mina22.2.9-1DEBIAN-CVE-2026-47321
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTSmina, mina2no fix listedUBUNTU-CVE-2026-47321
Ubuntu22.04:LTS, 24.04:LTSminano fix listedUBUNTU-CVE-2026-47321
Ubuntu25.10, 26.10, Pro:22.04:LTS and 2 moremina2no fix listedUBUNTU-CVE-2026-47321

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

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Product Security rates the severity of this vulnerability as Important because an unauthenticated remote attacker can exploit unbounded decompression to exhaust JVM heap memory, causing a complete denial of service across the hosting application without requiring elevated privileges. In Red Hat environments, exposure is limited to deployments where network services explicitly integrate Apache MINA's inbound compression filter into their transport pipeline. Applications and build tooling that do not configure inbound stream inflation or that restrict network endpoints to authorized clients significantly lower operational exposure.

ProductPackageStateAdvisory
OpenShift Developer Tools and ServicesjenkinsAffected
OpenShift Developer Tools and Servicesjenkins-2-pluginsAffected
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel8Affected
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel9Affected
Red Hat Enterprise Linux 10maven-wagonAffected
Red Hat Enterprise Linux 8javapackages-tools:201801/maven-wagonNot affected
Red Hat Enterprise Linux 9maven:3.9/maven-wagonNot affected
Red Hat Enterprise Linux 9maven-wagonAffected
Red Hat Fuse 7mina-coreWill not fix

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-2026-47321.

References

Check your stackJSON