CVE-2026-42778: CWE-502 Deserialization of Untrusted Data in Apache Software Foundation Apache MINA
CVE-2026-42778 is a critical deserialization vulnerability in Apache MINA versions 2.1.0 through 2.1.11 and 2.2.0 through 2.2.6. The issue arises because the classname allowlist intended to restrict deserialization was applied too late, after a static initializer in a class might have already executed, allowing unsafe deserialization of untrusted data.
AI Analysis
Technical Summary
This vulnerability is a deserialization of untrusted data issue (CWE-502) in Apache MINA's AbstractIoBuffer.getObject() method. The fix for a prior related vulnerability (CVE-2024-52046) was incomplete because the classname allowlist was enforced too late, after static initializers could run, potentially enabling unsafe deserialization. Versions 2.1.0 to 2.1.11 and 2.2.0 to 2.2.6 are affected. The problem is fixed in versions 2.1.12 and 2.2.7 by applying the classname allowlist earlier in the deserialization process. This vulnerability has a CVSS 3.1 score of 9.8, indicating critical severity with network attack vector, low complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary code or cause denial of service by exploiting unsafe deserialization in affected Apache MINA versions. The vulnerability impacts confidentiality, integrity, and availability of affected systems. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available by upgrading Apache MINA to version 2.1.12 or 2.2.7 or later, where the classname allowlist is applied earlier in the deserialization process. Users of affected versions should upgrade promptly. No other mitigation or temporary fix is indicated in the advisory.
CVE-2026-42778: CWE-502 Deserialization of Untrusted Data in Apache Software Foundation Apache MINA
Description
CVE-2026-42778 is a critical deserialization vulnerability in Apache MINA versions 2.1.0 through 2.1.11 and 2.2.0 through 2.2.6. The issue arises because the classname allowlist intended to restrict deserialization was applied too late, after a static initializer in a class might have already executed, allowing unsafe deserialization of untrusted data.
CVSS v3.1
Score 9.8critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability is a deserialization of untrusted data issue (CWE-502) in Apache MINA's AbstractIoBuffer.getObject() method. The fix for a prior related vulnerability (CVE-2024-52046) was incomplete because the classname allowlist was enforced too late, after static initializers could run, potentially enabling unsafe deserialization. Versions 2.1.0 to 2.1.11 and 2.2.0 to 2.2.6 are affected. The problem is fixed in versions 2.1.12 and 2.2.7 by applying the classname allowlist earlier in the deserialization process. This vulnerability has a CVSS 3.1 score of 9.8, indicating critical severity with network attack vector, low complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary code or cause denial of service by exploiting unsafe deserialization in affected Apache MINA versions. The vulnerability impacts confidentiality, integrity, and availability of affected systems. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available by upgrading Apache MINA to version 2.1.12 or 2.2.7 or later, where the classname allowlist is applied earlier in the deserialization process. Users of affected versions should upgrade promptly. No other mitigation or temporary fix is indicated in the advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-04-29T13:31:49.189Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f47ec1cbff5d8610ae12c2
Added to database: 5/1/2026, 10:21:53 AM
Last enriched: 5/9/2026, 2:16:25 AM
Last updated: 6/15/2026, 5:12:01 PM
Views: 209
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.