Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-41409 EUVD-2026-25809GHSA-f2wh-grmh-r6jm

Apache MINA: CWE-502 Deserialization of Untrusted Data

Published Apr 27, 2026 · Updated Apr 27, 2026 · Assigned by apache

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.0.0 <= 2.0.27, 2.1.0 <= 2.1.10, and 2.2.0 <= 2.2.5.

The problem is resolved in Apache MINA 2.0.28, 2.1.11, and 2.2.6 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 products

VendorProductAffectedFixed
Apache Software Foundation Apache MINA 2.2.0 – ≤ 2.2.5, 2.1.0 – ≤ 2.1.10, 2.0.0 – ≤ 2.0.27 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mina2 2.2.9-1 —
Debian 13 mina2 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mina2 No fix yet —
Ubuntu 25.10 mina2 No fix yet —
Ubuntu 24.04 LTS mina No fix yet —
Ubuntu 22.04 LTS mina No fix yet —
Ubuntu 20.04 LTS mina +1 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS mina +1 No fix yet —
Ubuntu 16.04 LTS mina +1 No fix yet —
Ubuntu Pro 24.04 LTS mina2 No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling apache-nifi 2.9.0-r4 —
Wolfi rolling jenkins-2-openjdk-21 +1 2.564-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.mina:mina-core >= 2.0.0, < 2.0.28 2.0.28 GHSA-f2wh-grmh-r6jm
Maven org.apache.mina:mina-core >= 2.1.0, < 2.1.11 2.1.11 GHSA-f2wh-grmh-r6jm
Maven org.apache.mina:mina-core >= 2.2.0, < 2.2.6 2.2.6 GHSA-f2wh-grmh-r6jm

Advisories 2

References