CVE-2026-42779
JSON

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 packageVersionsReported by
org.apache.mina:mina-corefrom 2.2.X up to 2.2.6, from 2.1.X up to 2.1.11CVE List
org.apache.mina:mina-core (Maven)from 2.1.0 before 2.1.12, from 2.2.0 before 2.2.7GitHub Advisory Database
apache minafrom 2.1.0 before 2.1.12, from 2.2.0 before 2.2.7NVD

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

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

Sources

SourceRecordLicence
CVE ListCVE-2026-42779 changed 2026-05-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-vf5j-865m-mq7c changed 2026-09-10CC-BY-4.0
NVDCVE-2026-42779 changed 2026-10-26Public domain