Skip to main content

Apache MINA CVE-2026-42779

| EUVDEUVD-2026-26493 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-05-01 apache GHSA-vf5j-865m-mq7c
Critical
Disputed · 9.8 Vendor: apache
View

Attack ChainAIDerived

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

  1. Recon
    Identify MINA service endpoint
  2. Delivery
    Send crafted serialized object
  3. Exploit
    Trigger IoBuffer.getObject() call
  4. Install
    Bypass allowlist via static class path
  5. C2
    Instantiate malicious gadget chain
  6. Execute
    Execute arbitrary code
  7. Impact
    Establish persistence

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's IoBuffer.getObject() method to deserialize data from untrusted network sources. Applications using MINA solely for raw byte stream handling or text-based protocols without invoking getObject() are not vulnerable. The vulnerability is exploitable against default MINA configurations when the affected API is present in application code-no special MINA configuration changes are required. Attack complexity is low (AC:L) because standard Java deserialization exploitation techniques apply once the vulnerable code path is reached. Limiting factors: applications must expose the deserialization functionality over network-accessible endpoints, and attackers need the ability to send crafted serialized data to those endpoints. MINA does not automatically call getObject() on incoming data; application developers must explicitly invoke it.

Impact

This represents critical risk for applications using MINA's deserialization features, with CVSS 9.8 indicating maximum network exploitability (AV:N/AC:L/PR:N/UI:N). Unauthenticated remote attackers can achieve complete system compromise without user interaction. However, real-world risk is constrained by the requirement that target applications must actively invoke IoBuffer.getObject() on untrusted data-MINA does not automatically deserialize network traffic. Organizations not using MINA's object deserialization APIs face zero risk despite running vulnerable versions. The absence of CISA KEV listing and public POC suggests exploitation has not yet become widespread, though the technical barrier is low given Java deserialization is well-understood. The SSVC technical impact is total (arbitrary code execution) and automatable if vulnerable endpoints are identified, but exploitation status remains unconfirmed. Priority depends entirely on whether your MINA deployment uses IoBuffer.getObject()-verify application code before assuming exploitability. The 9.8 CVSS reflects worst-case scenario; actual risk varies dramatically by implementation.

Exploit ScenarioDerived

An attacker identifies a network service built on Apache MINA 2.1.8 that accepts serialized Java objects via TCP and calls IoBuffer.getObject() to process them. The attacker crafts a malicious serialized payload containing a gadget chain (e.g., using ysoserial) that instantiates arbitrary classes bypassing the allowlist through the static class code path. Upon deserialization, the payload executes arbitrary commands on the server with the privileges of the MINA application process, establishing reverse shell access for lateral movement.

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 – May 01, 2026

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 allowlist protections via unsafe deserialization. The vulnerability exists because the fix for CVE-2026-41635 was not backported to the 2.1.X and 2.2.X branches, leaving AbstractIoBuffer.resolveClass() susceptible to arbitrary class instantiation when applications call IoBuffer.getObject(). Only applications actively using MINA's deserialization features are affected. EPSS data not available; no KEV listing or public POC identified at time of analysis.

RemediationAI

Upgrade immediately to Apache MINA 2.1.12 (for 2.1.X users) or 2.2.7 (for 2.2.X users), which apply the classname allowlist validation before Class.forName() calls in AbstractIoBuffer.resolveClass(). Vendor advisory with full details available at https://lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0. If immediate patching is not feasible, implement compensating controls: audit application code to identify all IoBuffer.getObject() call sites and eliminate deserialization of untrusted data, replace object deserialization with structured data formats like JSON or Protocol Buffers (trades convenience for security), or implement network segmentation to restrict access to MINA service endpoints to trusted clients only (reduces attack surface but does not eliminate insider threat). Note that disabling deserialization may break application functionality if IoBuffer.getObject() is used in legitimate workflows. Deploy application-layer input validation and monitoring for unexpected class instantiation attempts as detective controls while patches are tested.

Affected VersionsENISA

Apache MINA 2.2.X ≤2.2.6
Apache MINA 2.1.X ≤2.1.11

Affected Packages

maven org.apache.mina:mina-core fix: 2.1.12, 2.2.7
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 network application framework providing abstractions for TCP, UDP, and serial communication. The vulnerability resides in AbstractIoBuffer.resolveClass(), which handles object deserialization through the IoBuffer.getObject() API. The method contains two code paths: one for regular classes that applies a classname allowlist filter, and another for static classes and primitive types that bypasses validation entirely. This design flaw enables classic unsafe deserialization attacks (CWE-502) where untrusted data can instantiate arbitrary classes. The original fix for CVE-2026-41635 corrected this by moving allowlist validation before Class.forName() invocation, but was only applied to newer branches, leaving 2.1.X and 2.2.X versions vulnerable. The CPE identifies Apache Software Foundation's MINA framework as the affected product across both vulnerable version ranges.

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

Sources disagree (Low–Critical)
Vendor (apache) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat 9.8 LOW

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

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

The fix for CVE-2026-41635 was not applied to the 2.1.X and 2.2.X branches. Here was the original issue description:

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.1.0 <= 2.1.11, and 2.2.0 <= 2.2.6.

The problem is resolved in Apache MINA 2.1.12, and 2.2.7 by applying the classname allowlist earlier.

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

Applications using Apache MINA are advised to upgrade.

Executive ViewAI

Why It Matters

Apache MINA versions 2.1.0-2.1.11 and 2.2.0-2.2.6 contain a critical remote code execution vulnerability in deserialization logic that allows unauthenticated attackers to bypass security controls and execute arbitrary code on affected systems. Organizations using MINA for object deserialization face immediate risk of full system compromise; patching is urgent given the CRITICAL severity and lack of vendor-released fixes.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict network access to MINA-based services via firewall or VPN to trusted endpoints only; (2) disable IoBuffer.getObject() calls and refactor code to use safe serialization alternatives; (3) implement strict input validation and object type whitelisting at application level; (4) monitor for suspicious deserialization activity via application logging and IDS/IPS signatures.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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

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

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