CVE-2023-46604
Apache ActiveMQ, Apache ActiveMQ Legacy OpenWire Module: Unbounded deserialization causes ActiveMQ to be vulnerable to a remote code execution (RCE) attack
Also known as BIT-activemq-2023-46604, GHSA-crg9-44h2-xw35
Mitigation
- Upgrade org.apache.activemq:activemq-client to one of 5.15.16, 5.16.7, 5.17.6, 5.18.3 (or later in the same release line).
- Upgrade org.apache.activemq:activemq-openwire-legacy to one of 5.15.16, 5.16.7, 5.17.6, 5.18.3 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.activemq:activemq-client (< 5.15.16)
- Projects that depend on Maven package org.apache.activemq:activemq-openwire-legacy (>= 5.8.0, < 5.15.16)
- Anyone running Apache Software Foundation Apache ActiveMQ >= 5.18.0, < 5.18.3; >= 5.17.0, < 5.17.6; >= 5.16.0, < 5.16.7; < 5.15.16
- Anyone running Apache Software Foundation Apache ActiveMQ Legacy OpenWire Module >= 5.18.0, < 5.18.3; >= 5.17.0, < 5.17.6; >= 5.16.0, < 5.16.7; >= 5.8.0, < 5.15.16
Vulnerability facts
- Affected
- org.apache.activemq:activemq-client < 5.15.16; org.apache.activemq:activemq-openwire-legacy >= 5.8.0, < 5.15.16
- Fixed in
- 5.15.16, 5.16.7, 5.17.6, 5.18.3
- Exploited in the wild
- Yes: in CISA KEV since 2023-11-02; federal due date 2023-11-23; known ransomware use
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 10.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: High
- Availability impact: High
- EPSS
- 89.31% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-502
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.activemq:activemq-client | < 5.15.16 | 5.15.16, 5.16.7, 5.17.6, 5.18.3 | osv |
| Maven org.apache.activemq:activemq-openwire-legacy | >= 5.8.0, < 5.15.16 | 5.15.16, 5.16.7, 5.17.6, 5.18.3 | osv |
| Apache Software Foundation Apache ActiveMQ | >= 5.18.0, < 5.18.3; >= 5.17.0, < 5.17.6; >= 5.16.0, < 5.16.7; < 5.15.16 | — | cvelist |
| Apache Software Foundation Apache ActiveMQ Legacy OpenWire Module | >= 5.18.0, < 5.18.3; >= 5.17.0, < 5.17.6; >= 5.16.0, < 5.16.7; >= 5.8.0, < 5.15.16 | — | cvelist |
Timeline
- 2023-10-27 Published
- 2023-11-02 Added to CISA KEV (exploited in the wild)
- 2023-11-23 CISA remediation due date for US federal agencies
- 2026-06-17 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-46604. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-46604.md Affected: org.apache.activemq:activemq-client < 5.15.16; org.apache.activemq:activemq-openwire-legacy >= 5.8.0, < 5.15.16 Fixed in: 5.15.16, 5.16.7, 5.17.6, 5.18.3 Steps: 1. Search this machine and project for org.apache.activemq:activemq-client (Maven), org.apache.activemq:activemq-openwire-legacy (Maven), Apache Software Foundation Apache ActiveMQ, Apache Software Foundation Apache ActiveMQ Legacy OpenWire Module: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/apache/activemq/pull/1098
- https://github.com/apache/activemq/commit/22442b2385b1000312aec3d19e510131d595a5fc
- https://github.com/apache/activemq/commit/80089f9f476afab7d976f5fc37c5ab4aa0c2139d
- https://github.com/apache/activemq/commit/958330df26cf3d5cdb63905dc2c6882e98781d8f
- https://github.com/apache/activemq/commit/9905e2a5bf9862a049f94ce0a2465b0c7ad52436
- https://github.com/apache/activemq/commit/d0ccdd31544ada83185554c87c7aa141064020f0
Exploits and PoCs
Other
- https://www.openwall.com/lists/oss-security/2023/10/27/5
- https://security.netapp.com/advisory/ntap-20231110-0010/
- https://lists.debian.org/debian-lts-announce/2023/11/msg00013.html
- http://seclists.org/fulldisclosure/2024/Apr/18
- https://lists.debian.org/debian-lts-announce/2024/10/msg00027.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-46604
- https://security.netapp.com/advisory/ntap-20231110-0010
- https://issues.apache.org/jira/browse/AMQ-9370
- https://github.com/apache/activemq
- https://activemq.apache.org/security-advisories.data/CVE-2023-46604
- http://www.openwall.com/lists/oss-security/2023/10/27/5
FAQ
Is CVE-2023-46604 being exploited?
Yes. CISA lists CVE-2023-46604 in its Known Exploited Vulnerabilities catalog since 2023-11-02, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 89.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-46604?
Critical: CVSS 10.0 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-46604?
org.apache.activemq:activemq-client < 5.15.16; org.apache.activemq:activemq-openwire-legacy >= 5.8.0, < 5.15.16.
Is there a fix for CVE-2023-46604?
Yes. Fixed in 5.15.16, 5.16.7, 5.17.6, 5.18.3. Upgrade org.apache.activemq:activemq-client to one of 5.15.16, 5.16.7, 5.17.6, 5.18.3 (or later in the same release line). Upgrade org.apache.activemq:activemq-openwire-legacy to one of 5.15.16, 5.16.7, 5.17.6, 5.18.3 (or later in the same release line).
How do I check if I'm affected by CVE-2023-46604?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.