{"id":"CVE-2026-42778","published":"2026-05-01T10:01:10Z","modified":"2026-05-02T03:55:26Z","title":"Apache MINA: CWE-502 Deserialization of Untrusted Data (take 2)","vendor":"Apache","product":"Apache MINA","tier":"tail","description":{"text":"The fix for CVE-2026-41409 was not applied to the 2.1.X and 2.2.X branches. Here was the original issue description:\n\n\n\n\nThe fix for CVE-2024-52046 in Apache MINA AbstractIoBuffer.getObject() was incomplete. The classname allowlist of classes allowed to be deserialized was applied too late after a static initializer in a class to be read might already have been executed.\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\nThe problem is resolved in Apache MINA 2.1.12, and 2.2.7 by \napplying the classname allowlist earlier.\n\n\n\n\nAffected are applications using Apache MINA that call IoBuffer.getObject().\n\n\n\n\nApplications using Apache MINA are advised to upgrade\n\n\n\n\n\n\nThe fix for CVE-2024-52046 in Apache MINA AbstractIoBuffer.getObject() was incomplete. The classname allowlist of classes allowed to be deserialized was applied too late after a static initializer in a class to be read might already have been executed.\n\n\n\n\nAffected versions are Apache MINA 2.1.0 <= 2.1.110, and 2.2.0 <= 2.2.6.\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\nAffected are applications using Apache MINA that call IoBuffer.getObject().\n\n\n\n\nApplications using Apache MINA are advised to upgrade","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00657,"percentile":0.51307,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0","tags":["vendor-advisory"]}],"priority":{"score":22.1,"factors":[{"name":"EPSS percentile","points":10.26},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-05-04","earliestUrl":"https://github.com/Akinfue/CVE-2026-42778-POC","repos":[{"name":"Akinfue/CVE-2026-42778-POC","url":"https://github.com/Akinfue/CVE-2026-42778-POC","stars":0,"created":"2026-05-04"}]},"first":{"date":"2026-05-04","source":"PoC-in-GitHub","url":"https://github.com/Akinfue/CVE-2026-42778-POC"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache MINA","versions":[">= 2.2.X, <= 2.2.6",">= 2.1.X, <= 2.1.11"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.mina:mina-core","vulnerableRanges":[">=2.1.0, <2.1.12",">=2.2.0, <2.2.7"],"patched":["2.1.12","2.2.7"],"from":["GHSA-995c-6rp3-4m4x"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-26492","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-mina-cve-2024-52046","parents":[{"from":"CVE-2024-52046","to":"CVE-2026-42778","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"The fix for CVE-2024-52046 in Apache MINA AbstractIoBuffer.getObject() was incomplete.","from":"CVE.org","in":"CVE-2026-42778"},{"kind":"osv-related","provenance":"source","id":"GHSA-995c-6rp3-4m4x","via":"reference","url":"https://github.com/advisories/GHSA-76h9-2vwh-w278"}]},{"from":"CVE-2026-41409","to":"CVE-2026-42778","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"The fix for CVE-2026-41409 was not applied to the 2.1.X and 2.2.X branches.","from":"CVE.org","in":"CVE-2026-42778"},{"kind":"osv-related","provenance":"source","id":"GHSA-995c-6rp3-4m4x","via":"reference","url":"https://github.com/advisories/GHSA-f2wh-grmh-r6jm"},{"kind":"similar","provenance":"machine","score":0.96,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2024-52046","published":"2024-12-25","fixed":"2.2.4","kev":false},{"cve":"CVE-2026-41409","published":"2026-04-27","fixed":"2.2.6","kev":false},{"cve":"CVE-2026-41635","published":"2026-04-27","fixed":"2.2.6","kev":false,"link":{"from":"CVE-2026-41635","to":"CVE-2026-42778","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.mina:mina-core","fromFixed":"2.1.11","toFixed":"2.1.12","daysApart":4},{"kind":"similar","provenance":"machine","score":0.55,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-42778","published":"2026-05-01","fixed":"2.2.7","kev":false},{"cve":"CVE-2026-42779","published":"2026-05-01","fixed":"2.2.7","kev":false},{"cve":"CVE-2026-47065","published":"2026-06-03","fixed":"2.2.8","kev":false}],"package":"Maven:org.apache.mina:mina-core"}}