CVE-2023-46604

Apache ActiveMQ, Apache ActiveMQ Legacy OpenWire Module: Unbounded deserialization causes ActiveMQ to be vulnerable to a remote code execution (RCE) attack

State
Published
Severity
10.0 Critical
Published
Oct 27, 2023
Updated
Nov 3, 2025
Reserved
Oct 24, 2023

Read the record on cve.org

Description

The Java OpenWire protocol marshaller is vulnerable to Remote Code Execution. This vulnerability may allow a remote attacker with network access to either a Java-based OpenWire broker or client to run arbitrary shell commands by manipulating serialized class types in the OpenWire protocol to cause either the client or the broker (respectively) to instantiate any class on the classpath.

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

Scores

CVSSScoreVectorSource
3.110.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:Hapache

Weaknesses

  • CWE-502 Deserialization of Untrusted Data

Affected Products

ProductVersions
Apache ActiveMQApache Software Foundation
  • 5.18.0 to before 5.18.3Affected
  • 5.17.0 to before 5.17.6Affected
  • 5.16.0 to before 5.16.7Affected
  • before 5.15.16Affected
Apache ActiveMQ Legacy OpenWire ModuleApache Software Foundation
  • 5.18.0 to before 5.18.3Affected
  • 5.17.0 to before 5.17.6Affected
  • 5.16.0 to before 5.16.7Affected
  • 5.8.0 to before 5.15.16Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.