---
title: "CVE-2024-52046: Apache MINA Deserialization RCE Vulnerability"
url: https://erroneo.us/security/cve/CVE-2024-52046/
description: "CVE-2024-52046 (org.apache.mina:mina-core (Maven)): The ObjectSerializationDecoder in Apache MINA uses Java’s native deserialization protocol to process…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-12-25
date_modified: 2025-08-02
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-52046"
kev: false
cvss: 10
epss: 0.24366
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-52046: Apache MINA Deserialization RCE Vulnerability

**Signal:** High exploit likelihood. EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 24.4% , percentile 98: FIRST’s model estimates a 24.4% chance of exploitation activity in the next 30 days, higher than 98% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes org.apache.mina:mina-core (Maven) >= 2.2.0, < 2.2.4, fixed in 2.2.4 ; org.apache.mina:mina-core (Maven) >= 2.1.0, < 2.1.10, fixed in 2.1.10 ; org.apache.mina:mina-core (Maven) >= 2.0.0-M1, < 2.0.27, fixed in 2.0.27 . Check your lockfile, including transitive dependencies.

## What it is

The ObjectSerializationDecoder in Apache MINA uses Java’s native deserialization protocol to process incoming serialized data but lacks the necessary security checks and defenses. This vulnerability allows attackers to exploit the deserialization process by sending specially crafted malicious serialized data, potentially leading to remote code execution (RCE) attacks. This issue affects MINA core versions 2.0.X, 2.1.X and 2.2.X, and will be fixed by the releases 2.0.27, 2.1.10 and 2.2.4. It's also important to note that an application using MINA core library will only be affected if the IoBuffer#getObject() method is called, and this specific method is potentially called when adding a ProtocolCodecFilter instance using the ObjectSerializationCodecFactory class in the filter chain. If your application is specifically using those classes, you have to upgrade to the latest version of MINA core library. Upgrading will not be enough: you also need to explicitly allow the classes the decoder will accept in the ObjectSerializationDecoder instance, using one of the three new methods: / Accept class names where the supplied ClassNameMatcher matches for deserialization, unless they are otherwise rejected. @param classNameMatcher the matcher to use / public void accept(ClassNameMatcher classNameMatcher) / Accept class names that match the supplied pattern for deserialization, unless they are otherwise rejected. @param pattern standard Java regexp / public void accept(Pattern pattern) / Accept the wildcard specified classes for deserialization, unless they are otherwise rejected. @param patterns Wildcard file name patterns as defined by {@link org.apache.commons.io.FilenameUtils#wildcardMatch(String, String) FilenameUtils.wildcardMatch} / public void accept(String... patterns) By default, the decoder will reject all classes that will be present in the incoming data. Note: The FtpServer, SSHd and Vysper sub-project are not affected by this issue.

## Affected packages

- Maven `org.apache.mina:mina-core` >= 2.2.0, < 2.2.4 → fixed: 2.2.4
- Maven `org.apache.mina:mina-core` >= 2.1.0, < 2.1.10 → fixed: 2.1.10
- Maven `org.apache.mina:mina-core` >= 2.0.0-M1, < 2.0.27 → fixed: 2.0.27

## Affected products (CVE record)

- Apache Software Foundation Apache MINA: 2.1 <= 2.1.9, 2.2 <= 2.2.3

## Severity

- apache CVSS 4.0: 10 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- GitHub CVSS 4.0: 10.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 24.37% probability of exploitation activity in the next 30 days; percentile 98.

## Sources

- [lists.apache.org](https://lists.apache.org/thread/4wxktgjpggdbto15d515wdctohb0qmv8)
- [GitHub Advisory GHSA-76h9-2vwh-w278](https://github.com/advisories/GHSA-76h9-2vwh-w278)
- [CVE.org record CVE-2024-52046](https://www.cve.org/CVERecord?id=CVE-2024-52046)
- [NVD entry CVE-2024-52046](https://nvd.nist.gov/vuln/detail/CVE-2024-52046)
- [openwall.com](http://www.openwall.com/lists/oss-security/2024/12/25/1)
- [security.netapp.com](https://security.netapp.com/advisory/ntap-20250103-0001/)

---
Source page: https://erroneo.us/security/cve/CVE-2024-52046/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
