CVE-2023-46604: Apache ActiveMQ, Apache ActiveMQ Legacy OpenWire Module: Unbounded deserialization causes ActiveMQ to be vulnerable to a remote code execution (RCE) attack
CVE-2023-46604 affects 92 listed versions of Apache ActiveMQ in the Dawnsentry catalogue. It is known to be exploited in the wild.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Apache ActiveMQ
92 of 143 listed versions are affected. Fixed in 5.18.3, 5.17.6, 5.16.7, 5.15.16. The newest release, 6.4.0, is not affected.
5.18.2 5.18.1 5.18.0 5.17.5 5.17.4 5.17.3 5.17.2 5.17.1 5.17.0 5.16.6 5.16.5 5.16.4 5.16.3 5.16.2 5.16.1 5.16.0 5.15.15 5.15.14 5.15.13 5.15.12 5.15.11 5.15.10 5.15.9 5.15.8 5.15.7 5.15.6 5.15.5 5.15.4 5.15.3 5.15.2 5.14.5 5.14.4 5.14.3 5.14.2 5.14.1 5.14.0 5.13.5 5.13.4 5.13.3 5.13.2 5.13.1 5.13.0 5.12.3 5.12.2 5.12.1 5.12.0 5.11.4 5.11.3 5.11.2 5.11.1 5.11.0 5.10.2 5.10.1 5.10.0 5.9.1 5.9.0 5.8.0 5.7.0 5.6.0 5.5.1 and 32 more
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by Apache Software Foundation on 27 October 2023. Last changed 17 June 2026. CISA lists it as used in ransomware campaigns. Exploit code is public (Metasploit or Nuclei).
Sources
Check one version you run: look CVE-2023-46604 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.