{"id":"CVE-2026-42779","summary":"Apache MINA: AbstractIoBuffer.resolveClass() null-clazz Branch Skips acceptMatchers Filter — Full Object Deserialization RCE (take 2)","details":"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 \u003c= 2.1.11, and 2.2.0 \u003c= 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.","aliases":["GHSA-vf5j-865m-mq7c"],"modified":"2026-05-18T06:00:11.639341141Z","published":"2026-05-01T10:00:43.712Z","related":["CGA-q5jw-vwmh-f432"],"database_specific":{"cwe_ids":["CWE-502"],"cna_assigner":"apache","unresolved_ranges":[{"extracted_events":[{"introduced":"2.2.X"},{"last_affected":"2.2.6"},{"introduced":"2.1.X"},{"last_affected":"2.1.11"}],"source":"AFFECTED_FIELD"}],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42779.json"},"references":[{"type":"WEB","url":"https://repo.maven.apache.org/maven2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42779.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42779"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/mina","events":[{"introduced":"d595254cb8c254204d794457d42219321a6a2306"},{"fixed":"ddb1495e8483e7dc6f257419a356b87cb3929912"},{"introduced":"079d4592943ff892504e11a331c4f6601b7a04ec"},{"fixed":"a2fa7504ddff446a6cb93862f4517a6ca74b07cd"}],"database_specific":{"extracted_events":[{"introduced":"2.1.0"},{"fixed":"2.1.12"},{"introduced":"2.2.0"},{"fixed":"2.2.7"}],"cpe":"cpe:2.3:a:apache:mina:*:*:*:*:*:*:*:*","source":"CPE_FIELD"}}],"versions":["2.1.11","2.2.5","2.1.10","2.2.4","2.1.9","2.2.3","2.1.8","2.1.7","2.2.2","2.1.6","2.1.5","2.1.4","2.1.3","2.1.2","2.1.1","2.1.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-42779.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}