Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-41635 EUVD-2026-25796GHSA-8297-v2rf-2p32

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

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

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.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 —
Debian 12 mina +1 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 2 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 —

Wolfi

ReleasePackageFixed inAdvisory
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-8297-v2rf-2p32
Maven org.apache.mina:mina-core >= 2.1.0, < 2.1.11 2.1.11 GHSA-8297-v2rf-2p32
Maven org.apache.mina:mina-core >= 2.2.0, < 2.2.6 2.2.6 GHSA-8297-v2rf-2p32

Advisories 5

References