CVE-2026-118636

Apache MINA: Unsafe Deserialization (CWE-502) in JavaNativeMessageDecoder

Published Oct 31, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In the Apache MINA 3.0 codec module, JavaNativeMessageDecoder reads incoming frame bytes through ObjectInputStream without applying a class filter. This flaw allows an attacker to craft a serialized payload that triggers a gadget‑chain during deserialization, resulting in remote code execution on any system that accepts untrusted data for this decoder. The weakness is an unsafe deserialization vulnerability, classified as CWE‑502, and it compromises confidentiality, integrity and availability of the affected application.

Affected Systems

The vulnerability is limited to the Apache MINA 3.0.0 branch. The 3.0.0 code base is inactive and will not receive a fix. Apache recommends users migrate to the latest Apache MINA 2.2.X branch, which excludes the vulnerable JavaNativeMessageDecoder implementation.

Risk and Exploitability

The CVSS score of 9.8 marks this issue as critical; the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote: an adversary can send a crafted serialized payload over the network to any service that uses JavaNativeMessageDecoder with untrusted input. Exploitation requires no additional prerequisites beyond the presence of the vulnerable decoder.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Apache MINA library to the latest 2.2.X branch.
  • If upgrading is not possible, remove or disable JavaNativeMessageDecoder for connections originating from untrusted peers.
  • Implement a class filter on ObjectInputStream or replace the vulnerable deserialization mechanism with a safer implementation that accepts only trusted classes.

Generated by OpenCVE AI on October 31, 2026 at 21:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache mina
Vendors & Products Apache
Apache mina
Type Values Removed Values Added
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.
Title Apache MINA: Unsafe Deserialization (CWE-502) in JavaNativeMessageDecoder
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 6, 2026, 1:46 PM
Reserved
Oct 28, 2026, 5:16 PM
Status
Awaiting Analysis
Published
Oct 31, 2026, 9:16 PM
Modified
Nov 6, 2026, 2:17 PM