Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2026-42779 EUVD-2026-26493GHSA-vf5j-865m-mq7c

Apache MINA: AbstractIoBuffer.resolveClass() null-clazz Branch Skips acceptMatchers Filter — Full Object Deserialization RCE (take 2)

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

Description

The fix for CVE-2026-41635 was not applied to the 2.1.X and 2.2.X branches. Here was the original issue description:

Apache MINA's AbstractIoBuffer.resolveClass() contains two branches, one of them (for static classes or primitive types) does not check the class at all, bypassing the classname allowlist and allowing arbitrary code to be executed.

The fix checks if the class is present in the accepted class filter before calling Class.forName().

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 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

  • dinosn/CVE-2026-42779 ★ 11 · May 2, 2026

    CVE-2026-42779: Apache MINA AbstractIoBuffer.resolveClass() deserialization filter bypass to RCE (CVSS 9.8)

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-vf5j-865m-mq7c
Maven org.apache.mina:mina-core >= 2.2.0, < 2.2.7 2.2.7 GHSA-vf5j-865m-mq7c

Advisories 8

References