CVE-2026-42779
Full vulnerability record from the local CVENow database.
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.
View original CVE JSON
{
"id": "CVE-2026-42779",
"sourceIdentifier": "[email protected]",
"published": "2026-05-01T11:16:19.537",
"lastModified": "2026-10-26T22:10:00.163",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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:\n\n\n\n\n\n\n\n\n\n\n\nApache 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.\n\n\n\n\nThe fix checks if the class is present in the accepted class filter before calling Class.forName(). \n\n\n\n\n\n\nAffected versions are Apache MINA 2.1.0 <= 2.1.11, and 2.2.0 <= 2.2.6.\n\n\n\n\n\nThe problem is resolved in Apache MINA 2.1.12, and 2.2.7 by \napplying the classname allowlist earlier.\n\n\n\n\n\nAffected are applications using Apache MINA that call IoBuffer.getObject().\n\n\n\n\n\nApplications using Apache MINA are advised to upgrade."
},
{
"lang": "es",
"value": "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:\n\nEl 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.\n\nLa solución verifica si la clase está presente en el filtro de clases aceptadas antes de llamar a Class.forName().\n\nLas 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.\n\nEl problema se resuelve en Apache MINA 2.1.12, y 2.2.7 aplicando la lista de permitidos de nombres de clase antes.\n\nSe ven afectadas las aplicaciones que usan Apache MINA que llaman a IoBuffer.getObject().\n\nSe aconseja a las aplicaciones que usan Apache MINA que actualicen."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "Apache Software Foundation",
"product": "Apache MINA",
"defaultStatus": "unaffected",
"collectionURL": "https://repo.maven.apache.org/maven2",
"packageName": "org.apache.mina:mina-core",
"versions": [
{
"version": "2.2.X",
"lessThanOrEqual": "2.2.6",
"versionType": "semver",
"status": "affected"
},
{
"version": "2.1.X",
"lessThanOrEqual": "2.1.11",
"versionType": "semver",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-05-01T00:00:00+00:00",
"id": "CVE-2026-42779",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-502"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:apache:mina:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.1.0",
"versionEndExcluding": "2.1.12",
"matchCriteriaId": "BD7E18F5-1CE6-4CD7-8A0D-BD0C2574FF12"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:apache:mina:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.2.0",
"versionEndExcluding": "2.2.7",
"matchCriteriaId": "758E989E-5CB0-471C-AADB-43EB3FB95407"
}
]
}
]
}
],
"references": [
{
"url": "https://lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0",
"source": "[email protected]",
"tags": [
"Mailing List",
"Patch",
"Vendor Advisory"
]
}
]
}