CVE-2023-46604: Apache ActiveMQ Deserialization of Untrusted Data Vulnerability

Critical severity, CVSS 9.8. Actively exploited: in CISA KEV since 2023-11-02. EPSS: 89% probability of exploitation activity in the next 30 days.

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.

What to do

CISA's required action (US federal agencies, by 2023-11-23): Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Apache ActiveMQ, before 5.15.16: fixed in 5.15.16
  • Apache ActiveMQ, from 5.16.0, before 5.16.7: fixed in 5.16.7
  • Apache ActiveMQ, from 5.17.0, before 5.17.6: fixed in 5.17.6
  • Apache ActiveMQ, from 5.18.0, before 5.18.3: fixed in 5.18.3
  • Apache ActiveMQ Legacy Openwire Module, before 5.15.16: fixed in 5.15.16
  • Apache ActiveMQ Legacy Openwire Module, from 5.16.0, before 5.16.7: fixed in 5.16.7
  • Apache ActiveMQ Legacy Openwire Module, from 5.17.0, before 5.17.6: fixed in 5.17.6
  • Apache ActiveMQ Legacy Openwire Module, from 5.18.0, before 5.18.3: fixed in 5.18.3

Affected products

Affected packages

Published 2023-10-27. Last modified 2026-06-17.