CVE-2023-46604: Apache ActiveMQ Deserialization of Untrusted Data
Apache ActiveMQ · listed in the CISA catalog of actively exploited vulnerabilities since 2023-11-02.
- CVSS v3.1 (CVE record)
- 10.0
- critical
- EPSS (exploit probability, 30 days)
- >99.9%
- among the highest 0.1% of all CVEs
- Added to CISA KEV
- 2023-11-02
- US federal due date 2023-11-23
- Ubuntu priority
- high
What is CVE-2023-46604?
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.
CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CISA notes
Upstream versions (CVE record)
From the CVE record published by the vendor or CVE numbering authority.
- Apache Software Foundation Apache ActiveMQAffectedFixed in
- < 5.15.16
- ≥ 5.16.0, < 5.16.7
- ≥ 5.17.0, < 5.17.6
- ≥ 5.18.0, < 5.18.3
- 5.15.16
- 5.16.7
- 5.17.6
- 5.18.3
- Apache Software Foundation Apache ActiveMQ Legacy OpenWire ModuleAffectedFixed in
- ≥ 5.8.0, < 5.15.16
- ≥ 5.16.0, < 5.16.7
- ≥ 5.17.0, < 5.17.6
- ≥ 5.18.0, < 5.18.3
- 5.15.16
- 5.16.7
- 5.17.6
- 5.18.3
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache ActiveMQ |
|
|
| Apache Software Foundation Apache ActiveMQ Legacy OpenWire Module |
|
|
Ubuntu and Debian releases
A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.
Ubuntu 22.04 LTS·activemq
Fixed: 5.16.1-1ubuntu0.1
Ubuntu 22.04 LTS·activemq
fix via Ubuntu Pro
Fixed: 5.16.1-1ubuntu0.1~esm1
Ubuntu 20.04 LTS·activemq
fix via Ubuntu Pro
Fixed: 5.15.11-1ubuntu0.1~esm1
Ubuntu 18.04 LTS·activemq
fix via Ubuntu Pro
Fixed: 5.15.8-2~18.04.1~esm1
Ubuntu 16.04 LTS·activemq
fix via Ubuntu Pro
Fixed: 5.13.2+dfsg-2ubuntu0.1~esm1
Debian 12 (bookworm)·activemq
Fixed: 5.17.2+dfsg-2+deb12u1
Check and fix on a server
Run on each Ubuntu or Debian server. Replace activemq with the source package from the table above.
1. Show installed packages built from the source package, with their versions
dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="activemq"'2. Compare each installed version with the fixed version for your release from the table
I=INSTALLED_VERSION; F=FIXED_VERSION # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac3. Install the fix
sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="activemq"{print $1}')Services keep running the old code until they are restarted – restart the affected service or check with needrestart.
Rows marked “fix via Ubuntu Pro”: these fixes are only installable with an Ubuntu Pro subscription (ESM). Attach the machine first (sudo pro attach, then sudo pro enable esm-infra esm-apps), then run the commands above.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- Yes – attackers can automate it at scale
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-502 Deserialization of Untrusted Data
References
Other advisories
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.