Apache ActiveMQ Artemis DoS
Description
Apache ActiveMQ Artemis before 2.20.0/2.19.1 allows denial of service via memory exhaustion when parsing crafted XIDs.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Apache ActiveMQ Artemis before 2.20.0/2.19.1 allows denial of service via memory exhaustion when parsing crafted XIDs.
Vulnerability
In Apache ActiveMQ Artemis prior to version 2.20.0 and 2.19.1, a memory exhaustion vulnerability exists in the parsing of XA transaction identifiers (XIDs). The code path is reachable when the broker receives a handcrafted, oversized XID, leading to uncontrolled resource consumption of memory. The issue is tracked as ARTEMIS-3593 and was addressed by a commit that adds defense against OOM (Out-of-Memory) errors during XID parsing [1][2][3].
Exploitation
An attacker with network access to the Artemis broker can send a specially crafted binary message containing an oversized XID. No authentication is required to trigger the vulnerable code path; the attacker simply sends the malicious payload to the broker's port. The broker then attempts to parse the XID, allocating excessive memory without proper bounds checking [3][4].
Impact
Successful exploitation results in uncontrolled memory consumption, causing the broker to run out of memory and leading to a partial denial of service (DoS) scenario. Availability of the messaging service is disrupted, as the broker may crash or become unresponsive. Confidentiality and integrity are not directly affected [4].
Mitigation
The vulnerability is fixed in Apache ActiveMQ Artemis versions 2.20.0 and 2.19.1 (released in January/February 2022). Users should upgrade to one of these versions or later. No workarounds are documented in the available references; upgrading is the recommended mitigation [1][2][4].
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.activemq:artemis-core-clientMaven | < 2.19.1 | 2.19.1 |
Affected products
2- Apache Software Foundation/Apache ActiveMQ Artemisv5Range: 2.19.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
11- github.com/advisories/GHSA-pr38-qpxm-g88xghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-23913ghsaADVISORY
- github.com/apache/activemq-artemis/pull/3862ghsaWEB
- github.com/apache/activemq-artemis/pull/3862/commits/1f92368240229b8f5db92a92a72c703faf83e9b7ghsaWEB
- github.com/apache/activemq-artemis/pull/3871ghsaWEB
- github.com/apache/activemq-artemis/pull/3871/commits/153d2e9a979aead8dff95fbc91d659ecc7d0fb82ghsaWEB
- github.com/github/codeql-java-CVE-coverage/issues/1061ghsaWEB
- issues.apache.org/jira/browse/ARTEMIS-3593ghsaWEB
- lists.apache.org/thread/fjynj57rd99s814rdn5hzvmx8lz403q2ghsax_refsource_MISCWEB
- security.netapp.com/advisory/ntap-20220303-0003ghsaWEB
- security.netapp.com/advisory/ntap-20220303-0003/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.