CVEfocus › CVE database › CVE-2026-42778

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

CVSS 9.8 CriticalEPSS 0.8% (higher than 51% of CVEs)Published 2026-05-01Updated 2026-05-02Assigner: apache

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

CWE-502

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
1Fix pending
1Will not fix
11Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10mina2Fix pendingUBUNTU-CVE-2026-42778
Ubuntu 25.10mina2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-42778
Red Hat Enterprise Linux 9maven-wagonNot affected
Red Hat Enterprise Linux 9maven-wagon-javadocNot affected
Red Hat Enterprise Linux 8maven-wagonNot affected
Red Hat Enterprise Linux 8maven-wagon-fileNot affected
Red Hat Enterprise Linux 8maven-wagon-ftpNot affected
Red Hat Enterprise Linux 8maven-wagon-httpNot affected
Red Hat Enterprise Linux 8maven-wagon-http-lightweightNot affected
Red Hat Enterprise Linux 8maven-wagon-http-sharedNot affected
Red Hat Enterprise Linux 8maven-wagon-javadocNot affected
Red Hat Enterprise Linux 8maven-wagon-provider-apiNot affected
Red Hat Enterprise Linux 8maven-wagon-providersNot affected
Maven libraryorg.apache.mina:mina-coreFixed2.2.7GHSA-995c-6rp3-4m4x

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.