CVE-2023-46604: Apache ActiveMQ OpenWire Deserialization Remote Code Execution
- Vendors
- Apache Software FoundationDebian ProjectNetApp
CVE-2023-46604 is a remote code execution vulnerability in the Java OpenWire protocol marshaller used by Apache ActiveMQ brokers and clients, including the Legacy OpenWire Module. Improper handling of attacker-controlled serialized class types allows a remote peer to cause the receiving broker or client to instantiate arbitrary classes available on its classpath. Exploitation can abuse Spring ClassPathXmlApplicationContext to load attacker-controlled XML configurations and execute shell commands. Affected ActiveMQ releases include versions before 5.15.16, 5.16.x before 5.16.7, 5.17.x before 5.17.6, and 5.18.x before 5.18.3. Exploitation in the wild dates to at least October 10, 2023.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary code and shell-command execution with the privileges of the affected Java process, potentially compromising the host and the confidentiality, integrity, and availability of accessible data and services. Observed attacks have deployed ransomware, remote-access backdoors, cryptocurrency miners, and DDoS malware on Windows and Linux. Compromised systems can also provide a foothold for credential theft, persistence, data exfiltration, and lateral movement; these follow-on capabilities depend on deployed payloads and available permissions.
Mitigation
If you can’t patch tonight, do this now.
Until updates are deployed, isolate affected systems and restrict OpenWire connectivity to necessary trusted peers using firewalls, segmentation, and network access controls. Remove unnecessary external exposure. Monitor for suspicious OpenWire class references and remote XML configuration retrieval, Java processes spawning command shells, unexpected installer downloads, and post-exploitation tools. Exposure reduction and monitoring do not replace patching.
Remediation
Patch, then assume compromise.
Upgrade both ActiveMQ brokers and Java OpenWire clients to a vendor-supported release containing the fix. The initial fixed releases are 5.15.16, 5.16.7, 5.17.6, and 5.18.3 for their respective branches. Update affected Legacy OpenWire Module dependencies as well. For applications and appliances that bundle ActiveMQ, install the downstream vendor update incorporating the corrected components; updating a standalone broker does not remediate vulnerable embedded clients or other bundled copies.
Exploits
24 exploits validated by Mallory's analysis. Hidden: 12 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-46604 exploited in the wild?
- Yes. As of Nov 27, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 2, 2023.
- Is there a public exploit for CVE-2023-46604?
- Yes. Mallory tracks 24 public exploits or proofs of concept for CVE-2023-46604, the earliest disclosed Oct 26, 2023.
- Is there a patch for CVE-2023-46604?
- Upgrade both ActiveMQ brokers and Java OpenWire clients to a vendor-supported release containing the fix. The initial fixed releases are 5.15.16, 5.16.7, 5.17.6, and 5.18.3 for their respective branches.
- What products are affected by CVE-2023-46604?
- Apache Software Foundation Apache ActiveMQ, Apache Software Foundation Activemq Legacy Openwire Module, Debian Project Debian Linux, NetApp E-Series Santricity Unified Manager, NetApp E-Series Santricity Web Services Proxy, and 1 more.
- How severe is CVE-2023-46604?
- CVE-2023-46604 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 89.3% (100th percentile) as of Nov 27, 2026.
Recent activity
113 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.