CVE-2026-41635
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.0.0 <= 2.0.27, 2.1.0 <= 2.1.10, and
2.2.0 <= 2.2.5.
The problem is resolved in Apache MINA 2.0.28, 2.1.11, and 2.2.6 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.0.0, < 2.0.28 | 2.0.28 |
org.apache.mina:mina-coreMaven | >= 2.1.0, < 2.1.11 | 2.1.11 |
org.apache.mina:mina-coreMaven | >= 2.2.0, < 2.2.6 | 2.2.6 |
Affected products
14- osv-coords13 versionspkg:apk/chainguard/apache-hoppkg:apk/chainguard/apache-hop-fipspkg: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.555-openjdk-21pkg:apk/chainguard/jenkins-2.555-openjdk-25pkg:apk/chainguard/jenkins-2-openjdk-21pkg:apk/chainguard/jenkins-2-openjdk-25pkg: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.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.555.2-r1
- (no CPE)range: < 2.555.2-r1
- (no CPE)range: < 2.564-r1
- (no CPE)range: < 2.564-r1
- (no CPE)range: < 2.564-r1
- (no CPE)range: < 2.564-r1
- (no CPE)range: >= 2.0.0, < 2.0.28
Patches
Vulnerability mechanics
References
4- www.openwall.com/lists/oss-security/2026/04/27/4nvdMailing ListThird Party AdvisoryWEB
- github.com/advisories/GHSA-8297-v2rf-2p32ghsaADVISORY
- lists.apache.org/thread/1l91w1mqsb3lwfd504fs045ylxntt2tmnvdMailing ListVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-41635ghsaADVISORY
News mentions
1- Critical, High-Severity Vulnerabilities Patched in Apache MINA, HTTP ServerSecurityWeek · May 5, 2026