CVE-2026-42778: Apache MINA Deserialization of Untrusted Data Vulnerability

org.apache.mina:mina-core Updated 07 May 2026

Summary

01/05/2026
Yes i
Critical
9.8

CVE-2026-42778: Apache MINA vulnerable to Deserialization of Untrusted Data (CVE-2026-41409 Incomplete Fix). Affects org.apache.mina:mina-core across 2 version ranges.

>= 2.1.0, < 2.1.12 >= 2.2.0, < 2.2.7

Fixed in 2.1.12 or 2.2.7, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache MINA is a popular network application framework that enables developers to create high-performance and scalable network applications easily. It provides a range of features, including support for various transport protocols, asynchronous I/O, and a flexible architecture. However, it has been found to be vulnerable to a deserialization issue that can lead to severe security risks if exploited.

Vulnerability Detail

The vulnerability arises from an incomplete fix for CVE-2026-41409, where the classname allowlist for deserialization was applied too late in the process. This flaw allows untrusted data to be deserialized, potentially leading to remote code execution or other malicious activities. Specifically, the issue affects Apache MINA versions 2.1.0 through 2.1.11 and 2.2.0 through 2.2.6, making applications that utilize IoBuffer.getObject() susceptible to exploitation.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.1.0, < 2.1.12 2.1.12
  • >= 2.2.0, < 2.2.7 2.2.7

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary measure, users can avoid using the IoBuffer.getObject() method until they can upgrade to the patched versions. Additionally, implementing strict input validation and sanitization can help mitigate risks associated with deserialization vulnerabilities.

Conclusion

The Apache MINA vulnerability CVE-2026-42778 poses a significant risk due to the deserialization of untrusted data. It is essential for users to upgrade to the patched versions to mitigate potential security threats. Regular monitoring and updates are crucial for maintaining application security.

See every vulnerability recorded for org.apache.mina:mina-core →

Share this vulnerability

FAQ

CVE-2026-42778 is a critical vulnerability in Apache MINA that allows deserialization of untrusted data due to an incomplete fix for a previous issue.

Apache MINA versions 2.1.0 to 2.1.11 and 2.2.0 to 2.2.6 are affected by this vulnerability.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By simply using your pom.xml file, Vulert can help identify if your application is affected by this vulnerability.

The CVSS score for this vulnerability is 9.8, indicating a critical level of risk.

To upgrade, modify your pom.xml file to include the updated version of mina-core, either 2.1.12 or 2.2.7, and then rebuild your project.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.mina:mina-core.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.1.0, < 2.1.12 2.1.12
  • >= 2.2.0, < 2.2.7 2.2.7

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback