{"id":"GHSA-8297-v2rf-2p32","summary":"Apache MINA vulnerable to Deserialization of Untrusted Data","details":"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.\n\nThe fix checks if the class is present in the accepted class filter before calling Class.forName(). \n\nAffected versions are Apache MINA 2.0.0 \u003c= 2.0.27, 2.1.0 \u003c= 2.1.10, and 2.2.0 \u003c= 2.2.5.\n\nThe problem is resolved in Apache MINA 2.0.28, 2.1.11, and 2.2.6 by applying the classname allowlist earlier.\n\nAffected are applications using Apache MINA that call IoBuffer.getObject().\n\nApplications using Apache MINA are advised to upgrade.","aliases":["CVE-2026-41635"],"modified":"2026-07-17T21:06:49.709968440Z","published":"2026-04-27T09:34:39Z","database_specific":{"nvd_published_at":"2026-04-27T09:16:01Z","cwe_ids":["CWE-502"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-05-07T05:27:52Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41635"},{"type":"PACKAGE","url":"https://github.com/apache/mina"},{"type":"WEB","url":"https://lists.apache.org/thread/1l91w1mqsb3lwfd504fs045ylxntt2tm"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/04/27/4"}],"affected":[{"package":{"name":"org.apache.mina:mina-core","ecosystem":"Maven","purl":"pkg:maven/org.apache.mina/mina-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.28"}]}],"versions":["2.0.0","2.0.1","2.0.10","2.0.11","2.0.12","2.0.13","2.0.14","2.0.15","2.0.16","2.0.17","2.0.18","2.0.19","2.0.2","2.0.20","2.0.21","2.0.22","2.0.23","2.0.24","2.0.25","2.0.26","2.0.27","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-8297-v2rf-2p32/GHSA-8297-v2rf-2p32.json"}},{"package":{"name":"org.apache.mina:mina-core","ecosystem":"Maven","purl":"pkg:maven/org.apache.mina/mina-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.0"},{"fixed":"2.1.11"}]}],"versions":["2.1.0","2.1.1","2.1.10","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-8297-v2rf-2p32/GHSA-8297-v2rf-2p32.json"}},{"package":{"name":"org.apache.mina:mina-core","ecosystem":"Maven","purl":"pkg:maven/org.apache.mina/mina-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.2.6"}]}],"versions":["2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-8297-v2rf-2p32/GHSA-8297-v2rf-2p32.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}