# CVE-2026-42778: Apache MINA: CWE-502 Deserialization of Untrusted Data (take 2)

- Severity: Critical 9.8 (CVSS:3.1, scored by apache) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Published: 2026-05-01T10:01:10.081Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-995c-6rp3-4m4x
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: apache

## Description

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

(As written by CVE List.)

## Affected

- org.apache.mina:mina.core: from 2.2.X up to 2.2.6; from 2.1.X up to 2.1.11
- org.apache.mina:mina-core (Maven): from 2.1.0 before 2.1.12; from 2.2.0 before 2.2.7
- apache mina: from 2.1.0 before 2.1.12; from 2.2.0 before 2.2.7

## Every score

- apache: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0> (mailing-list, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42778> (advisory)
- <https://github.com/advisories/GHSA-76h9-2vwh-w278> (advisory)
- <https://github.com/advisories/GHSA-f2wh-grmh-r6jm> (advisory)
- <https://github.com/apache/mina> (package)

## Sources

- CVE List: [CVE-2026-42778](https://www.cve.org/CVERecord?id=CVE-2026-42778), CVE Terms of Use, modified 2026-05-02
- GitHub Advisory Database: [GHSA-995c-6rp3-4m4x](https://github.com/advisories/GHSA-995c-6rp3-4m4x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-42778](https://nvd.nist.gov/vuln/detail/CVE-2026-42778), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42778 · Whole record: https://cve.day/CVE-2026-42778.json · Rebuilt by cve.day 2026-11-25T22:59:20.329Z
