CriticalGHSA-8297-v2rf-2p32CVE-2026-41635

Apache MINA vulnerable to Deserialization of Untrusted Data

Published 27 Apr 2026 · Updated 10 Sept 2026

Is your project on an affected org.apache.mina:mina-core?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=2.0.0 <2.0.28
Fixed in
2.0.28
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.mina:mina-core -DdepVersion=2.0.28 -DforceVersion=true
Affected
>=2.1.0 <2.1.11
Fixed in
2.1.11
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.mina:mina-core -DdepVersion=2.1.11 -DforceVersion=true
Affected
>=2.2.0 <2.2.6
Fixed in
2.2.6
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.mina:mina-core -DdepVersion=2.2.6 -DforceVersion=true

Details

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.

Is GHSA-8297-v2rf-2p32 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.mina:mina-core, and gives you the command that fixes it.

More advisories for org.apache.mina:mina-core

  • CriticalCVE-2026-47065Apache MINA: Critical Deserialization Allow-list Bypass via resolveProxyClass · 3 Jun 2026
  • CriticalCVE-2026-42778Apache MINA vulnerable to Deserialization of Untrusted Data (CVE-2026-41409 Incomplete Fix) · 1 May 2026
  • CriticalCVE-2026-42779Apache MINA vulnerable to Deserialization of Untrusted Data (CVE-2026-41635 Incomplete Fix) · 1 May 2026
  • CriticalCVE-2026-41409Apache MINA Vulnerable to Deserialization of Untrusted Data (CVE-2024-52046 Incomplete Fix) · 27 Apr 2026
  • CriticalCVE-2024-52046Apache MINA Deserialization RCE Vulnerability · 25 Dec 2024
  • HighCVE-2019-0231Cleartext Transmission of Sensitive Information in Apache MINA · 24 May 2022
All 8 advisories for org.apache.mina:mina-core

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.