Apache Software Foundation Apache MINA
Apache MINA: CWE-502 Deserialization of Untrusted Data (take 2)
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 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.110, 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 versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 2.2.X, <= 2.2.6
- >= 2.1.X, <= 2.1.11
- >= 2.1.0, < 2.1.12
Fixed in 2.1.12
from GitHub Security Advisory GHSA-995c-6rp3-4m4x
- >= 2.2.0, < 2.2.7
Fixed in 2.2.7
from GitHub Security Advisory GHSA-995c-6rp3-4m4x
Mitigation
Upgrade org.apache.mina:mina-core to 2.1.12 or later.
Upgrade org.apache.mina:mina-core to 2.2.7 or later.
References
- Vendor advisory lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Akinfue/CVE-2026-42778-POC | 4 May 2026 +3.1 d | 0 | Informational · write-up
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.