{"id":"CVE-2026-42778","aliases":["CVE-2026-42778","GHSA-995c-6rp3-4m4x"],"related":[],"kind":"vulnerability","state":"published","title":"Apache MINA: CWE-502 Deserialization of Untrusted Data (take 2)","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","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","source":"cvelist"},{"lang":"en","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\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\nAffected versions are Apache MINA 2.1.0 <= 2.1.11, and 2.2.0 <= 2.2.6.\n\nThe problem is resolved in Apache MINA 2.1.12, and 2.2.7 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"La solución para CVE-2026-41409 no se aplicó a las ramas 2.1.X y 2.2.X. Aquí estaba la descripción original del problema:\n\nLa solución para CVE-2024-52046 en Apache MINA AbstractIoBuffer.getObject() fue incompleta. La lista de permitidos de nombres de clase de clases permitidas para ser deserializadas se aplicó demasiado tarde después de que un inicializador estático en una clase a ser leída ya podría haberse ejecutado.\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 al aplicar 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\n\nLa solución para CVE-2024-52046 en Apache MINA AbstractIoBuffer.getObject() fue incompleta. La lista de permitidos de nombres de clase de clases permitidas para ser deserializadas se aplicó demasiado tarde después de que un inicializador estático en una clase a ser leída ya podría haberse ejecutado.\n\nLas versiones afectadas son Apache MINA 2.1.0 menor o igual que 2.1.110, 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 al aplicar 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","source":"nvd"}],"published":"2026-05-01T10:01:10.081Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"2.2.X","lastAffected":"2.2.6","status":"affected"},{"type":"semver","introduced":"2.1.X","lastAffected":"2.1.11","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache MINA","package":"org.apache.mina:mina.core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.1.0","status":"affected","fixed":"2.1.12"}],"ecosystem":"Maven","package":"org.apache.mina:mina-core","purl":"pkg:maven/org.apache.mina/mina-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.2.0","status":"affected","fixed":"2.2.7"}],"ecosystem":"Maven","package":"org.apache.mina:mina-core","purl":"pkg:maven/org.apache.mina/mina-core","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.1.0","fixed":"2.1.12"},{"status":"affected","introduced":"2.2.0","fixed":"2.2.7"}],"vendor":"apache","product":"mina","cpe":"cpe:2.3:a:apache:mina:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0","tags":["mailing-list","patch","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42778","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-76h9-2vwh-w278","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-f2wh-grmh-r6jm","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/mina","tags":["package"],"sources":["ghsa"]}],"credits":["Venkatraman Kumar, Securin"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-05-01T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42778","url":"https://www.cve.org/CVERecord?id=CVE-2026-42778","licence":"CVE Terms of Use","modified":"2026-05-02T03:55:26.868Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-995c-6rp3-4m4x","url":"https://github.com/advisories/GHSA-995c-6rp3-4m4x","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:05.172Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42778","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42778","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:20.329Z","epss":{"score":0.00764,"percentile":0.56629,"date":"2026-12-01T12:00:22.000Z"}}