GHSA-2q9g-8573-3265
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Lifecycle Timeline
4Description PRE-NVD
Articles & Coverage 4
AnalysisAI
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.
Technical ContextAI
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.
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.
Directory traversal vulnerability in the fileserver upload/download functionality for blob messages in Apache ActiveMQ 5
Apache ActiveMQ 5.x before 5.13.0 does not restrict the classes that can be serialized in the broker, which allows remot
The Java OpenWire protocol marshaller is vulnerable to Remote Code Execution. Rated critical severity (CVSS 9.8), this v
The processControlCommand function in broker/TransportConnection.java in Apache ActiveMQ before 5.11.0 allows remote att
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 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.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.1), this vulnerabi
XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.1), this vulnerabi
In Apache ActiveMQ 6.x, the default configuration doesn't secure the API web context (where the Jolokia JMX REST API and
Same technique Information Disclosure
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-40278