CVE-2026-42778
Apache MINA vulnerable to Deserialization of Untrusted Data (CVE-2026-41409 Incomplete Fix)
Description
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:
The 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.
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.mina » mina-core | >= 2.1.0, < 2.1.12>= 2.2.0, < 2.2.7 | 2.1.12, 2.2.7 |
Blast radius
41% of the dependent artifacts (633) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2,819 |
| 2 hops | 8,560 |
| 3 hops | 11,408 |
| 4 hops | 21,679 |
| 5 hops | 17,702 |
| 6 hops | 5,557 |
Most used dependents
- org.jenkins-ci.tools » maven-hpi-plugin1,404 usages
- org.eclipse.jetty » jetty-maven-plugin1,337 usages
- org.eclipse.jetty » jetty-security843 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.eclipse.jetty.ee10 » jetty-ee10-servlet462 usages
- org.apache.hive » hive-jdbc404 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.hive » hive-service301 usages
- org.eclipse.jetty.ee10 » jetty-ee10-webapp242 usages
- org.jenkins-ci.plugins » git227 usages
- org.apache.ftpserver » ftpserver-core182 usages
- com.atlassian.confluence » confluence-test-support158 usages
- org.apache.camel » camel-jetty157 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-42778 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-76h9-2vwh-w278 | github.com |
| Advisory | GitHub advisory GHSA-f2wh-grmh-r6jm | github.com |
| Package | apache/mina | github.com |
| Web | thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0 | lists.apache.org |
