Skip to main content

CVE-2023-46604 — Vulnerability in activemq-openwire-legacy

CRITICAL
Actively Exploited

Apache ActiveMQ is vulnerable to Remote Code Execution

Published October 27, 2023Updated November 4, 2025Source: OSV

What Should I Do?

Patch Immediately

This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.

Does your project use an affected org.apache.activemq:activemq-openwire-legacy version?

Paste your pom.xml to check it for CVE-2023-46604 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

Apache ActiveMQ is vulnerable to Remote Code Execution.The vulnerability may allow a remote attacker with network access to a broker to run arbitrary shell commands by manipulating serialized class types in the OpenWire protocol to cause the broker to instantiate any class on the classpath. 

Users are recommended to upgrade to version 5.15.16, 5.16.7, 5.17.6, or 5.18.3, which fixes this issue.

Advisory Timeline

  • First published October 27, 2023 (1126 days ago).
  • Last revised November 4, 2025 — 738 days after initial publication.
  • Added to CISA's Known Exploited Vulnerabilities catalog 5 days after publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.activemq:activemq-openwire-legacy to 5.15.16 or later
<!-- Update pom.xml dependency version to 5.15.16 for org.apache.activemq:activemq-openwire-legacy -->
Maven
Update org.apache.activemq:activemq-openwire-legacy to 5.17.6 or later
<!-- Update pom.xml dependency version to 5.17.6 for org.apache.activemq:activemq-openwire-legacy -->
Maven
Update org.apache.activemq:activemq-client to 5.15.16 or later
<!-- Update pom.xml dependency version to 5.15.16 for org.apache.activemq:activemq-client -->
Maven
Update org.apache.activemq:activemq-client to 5.18.3 or later
<!-- Update pom.xml dependency version to 5.18.3 for org.apache.activemq:activemq-client -->
Maven
Update org.apache.activemq:activemq-client to 5.16.7 or later
<!-- Update pom.xml dependency version to 5.16.7 for org.apache.activemq:activemq-client -->
Maven
Update org.apache.activemq:activemq-openwire-legacy to 5.16.7 or later
<!-- Update pom.xml dependency version to 5.16.7 for org.apache.activemq:activemq-openwire-legacy -->
Maven
Update org.apache.activemq:activemq-client to 5.17.6 or later
<!-- Update pom.xml dependency version to 5.17.6 for org.apache.activemq:activemq-client -->
Maven
Update org.apache.activemq:activemq-openwire-legacy to 5.18.3 or later
<!-- Update pom.xml dependency version to 5.18.3 for org.apache.activemq:activemq-openwire-legacy -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (8)

Affects 1 ecosystem: Maven (2).

PackageFixed In
org.apache.activemq:activemq-openwire-legacy Maven · Affected: 5.10.0, 5.10.1, 5.10.2, 5.11.0 (+39 more)5.15.16
org.apache.activemq:activemq-openwire-legacy Maven · Affected: 5.17.0, 5.17.1, 5.17.2, 5.17.3 (+2 more)5.17.6
org.apache.activemq:activemq-client Maven · Affected: 5.10.0, 5.10.1, 5.10.2, 5.11.0 (+39 more)5.15.16
org.apache.activemq:activemq-client Maven · Affected: 5.18.0, 5.18.1, 5.18.25.18.3
org.apache.activemq:activemq-client Maven · Affected: 5.16.0, 5.16.1, 5.16.2, 5.16.3 (+3 more)5.16.7
org.apache.activemq:activemq-openwire-legacy Maven · Affected: 5.16.0, 5.16.1, 5.16.2, 5.16.3 (+3 more)5.16.7
org.apache.activemq:activemq-client Maven · Affected: 5.17.0, 5.17.1, 5.17.2, 5.17.3 (+2 more)5.17.6
org.apache.activemq:activemq-openwire-legacy Maven · Affected: 5.18.0, 5.18.1, 5.18.25.18.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H/E:H

Frequently Asked Questions

What is CVE-2023-46604?
Apache ActiveMQ is vulnerable to Remote Code Execution. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
How do I check if my project is affected by CVE-2023-46604?
CVE-2023-46604 affects org.apache.activemq:activemq-openwire-legacy and org.apache.activemq:activemq-client. It has a 89.3% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-46604 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
10.0

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
89.31%
EPSS percentile: 99.9

This places it in the top 5% of EPSS-scored vulnerabilities — 99.9% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Known Exploited Vulnerability

This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.

Added to KEV catalog: November 2, 2023

Remediation deadline: November 23, 2023

Also Known As

GHSA-crg9-44h2-xw35
BIT-activemq-2023-46604

Related CVEs

  • CVE-2014-3600
    CRITICAL

    Improper Restriction of XML External Entity Reference in Apache ActiveMQ

  • CVE-2015-5254
    CRITICAL

    Improper Input Validation in Apache ActiveMQ

  • CVE-2026-39304
    HIGH

    Apache ActiveMQ: Denial of Service via Out of Memory vulnerability

  • CVE-2026-53917
    HIGH

    Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker have Memory Allocation with Excessive Size Value vulnerability

  • CVE-2026-42588
    HIGH

    Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ have a Code Injection issue

  • CVE-2026-41044
    HIGH

    Apache ActiveMQ Vulnerable to Code Injection

  • CVE-2026-45505
    HIGH

    Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ have a Code Injection issue

  • CVE-2025-27533
    MEDIUM

    Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml