9.8critical
Apache MINA: AbstractIoBuffer.resolveClass() null-clazz Branch Skips acceptMatchers Filter — Full Object Deserialization RCE
- Severity
- 9.8critical CVSS:3.1 by apache
- Exploit likelihood
- 0.63% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-8297-v2rf-2p32
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.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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.mina:mina-core | from 2.2.0 up to 2.2.5, from 2.1.0 up to 2.1.10, from 2.0.0 up to 2.0.27 | CVE List |
| org.apache.mina:mina-core (Maven) | from 2.0.0 before 2.0.28, from 2.1.0 before 2.1.11, from 2.2.0 before 2.2.6 | GitHub Advisory Database |
| apache mina | from 2.0.0 before 2.0.28, from 2.1.0 before 2.1.11, from 2.2.0 before 2.2.6 | NVD |
All scores
| apache | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
El método AbstractIoBuffer.resolveClass() de Apache MINA contiene dos ramas, una de ellas (para clases estáticas o tipos primitivos) no verifica la clase en absoluto, eludiendo la lista de permitidos de nombres de clase y permitiendo la ejecución de código arbitrario. La solución verifica si la clase está presente en el filtro de clases aceptadas antes de llamar a Class.forName(). Las versiones afectadas son Apache MINA 2.0.0 menor o igual que 2.0.27, 2.1.0 menor o igual que 2.1.10 y 2.2.0 menor o igual que 2.2.5. El problema se resuelve en Apache MINA 2.0.28, 2.1.11 y 2.2.6 aplicando la lista de permitidos de nombres de clase antes. Se ven afectadas las aplicaciones que utilizan Apache MINA y que llaman a IoBuffer.getObject(). Se aconseja a las aplicaciones que utilizan Apache MINA actualizar.
References
| https://lists.apache.org/thread/1l91w1mqsb3lwfd504fs045ylxntt2tm | mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2026/04/27/4 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-41635 | advisory | |
| https://github.com/apache/mina | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-41635 changed 2026-04-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8297-v2rf-2p32 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-41635 changed 2026-10-26 | Public domain |