Apache MINA 3.0 codec can let attackers run code via untrusted Java objects
A networking library can be tricked into running an attacker's code when it reads data from an untrusted source. The flaw is in how it unpacks certain incoming messages, and there is no planned fix for this version line.
| Severity | CriticalCVSS 9.8 of 10 |
|---|---|
| Being exploited? | UnclearNo reports either way yet |
| Fix available? | Not yetUse the workaround below until a patch ships |
| How sure is this? | Official, 3 sourcesBacked by an official source |
How the attack works simplified
- 1Attacker crafts payloadSerialized Java objects with malicious gadget chain
- 2Payload sent to serviceReaches any exposed MINA endpoint
- 3Decoder reads frameObjectInputStream.readObject() runs without class filter
- 4Code runs on serverGadget chain executes attacker commands
- ResultAttacker controls the server
What happened
JavaNativeMessageDecoder in the Apache MINA 3.0 codec module calls ObjectInputStream.readObject() on incoming frame bytes with no class filter, enabling unsafe deserialization (CWE-502) and gadget-chain remote code execution.
Are you affected?
You are affected if you use Apache MINA 3.0.0 through 3.0.0-M2 with JavaNativeMessageDecoder receiving data from untrusted peers.
Apache MINA 3.0.0 through 3.0.0-M2 (JavaNativeMessageDecoder in the 3.0 codec module)
What to do
- Stop using JavaNativeMessageDecoder for input from untrusted peers
- Migrate to the latest Apache MINA 2.2.X branch, as the project recommends
- Audit any code that deserializes network frames with ObjectInputStream
Timeline
- 31 Oct 2026, 08:14 UTCPublicly disclosed
- 31 Oct 2026, 08:14 UTCReported by oss-security · oss-security
- 31 Oct 2026, 08:15 UTCPicked up by Zero Radar
- 31 Oct 2026, 21:19 UTCNVD reported on it · NVD
- 1 Nov 2026, 00:35 UTCGitHub Advisory reported on it · GitHub Advisory
Sources 3 reports, oldest first
Official vendor, government CERT or advisory database
- CVE-2026-118636NVD · 31 Oct 2026, 21:16 UTC
- **UNSUPPORTED WHEN ASSIGNED** JavaNativeMessageDecoder in the MINA 3.0 codec module calls...GitHub Advisory · 31 Oct 2026, 21:31 UTC
Security researchers research teams and mailing lists
- CVE-2026-118636: Apache MINA: Unsafe Deserialization (CWE-502) in JavaNativeMessageDecodeross-security · 31 Oct 2026, 08:14 UTC
Technical details
- ID
- CVE-2026-118636 · GHSA-gcvh-r85p-53mh
- CVSS
- 9.8 / 10
- EPSS
- 0.6% chance of exploitation within 30 days
- Disclosed
- 31 Oct 2026, 08:14 UTC
- On Zero Radar
- 31 Oct 2026, 08:15 UTC (1 min after disclosure)
- Last change
- 1 Nov 2026, 00:35 UTC
The plain-language parts and the attack diagram were written by an AI model (claude-haiku-5-5) from the sources above. Facts like versions, exploitation and dates come from the sources themselves. How Zero Radar works