GHSA-2q9g-8573-3265
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to STOMP NIO port (TCP 61613)
-
DeliveryStream non-terminating header bytes
-
ExploitBroker NIO codec buffers data without limit
-
ExecutionJVM heap exhausted
-
ImpactBroker process crashes (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
|
| Exploitation Conditions | The STOMP NIO transport connector must be enabled and network-reachable - this is a configurable transport in activemq.xml and is not always active in every deployment; operators who have not explicitly added a STOMP transportConnector are not affected. The vulnerability is exploitable before any STOMP authentication handshake completes, so broker-level authentication is not a mitigating factor. The flaw is specific to the NIO codec (non-blocking I/O path); the blocking-I/O STOMP transport is not confirmed affected. No special operating system, Java version, or deployment topology is required beyond a reachable STOMP NIO port. Exploitation is limited by network access controls: if the STOMP port is firewalled to trusted clients only, the unauthenticated attack surface is eliminated. |
| Impact | Independent CVSS 3.1 assessment yields AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (score ~7.5, High): the attack is network-accessible, requires no authentication, and has low complexity - an attacker needs only a TCP connection to the STOMP port and the ability to stream data without sending a frame terminator. No vendor-supplied CVSS vector was included in the source data, so all metric reasoning is inferred from the description. No EPSS score is available for this CVE at time of analysis. The vulnerability is not listed in CISA KEV and no public exploit code has been identified, so exploitation status is unconfirmed. Despite absent active-exploitation signals, the attack preconditions are minimal and the impact is complete availability loss (broker process crash), making this a high-priority patch target for any organization where the STOMP NIO transport is reachable from untrusted networks. The DoS impact is not mitigated by heap sizing - a larger JVM heap extends time-to-exhaustion but does not prevent it. |
| Exploit ScenarioDerived | An unauthenticated attacker connects to the broker's STOMP NIO listener (typically TCP 61613) and streams a continuous sequence of header bytes without ever sending a STOMP frame terminator (linefeed or null byte). The broker's NIO codec appends each incoming byte to an unbounded in-memory buffer; as the buffer grows, JVM heap is steadily consumed until an OutOfMemoryError terminates the broker process or triggers garbage collection storms that render it unresponsive. No exploit code has been publicly identified, but the attack requires only standard TCP tooling and trivial knowledge of the STOMP wire format. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 29, 2026
Unbounded heap consumption in Apache ActiveMQ's STOMP NIO codec allows an unauthenticated remote client to crash the broker by streaming non-terminating header bytes that the JVM buffers without limit until memory is exhausted. All three affected Maven artifacts (apache-activemq, activemq-all, activemq-stomp) are impacted in versions before 5.19.8 and in the 6.0.0-6.2.6 range. No public exploit code or active exploitation has been identified at time of analysis, but the unauthenticated, low-complexity network attack surface against a widely-deployed enterprise broker makes this a credible denial-of-service risk for any deployment with an exposed STOMP port.
RemediationAI
Upgrade to Apache ActiveMQ 6.2.7 for 6.x deployments or 5.19.8 for 5.x deployments; both releases were published June 29, 2026 and are available at https://activemq.apache.org/. If immediate patching is not feasible, restrict network access to the STOMP NIO port (default TCP 61613) via firewall rules or security groups to trusted client IP ranges only - this eliminates the unauthenticated remote attack surface but blocks all external STOMP clients. If the STOMP protocol is not required by any application, disable the STOMP transport connector entirely by removing or commenting out the corresponding transportConnector entry in activemq.xml; this eliminates the vulnerable code path entirely with no impact on AMQP, OpenWire, or MQTT clients. Note that JVM heap increases are not a compensating control - they delay but do not prevent exhaustion.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache ActiveMQ is a Java-based open-source message broker implementing multiple transport protocols including STOMP (Simple Text Oriented Message Protocol). The vulnerability resides specifically in the NIO (Non-blocking I/O) codec for the STOMP transport, which is distinct from the broker's default blocking-I/O STOMP implementation. The root cause is a Memory Allocation with Excessive Size Value flaw (consistent with CWE-789): when a STOMP NIO connection is established and the client sends header bytes without a terminating frame delimiter, the codec continuously appends bytes to an internal buffer with no enforced size ceiling. This causes unbounded JVM heap growth until an OutOfMemoryError is thrown, crashing or fatally stalling the broker process. The three affected Maven coordinates are org.apache.activemq:apache-activemq, org.apache.activemq:activemq-all, and org.apache.activemq:activemq-stomp - covering both the standard distribution and the all-in-one and standalone STOMP packages.
Know when Activemq gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-accessible unauthenticated STOMP connection with no complexity barrier; sole impact is complete availability loss via heap exhaustion; no confidentiality or integrity effect.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
3Description PRE-NVD
Articles & Coverage 4
Executive ViewAI
Apache ActiveMQ's STOMP protocol handler (versions 5.x pre-5.19.8 and 6.0.0-6.2.6) is vulnerable to unauthenticated remote denial of service through memory exhaustion attacks. Any organization running affected versions with exposed STOMP connectivity faces immediate risk of broker crashes that could disable all dependent applications and enterprise messaging infrastructure. This is especially critical for organizations that have not yet applied protective network controls around their message broker ports.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Firewall rules restricting STOMP port (61613) and any custom STOMP ports to authorized internal clients only, blocking any untrusted or external access; (2) Network segmentation isolating ActiveMQ brokers from untrusted networks; (3) Connection-level rate limiting and monitoring for abnormal traffic patterns on STOMP ports; (4) Active monitoring of broker logs and resource usage with alerts on memory consumption spikes; (5) Load balancing with connection limits to individual broker instances; (6) Prepare rapid broker failover and restart automation for production deployments.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
XStream before version 1.4.14 is vulnerable to Remote Code Execution.The vulnerability may allow a remote attacker to ru
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.1), this vulnerabi
Directory traversal vulnerability in the fileserver upload/download functionality for blob messages in Apache ActiveMQ 5
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.9), this vulnerabi
XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 7.5), this vulnerability
Apache ActiveMQ 5.x before 5.13.0 does not restrict the classes that can be serialized in the broker, which allows remot
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.1), this vulnerabi
XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 8.6), this vulnerability
XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 7.5), this vulnerability
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi
EUVD-2026-40278
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB