CVE-2026-41635
JSON

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 packageVersionsReported by
org.apache.mina:mina-corefrom 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.27CVE 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.6GitHub Advisory Database
apache minafrom 2.0.0 before 2.0.28, from 2.1.0 before 2.1.11, from 2.2.0 before 2.2.6NVD

All scores

apache9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-502

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

Sources

SourceRecordLicence
CVE ListCVE-2026-41635 changed 2026-04-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-8297-v2rf-2p32 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-41635 changed 2026-10-26Public domain