CVE-2026-42779Apache MINA: AbstractIoBuffer.resolveClass() null-clazz Branch Skips acceptMatchers…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mina2 | Fix pending | UBUNTU-CVE-2026-42779 | |
| Ubuntu 25.10 | mina2 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-42779 | |
| Red Hat Enterprise Linux 9 | maven-wagon | Not affected | ||
| Red Hat Enterprise Linux 9 | maven-wagon-javadoc | Not affected | ||
| Red Hat Enterprise Linux 8 | maven-wagon | Not affected | ||
| Red Hat Enterprise Linux 8 | maven-wagon-file | Not affected | ||
| Red Hat Enterprise Linux 8 | maven-wagon-ftp | Not affected | ||
| Red Hat Enterprise Linux 8 | maven-wagon-http | Not affected | ||
| Red Hat Enterprise Linux 8 | maven-wagon-http-lightweight | Not affected | ||
| Red Hat Enterprise Linux 8 | maven-wagon-http-shared | Not affected | ||
| Red Hat Enterprise Linux 8 | maven-wagon-javadoc | Not affected | ||
| Red Hat Enterprise Linux 8 | maven-wagon-provider-api | Not affected | ||
| Red Hat Enterprise Linux 8 | maven-wagon-providers | Not affected | ||
| Maven library | org.apache.mina:mina-core | Fixed | 2.2.7 | GHSA-vf5j-865m-mq7c |
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.
- Apache Software Foundation Apache MINA: affected: 2.2.X to 2.2.6, 2.1.X to 2.1.11
Vendor advisories:
- https://lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0 (vendor-advisory)
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.