CVE-2026-42778
Apache MINA: CWE-502 Deserialization of Untrusted Data (take 2)
Reported by apache · Published May 1, 2026
mina-core is fixed in 2.2.7 and 2.1.12 (Maven Central)
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.mina:mina-core | Maven Central | 2.2.7, 2.1.12 |
| org.apache.mina:mina.core | Maven Central | 2.2.6, 2.1.11 |
| jenkins-2.555 | Chainguard | 2.555.2-r1 |
| apache-hop-fips | Chainguard | 2.17.0-r10 |
| apache-nifi | Wolfi | 2.9.0-r5 |
| guacamole-client | Chainguard | 1.6.0-r13 |
| jenkins-2.541 | Chainguard | 2.541.3-r7 |
| apache-hop | Chainguard | 2.17.0-r10 |
| jenkins-2 | Chainguard | 2.564-r1 |
| apache-nifi | Chainguard | 2.9.0-r5 |
| jenkins-2 | Wolfi | 2.564-r1 |
| mina | apache | 2.2.7, 2.1.12 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache MINA | 2.2.X, 2.1.X |
| chainguard | jenkins-2.555 | 0 |
| chainguard | apache-hop-fips | 0 |
| Maven | org.apache.mina:mina-core | 2.2.0, 2.1.0 |
| wolfi | apache-nifi | 0 |
| chainguard | guacamole-client | 0 |
| Apache Software Foundation | Apache MINA | 2.1.X, 2.2.X |
| chainguard | jenkins-2.541 | 0 |
| chainguard | apache-hop | 0 |
| chainguard | jenkins-2 | 0 |
| chainguard | apache-nifi | 0 |
| wolfi | jenkins-2 | 0 |
Timeline
- May 1, 2026 CVE Published
- May 1, 2026 PoC Published (3 in total, the first dated here)
- May 2, 2026 CVE Updated
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Jun 1, 2026 Security Advisory
- Jul 28, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-42778
vulnetix vdb fixes CVE-2026-42778
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-42778/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart