Read the docs
TI-2024-34922 Aliases CVE-2024-52046GHSA-76h9-2vwh-w278

Apache MINA: MINA applications using unbounded deserialization may allow RCE

Priority HIGH 70CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 fixed, 8 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-502.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.24649 97th percentileScored 2026-11-07
Fix Partial org.apache.mina:mina-core (Maven): 2.2.4, 2.1.10, 2.0.27Red Hat: 1 advisoryRed Hat: 1 fixed, 8 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache MINA2.1 – 2.1.9; 2.2 – 2.2.3—No fix listedCNA
—org.apache.mina:mina-core (Maven)2.2.0 to before 2.2.42.2.4Patch availableGHSA-76h9-2vwh-w278
—org.apache.mina:mina-core (Maven)2.1.0 to before 2.1.102.1.10Patch availableGHSA-76h9-2vwh-w278
—org.apache.mina:mina-core (Maven)2.0.0-M1 to before 2.0.272.0.27Patch availableGHSA-76h9-2vwh-w278
  • Apache MINA VendorApache Affected 2.1 – 2.1.9; 2.2 – 2.2.3 Fixed in — No fix listed CNA
  • org.apache.mina:mina-core (Maven) Vendor— Affected 2.2.0 to before 2.2.4 Fixed in 2.2.4 Patch available GHSA-76h9-2vwh-w278
  • org.apache.mina:mina-core (Maven) Vendor— Affected 2.1.0 to before 2.1.10 Fixed in 2.1.10 Patch available GHSA-76h9-2vwh-w278
  • org.apache.mina:mina-core (Maven) Vendor— Affected 2.0.0-M1 to before 2.0.27 Fixed in 2.0.27 Patch available GHSA-76h9-2vwh-w278

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:mina:*:*:*:*:*:*:*:*2.0.0 to before 2.0.27; 2.1.0 to before 2.1.10; 2.2.0 to before 2.2.4VulnerableApache
  • cpe:2.3:a:apache:mina:*:*:*:*:*:*:*:* Versions 2.0.0 to before 2.0.27; 2.1.0 to before 2.1.10; 2.2.0 to before 2.2.4 Vulnerable ·Apache

Remediation

  • Fix · GHSA-76h9-2vwh-w278 org.apache.mina:mina-core (Maven) Fixed in 2.2.4 Advisory →
  • Fix · GHSA-76h9-2vwh-w278 org.apache.mina:mina-core (Maven) Fixed in 2.1.10 Advisory →
  • Fix · GHSA-76h9-2vwh-w278 org.apache.mina:mina-core (Maven) Fixed in 2.0.27 Advisory →

Red Hat 1 advisory

  • RHSA-2025:1078 Released 2025-02-05 · Red Hat rating Important
    Red Hat Build of Apache Camel 4.8.3 for Spring Boot security update.
    • Red Hat build of Apache Camel 4.8.3 for Spring Boot

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
A-MQ Clients 2AffectedNo fix yet
Red Hat AMQ Broker 7AffectedNo fix planned: Will not fix
Red Hat Build of KeycloakAffectedNo fix planned: Will not fix
Red Hat Data Grid 8AffectedNo fix planned: Will not fix
Red Hat Fuse 7AffectedNo fix planned: Out of support scope
Red Hat Integration Camel K 1AffectedNo fix planned: Will not fix
Red Hat JBoss Data Grid 7AffectedNo fix yet
streams for Apache KafkaAffectedNo fix planned: Will not fix
Red Hat build of Apache Camel 4.8.3 for Spring BootFixed RHSA-2025:1078
Not affected: 6 products
  • Red Hat JBoss Enterprise Application Platform 7
  • Red Hat JBoss Enterprise Application Platform 8
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat Process Automation 7
  • Red Hat Single Sign-On 7
  • Red Hat build of Apache Camel - HawtIO 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-52046
  2. 2026-10-03 Alias added: GHSA-76h9-2vwh-w278

References

  • TI-2026-31001 Deserialization of untrusted data in Apache MINA CVSS 3.1CRITICAL 9.8
  • TI-2026-31000 Apache MINA: CWE-502 Deserialization of Untrusted Data (take 2) CVSS 3.1CRITICAL 9.8
  • TI-2026-30156 Deserialization of untrusted data in Apache MINA CVSS 3.1CRITICAL 9.8
  • TI-2026-34667 Apache MINA: Critical Deserialization Allow-list Bypass via resolveProxyClass - ZDRES-232 CVSS 3.1CRITICAL 9.8
  • TI-2026-30010 Apache MINA: CWE-502 Deserialization of Untrusted Data CVSS 3.1CRITICAL 9.8
  • TI-2019-00204 Apache MINA SSLFilter security Issue CVSS 3.1HIGH 7.5
See all 7 →

Sources