WaratekVRT Sign in

CVE-2026-42779 Apache MINA

Affected softwareApache MINA
Severity9.8 Critical CVSS 3.1
Fixed in2.1.12, 2.2.7
WeaknessDeserialization of untrusted data (CWE-502)
Published1 May 2026
Updated26 Oct 2026

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed Published artifacts you can open, in GitHub PoC; first seen 2026-05-02.
  • EPSS 1.2% chance in 30 days
IndexArtifactStarsFirst seen
GitHub PoC CVE-2026-42779: Apache MINA AbstractIoBuffer.resolveClass() deserialization filter bypass to RCE (CVSS 9.8) 11 2026-05-02

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A researcher's recorded decision for this specific CVE
Finding An AI triage run found this CVE protected by the Marshal RCE rule, ARMR Process rule.

Waratek research note

written 2026-11-13

Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.

Comments

Rule Name: Marshal RCE rule, ARMR Process rule

Native-deserialization RCE: MINA's IoBuffer.getObject() skips its class allowlist for type-0 descriptors. Marshal deserialize(java)+rce() intercepts the gadget chain at ObjectInputStream.readObject(), and the Process rule (with /bin/* and /usr/bin/* listed in execute()) blocks the Runtime.exec the chain ends in.

How to mitigate CVE-2026-42779

Upgrade Apache MINA to a release that fixes it: 2.1.12 or 2.2.7. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update October 2026 ↗ CPU 2026-Q4 Oracle Fusion Middleware / MFT Runtime Server (Apache Mina) (14.1.2.0.0)
Oracle HealthCare Applications / Core (Apache Mina) (5.0.0.0-5.0.9.7)
Oracle HealthCare Applications / Record Locator (Apache Mina) (4.0.0-4.0.3)
Oracle Critical Patch Update July 2026 ↗ CPU 2026-Q3 Oracle Communications / Cartridges (Apache Mina) (7.3.6, 7.4.0, 7.5.0, 8.0.0)
Oracle Critical Security Patch Update August 2026 ↗ CSPU 2026-Q3 Oracle Communications / Core (Apache Mina) (6.1.1-7.0.0)
Oracle Communications / Security (Apache Mina) (25.2.0.0.10)
Oracle Critical Security Patch Update September 2026 ↗ CSPU 2026-Q3 Oracle Enterprise Manager / Agent Next Gen (Apache Mina) (13.5, 24.1)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Cartridges (Apache Mina) 7.3.6, 7.4.0, 7.5.0, 8.0.0 7.3.6 · 7.4.0 · 7.5.0 · 8.0.0
Oracle Communications Core (Apache Mina) 6.1.1-7.0.0
Oracle Communications Security (Apache Mina) 25.2.0.0.10 25.2.0.0.10
Oracle Enterprise Manager Agent Next Gen (Apache Mina) 13.5, 24.1 13.5 · 24.1
Oracle Fusion Middleware MFT Runtime Server (Apache Mina) 14.1.2.0.0 14.1.2.0.0
Oracle HealthCare Applications Core (Apache Mina) 5.0.0.0-5.0.9.7
Oracle HealthCare Applications Record Locator (Apache Mina) 4.0.0-4.0.3

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.mina:mina-core 2.1.0 2.1.12 unbounded
org.apache.mina:mina-core 2.2.0 2.2.7 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd apache mina generic ≥ 2.1.0 and < 2.1.12 · ≥ 2.2.0 and < 2.2.7
osv org.apache.mina mina-core generic ≥ 2.1.0 and < 2.1.12 · ≥ 2.2.0 and < 2.2.7

References

URLTags
https://github.com/advisories/GHSA-8297-v2rf-2p32 ADVISORY
https://github.com/apache/mina PACKAGE
https://lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0 WEB

Timeline

Published2026-05-01By the CVE Program.
Last VRT activity2026-10-21Most recent commit touching this CVE's classification, patch or rule file.
NVD record modified2026-10-26NVD's own last-modified date for this record.
Classification created2026-11-13First commit adding this CVE's research note.