Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.mina/mina-core
  4. ›
  5. CVE-2026-42778

CVE-2026-42778: Apache MINA vulnerable to Deserialization of Untrusted Data (CVE-2026-41409 Incomplete Fix)

May 1, 2026 (updated May 7, 2026)

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.

References

  • github.com/advisories/GHSA-76h9-2vwh-w278
  • github.com/advisories/GHSA-995c-6rp3-4m4x
  • github.com/advisories/GHSA-f2wh-grmh-r6jm
  • github.com/apache/mina
  • lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0
  • nvd.nist.gov/vuln/detail/CVE-2026-42778

Code Behaviors & Features

Detect and mitigate CVE-2026-42778 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.1.0 before 2.1.12, all versions starting from 2.2.0 before 2.2.7

Fixed versions

  • 2.1.12
  • 2.2.7

Solution

Upgrade to versions 2.1.12, 2.2.7 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

maven/org.apache.mina/mina-core/CVE-2026-42778.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:35 +0000.