CVE-2026-42779 Details
Description
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.
A remote code execution vulnerability has been identified in Apache MINA versions 2.1.0 prior to 2.1.11 and 2.2.0 prior to 2.2.6. The issue arises in the AbstractIoBuffer.resolveClass() method, where the null-clazz branch for static classes or primitive types bypasses the classname allowlist, allowing arbitrary code execution. This vulnerability affects applications using Apache MINA that call IoBuffer.getObject() for deserializing Java classes from clients.
Users are advised to upgrade to Apache MINA versions 2.1.12 or 2.2.7, where this vulnerability has been fixed. The release notes for these versions are available on the Apache MINA website, and the downloads can be accessed from the Apache MINA download pages for versions 2.1 and 2.2.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0 | [email protected] | Mailing ListPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache mina | >= 2.1.0, < 2.1.12 >= 2.2.0, < 2.2.7 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 1, 2026 | Initial Analysis | [email protected] |
| May 1, 2026 | New CVE Received | [email protected] |