CVE-2026-42778: Apache MINA: CWE-502 Deserialization of Untrusted Data (take 2)

Published May 1, 2026
·
Updated

Last updated 18 June 2026

Other sources

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

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.110, 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

NVD

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

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.110, 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

IBM

Affected Software

4 affected components
Apache Apache MINA>=2.1.0<=2.1.11, >=2.2.0<=2.2.6
Apache MINA>=2.1.0<2.1.12
Apache MINA>=2.2.0<2.2.7
IBM API Connect V12 OnPrem<=All

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache MINA to a version that resolves this vulnerability.

    Fixed in 2.1.12
  2. Upgrade

    Upgrade Apache MINA to a version that resolves this vulnerability.

    Fixed in 2.2.7
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch CVE-2024-52046
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch CVE-2026-41409

Event History

May 1, 2026
CVE Published
via MITRE·10:01 AM
Data Sourced
via MITRE·10:01 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 25, 2026
Data Sourced
via Ubuntu·03:24 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·03:25 PM
DescriptionAffected Software
Jul 7, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42778?

CVE-2026-42778 is rated as a high-severity vulnerability due to its potential for remote code execution via deserialization of untrusted data.

2

Which versions of Apache MINA are affected by CVE-2026-42778?

CVE-2026-42778 affects Apache MINA versions 2.1.0 to 2.1.11 and 2.2.0 to 2.2.6.

3

How do I fix CVE-2026-42778?

To fix CVE-2026-42778, upgrade Apache MINA to version 2.1.12 or later for the 2.1.X branch and 2.2.7 or later for the 2.2.X branch.

4

What type of vulnerability is CVE-2026-42778?

CVE-2026-42778 is a deserialization of untrusted data vulnerability, classified under CWE-502.

5

What impact does CVE-2026-42778 have on applications using Apache MINA?

The impact of CVE-2026-42778 allows attackers to potentially execute arbitrary code on the server running vulnerable versions of Apache MINA.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203