9.8critical
Apache MINA: AbstractIoBuffer.resolveClass() null-clazz Branch Skips acceptMatchers Filter — Full Object Deserialization RCE (take 2)
- Severity
- 9.8critical CVSS:3.1 by apache
- Exploit likelihood
- 1.25% (higher than 70% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-vf5j-865m-mq7c
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.mina:mina-core | from 2.2.X up to 2.2.6, from 2.1.X up to 2.1.11 | CVE List |
| org.apache.mina:mina-core (Maven) | from 2.1.0 before 2.1.12, from 2.2.0 before 2.2.7 | GitHub Advisory Database |
| apache mina | from 2.1.0 before 2.1.12, from 2.2.0 before 2.2.7 | 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
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.
NVD (es)
La solución para CVE-2026-41635 no se aplicó a las ramas 2.1.X y 2.2.X. Aquí estaba la descripción original del problema: 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.1.0 menor o igual que 2.1.11, y 2.2.0 menor o igual que 2.2.6. El problema se resuelve en Apache MINA 2.1.12, y 2.2.7 aplicando la lista de permitidos de nombres de clase antes. Se ven afectadas las aplicaciones que usan Apache MINA que llaman a IoBuffer.getObject(). Se aconseja a las aplicaciones que usan Apache MINA que actualicen.
References
| https://lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0 | mailing-list, patch, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-42779 | advisory | |
| https://github.com/advisories/GHSA-8297-v2rf-2p32 | advisory | |
| https://github.com/apache/mina | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-42779 changed 2026-05-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vf5j-865m-mq7c changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-42779 changed 2026-10-26 | Public domain |