CVE-2026-42779
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.mina:mina-coreMaven | >= 2.1.0, < 2.1.12 | 2.1.12 |
org.apache.mina:mina-coreMaven | >= 2.2.0, < 2.2.7 | 2.2.7 |
Affected products
14- osv-coords13 versionspkg:apk/chainguard/apache-hoppkg:apk/chainguard/apache-hop-fipspkg:apk/chainguard/apache-nifipkg:apk/chainguard/jenkins-2.541pkg:apk/chainguard/jenkins-2.541-openjdk-17pkg:apk/chainguard/jenkins-2.541-openjdk-21pkg:apk/chainguard/jenkins-2.541-openjdk-25pkg:apk/chainguard/jenkins-2-openjdk-21pkg:apk/chainguard/jenkins-2-openjdk-25pkg:apk/wolfi/apache-nifipkg:apk/wolfi/jenkins-2-openjdk-21pkg:apk/wolfi/jenkins-2-openjdk-25pkg:maven/org.apache.mina/mina-core
< 2.17.0-r10+ 12 more
- (no CPE)range: < 2.17.0-r10
- (no CPE)range: < 2.17.0-r10
- (no CPE)range: < 2.9.0-r5
- (no CPE)range: < 2.541.3-r7
- (no CPE)range: < 2.541.3-r7
- (no CPE)range: < 2.541.3-r7
- (no CPE)range: < 2.541.3-r7
- (no CPE)range: < 2.564-r1
- (no CPE)range: < 2.564-r1
- (no CPE)range: < 2.9.0-r5
- (no CPE)range: < 2.564-r1
- (no CPE)range: < 2.564-r1
- (no CPE)range: >= 2.1.0, < 2.1.12
Patches
Vulnerability mechanics
References
4- lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0nvdPatchVendor AdvisoryMailing ListWEB
- github.com/advisories/GHSA-8297-v2rf-2p32ghsaADVISORY
- github.com/advisories/GHSA-vf5j-865m-mq7cghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-42779ghsaADVISORY
News mentions
2- ⚡ Weekly Recap: Linux Rootkit, macOS Crypto Stealer, WebSocket Skimmers and MoreThe Hacker News · May 11, 2026
- Critical, High-Severity Vulnerabilities Patched in Apache MINA, HTTP ServerSecurityWeek · May 5, 2026