ADVISORIES

GitHub Advisory Database

GHSA-995c-6rp3-4m4x

Apache MINA vulnerable to Deserialization of Untrusted Data (CVE-2026-41409 Incomplete Fix)

Critical CVE-2026-42778

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.apache.mina:mina-core
From 2.1.0 before 2.1.12 (fixed in 2.1.12)
Mavenorg.apache.mina:mina-core
From 2.2.0 before 2.2.7 (fixed in 2.2.7)

References