Skip to main content

Apache MINA CVE-2026-41635

| EUVDEUVD-2026-25796 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-04-27 security@apache.org GHSA-8297-v2rf-2p32
9.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted Java serialized object
  2. Delivery
    Trigger AbstractIoBuffer.resolveClass() with static class reference
  3. Exploit
    Bypass allowlist validation
  4. Execution
    Load attacker-controlled class via Class.forName()
  5. Persist
    Execute deserialization gadget chain
  6. Impact
    Achieve arbitrary code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target application to use Apache MINA versions 2.0.0-2.0.27, 2.1.0-2.1.10, or 2.2.0-2.2.5 AND specifically call the IoBuffer.getObject() method to deserialize data received over the network. Applications using MINA solely for network I/O without invoking getObject() are not vulnerable. The vulnerable code path is triggered when processing serialized objects containing static classes or primitive type references. No authentication is required (PR:N) and the application need not be configured in any special mode - default MINA configurations calling getObject() are exploitable. Limiting factors: requires the presence of exploitable gadget chain classes on the application's classpath (common in Java enterprise applications using libraries like commons-collections, Spring framework, Groovy, etc.). Applications that validate/sanitize network input before deserialization may detect malicious payloads, but the MINA vulnerability itself provides no such protection.

Impact

This represents critical real-world risk based on convergent signals. The CVSS 9.8 score accurately reflects severity: network vector (AV:N), low attack complexity (AC:L), no authentication required (PR:N), no user interaction (UI:N), with complete impact to confidentiality, integrity, and availability. Deserialization vulnerabilities (CWE-502) are well-understood by attackers, with extensive public knowledge of Java gadget chains. While no public exploit identified at time of analysis and not confirmed actively exploited (CISA KEV), the technical barrier is extremely low given: (1) known Java deserialization techniques, (2) clear vulnerability description enabling easy reproduction, (3) network accessibility without authentication. The attack is highly automatable once a working exploit is developed. Applications calling IoBuffer.getObject() on network data are immediately exploitable. EPSS data not provided but typical deserialization RCE with these characteristics would score high. Vendor patches available across all affected branches (2.0.x, 2.1.x, 2.2.x) indicate Apache's recognition of severity. Real-world risk is CRITICAL for exposed applications - this is a patch-immediately scenario, not a schedule-for-next-cycle issue.

Exploit ScenarioDerived

An attacker identifies a Java application server running Apache MINA 2.0.25 that accepts network connections and calls IoBuffer.getObject() to process client data. The attacker crafts a malicious Java serialized object containing a static class reference designed to bypass the allowlist check. When sent to the MINA server, the vulnerable resolveClass() method processes the static class branch without validation, loading an attacker-specified class via Class.forName(). This triggers a Java deserialization gadget chain (e.g., using commons-collections or similar libraries present in the application classpath), resulting in arbitrary code execution with the privileges of the MINA application process. No public exploit identified at time of analysis, but the vulnerability mechanics are well-documented in the vendor advisory, enabling straightforward exploit development by attackers familiar with Java deserialization techniques.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 27, 2026

Remote code execution in Apache MINA 2.0.0-2.0.27, 2.1.0-2.1.10, and 2.2.0-2.2.5 allows unauthenticated network attackers to execute arbitrary code by exploiting unsafe deserialization in AbstractIoBuffer.resolveClass(). The vulnerability bypasses classname allowlist protections due to incomplete validation of static classes and primitive types. CVSS 9.8 critical severity reflects trivial network-based exploitation requiring no authentication or user interaction. Applications using IoBuffer.getObject() are affected. Vendor-released patches available in versions 2.0.28, 2.1.11, and 2.2.6.

RemediationAI

Upgrade Apache MINA to patched versions immediately: 2.0.28 (for 2.0.x branch), 2.1.11 (for 2.1.x branch), or 2.2.6 (for 2.2.x branch). The fix enforces classname allowlist validation before Class.forName() calls in all code paths, including static classes and primitive types. For applications unable to patch immediately, implement compensating controls: (1) disable or remove calls to IoBuffer.getObject() if application functionality permits, replacing with explicit parsing of known data structures; (2) deploy network segmentation to limit exposure of MINA-based services to trusted networks only, blocking untrusted internet access; (3) implement input validation/filtering at network perimeter to detect and block Java serialized data patterns in incoming traffic (magic bytes 0xACED0005), though sophisticated attackers may obfuscate; (4) enable Java Security Manager with restrictive policies to limit class loading capabilities, though this adds operational complexity and performance overhead. Note that compensating controls are temporary mitigations only - the deserialization code path remains exploitable until patched. Consult Apache advisory at https://lists.apache.org/thread/1l91w1mqsb3lwfd504fs045ylxntt2tm for complete technical details.

Affected VersionsENISA

Apache MINA 2.1.0 ≤2.1.10
Apache MINA 2.0.0 ≤2.0.27
Apache MINA 2.2.0 ≤2.2.5

Affected Packages

maven org.apache.mina:mina-core fix: 2.0.28, 2.1.11, 2.2.6
euvd apache_mina no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache MINA (Multipurpose Infrastructure for Network Applications) is a Java framework for building high-performance network applications. The vulnerability exists in AbstractIoBuffer.resolveClass(), which handles Java object deserialization. This is a classic CWE-502 (Deserialization of Untrusted Data) flaw where the code contains two execution branches: one properly validates class names against an allowlist, while the other branch - handling static classes and primitive types - completely bypasses this security check. When applications call IoBuffer.getObject() to deserialize network data, attackers can craft malicious serialized objects containing static or primitive type references that bypass the allowlist, leading to arbitrary class loading via Class.forName() without validation. This allows instantiation of dangerous classes commonly exploited in Java deserialization gadget chains (e.g., from commons-collections, Spring, etc.), resulting in remote code execution.

Know when 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

Vendor (apache) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
ENISA EUVD HIGH
Red Hat 9.8 CRITICAL

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Apache MINA's AbstractIoBuffer.resolveClass() contains two branches, one of them (for static classes or primitive types) does not check the class at all, bypassing the classname allowlist and allowing arbitrary code to be executed.

The fix checks if the class is present in the accepted class filter before calling Class.forName().

Affected versions are Apache MINA 2.0.0 <= 2.0.27, 2.1.0 <= 2.1.10, and

2.2.0 <= 2.2.5.

The problem is resolved in Apache MINA 2.0.28, 2.1.11, and 2.2.6 by applying the classname allowlist earlier.

Affected are applications using Apache MINA that call  IoBuffer.getObject().

Applications using Apache MINA are advised to upgrade.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 8 maven packages depend on org.apache.mina:mina-core (8 direct, 0 indirect)

Ecosystem-wide dependent count for version 2.0.0.

Executive ViewAI

Why It Matters

Apache MINA versions 2.0.0 through 2.2.5 contain a critical remote code execution vulnerability in deserialization logic that allows unauthenticated attackers to execute arbitrary code over the network with no user interaction required. Organizations using affected MINA versions in production applications face immediate risk of complete system compromise and should prioritize remediation as the highest security concern.

Business Impact: Severe
Compensating Controls

Vendor-released patch: MINA 2.0.28, 2.1.11, and 2.2.6. If patching cannot be completed within 48 hours, implement network-level access controls to restrict connections to affected MINA services to trusted internal networks only, monitor for suspicious network traffic on ports where MINA services operate, and disable the IoBuffer.getObject() functionality if alternate deserialization methods are available in your application code.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Threat Intel
2
1 sources
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment NCSC-NL GHSA Vendor VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: +5

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy