Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2026-42778 EUVD-2026-26492GHSA-995c-6rp3-4m4x

Apache MINA: CWE-502 Deserialization of Untrusted Data (take 2)

Published May 1, 2026 · Updated May 2, 2026 · Assigned by apache

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

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache MINA 2.2.X – ≤ 2.2.6, 2.1.X – ≤ 2.1.11 —

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
Ubuntu 26.10 mina2 No fix yet —
Ubuntu 25.10 mina2 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS mina2 2.2.1-4ubuntu0.1~esm1 USN-8465-1
Ubuntu Pro 24.04 LTS mina2 2.2.1-3ubuntu0.1~esm1 USN-8465-1
Ubuntu Pro 22.04 LTS mina2 2.1.5-1ubuntu0.1~esm1 USN-8465-1

Wolfi

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

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.mina:mina-core >= 2.1.0, < 2.1.12 2.1.12 GHSA-995c-6rp3-4m4x
Maven org.apache.mina:mina-core >= 2.2.0, < 2.2.7 2.2.7 GHSA-995c-6rp3-4m4x

Advisories 2

References