Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed STOMP connector
-
DeliveryOpen unauthenticated STOMP session
-
ExploitSend frame with negative content-length
-
ExecutionStream body bytes growing command buffer
-
PersistExhaust JVM heap (OOM)
-
ImpactBroker denial-of-service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires that an Apache ActiveMQ STOMP connector be enabled and network-reachable by the attacker; the OOM-style impact specifically requires the NIO STOMP transport, whereas the blocking STOMP transport yields only a single-connection abnormal close rather than broker-wide exhaustion. The trigger is a STOMP frame carrying a negative content-length value, after which (for NIO) the attacker continues streaming body bytes to grow the command buffer past its configured limit. The description characterizes the triggering peer as remote and unauthenticated, though no CVSS vector was provided to independently confirm the privilege level. Limiting factors: the connector must be exposed (STOMP is often internal-only or disabled), the full memory-exhaustion impact depends on the NIO transport being in use, and affected versions are restricted to ActiveMQ before 5.19.8 and 6.0.0-6.2.6. |
| Impact | No CVSS score or vector was supplied by the source, so severity must be inferred. The description indicates a network-reachable, unauthenticated trigger against an exposed connector with a simple malformed header, which maps to a high-availability-impact, low-complexity DoS (an independently assessed CVSS:3.1 base of roughly 7.5). The practical risk hinges entirely on exposure: ActiveMQ STOMP connectors are frequently bound only to internal networks, so internet-exposed brokers are the real priority while internal-only deployments face lower exposure. No EPSS score, KEV listing, or public POC is present in the provided data, so there is no evidence of active exploitation - this is a credible, easy-to-trigger DoS rather than a confirmed in-the-wild threat. Note the conflict to verify: the description calls the peer 'unauthenticated,' but because no CVSS vector was provided, the privilege requirement cannot be independently confirmed from machine-readable data and should be validated against the vendor advisory. |
| Exploit ScenarioDerived | An attacker locates an internet-exposed ActiveMQ STOMP connector and opens a TCP session to it without authenticating. They send a STOMP frame whose content-length header is set to a negative value and, on a NIO transport, continue streaming body bytes; the broker's per-connection command buffer grows past its configured limit and the JVM exhausts heap memory, taking the broker offline. No public POC is identified at time of analysis, but the malformed-frame trigger is simple and requires no special tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 30, 2026
Denial-of-service in Apache ActiveMQ STOMP connectors lets a remote peer that can reach an exposed STOMP port crash or exhaust the broker by sending a negative content-length value. On the NIO STOMP transport the attacker streams body bytes to grow the per-connection command buffer past configured limits and force an out-of-memory condition, while the blocking STOMP transport instead throws an abnormal transport exception that closes the affected connection. The flaw affects ActiveMQ, ActiveMQ All, and ActiveMQ Stomp before 5.19.8 and the 6.0.0-6.2.6 line; no public exploit identified at time of analysis and the issue is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade to Apache ActiveMQ 6.2.7 (for the 6.x line) or 5.19.8 (for the 5.x line), which fix the improper validation of the STOMP content-length header; the same fixed versions apply to the ActiveMQ All and ActiveMQ Stomp distributions, per the Apache advisory at https://lists.apache.org/thread/fsjb26605syqr8xks249h8gkp86t55d2. If immediate patching is not possible, reduce exposure by disabling the STOMP connector entirely if it is not in use, or by firewalling/restricting the STOMP port (default 61613) so it is reachable only from trusted message-producing hosts rather than the public internet - the trade-off is that legitimate remote STOMP clients on untrusted networks will lose connectivity. Where feasible, place the broker behind a network proxy or load balancer that can enforce sane frame/size limits and front the connector with TLS and client authentication to limit who can open STOMP sessions; this adds operational overhead and does not fully eliminate the parsing flaw, so it is a stopgap until the upgrade is applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 6 packages in maven, 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 widely used open-source JMS message broker, and STOMP (Simple Text Oriented Messaging Protocol) is one of its wire protocols, typically exposed on a dedicated connector (default port 61613). The vulnerability is a CWE-20 Improper Input Validation issue in how the STOMP frame parser handles the content-length header: a negative value is not rejected, so the length-based framing logic misbehaves. On the non-blocking NIO STOMP transport this lets an attacker keep feeding body bytes that accumulate in the per-connection command buffer beyond the configured maximum, driving JVM heap exhaustion; on the legacy blocking STOMP transport the same malformed length triggers an unhandled transport exception path that abnormally tears down the connection. Both ActiveMQ All (the uber-distribution) and the standalone ActiveMQ Stomp module share the affected parsing code.
Know when Apache 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
Remote unauthenticated peer triggers DoS over the network with a simple malformed header (AV:N/AC:L/PR:N/UI:N); impact is availability-only via OOM/connection teardown, so C:N/I:N/A:H.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
1DescriptionCVE.org
Improper Input Validation vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp.
A remote unauthenticated peer that can reach an exposed STOMP connector can trigger denial-of-service behavior by sending a negative content-length. For the NIO STOMP transport, an attacker can keep streaming body bytes and grow the per-connection command buffer beyond configured limits to cause OOM. For the blocking STOMP protocol, an error will instead force abnormal transport exception handling for the affected connection and closure. This issue affects Apache ActiveMQ: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ All: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ Stomp: before 5.19.8, from 6.0.0 before 6.2.7.
Users are recommended to upgrade to version 6.2.7 or 5.19.8, which fixes the issue.
Blast Radius
ecosystem impact- 6 maven packages depend on org.apache.activemq:activemq-all (3 direct, 3 indirect)
Ecosystem-wide dependent count for version 6.0.0.
Articles & Coverage 1
Executive ViewAI
Apache ActiveMQ STOMP connectors contain a high-severity remote denial-of-service vulnerability enabling attackers with network access to STOMP ports to crash the broker or exhaust memory, affecting versions prior to 5.19.8 and releases 6.0.0-6.2.6. While no public exploit has been identified at time of analysis, the lack of an available vendor patch creates ongoing operational risk for organizations using affected versions.
Restrict STOMP port network access via firewall and network segmentation; implement per-connection rate limiting and idle connection timeouts; configure ActiveMQ buffer size and connection quotas; deploy broker monitoring with automated restart capabilities; disable STOMP transport if not operationally necessary.
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.
More in Apache Activemq
View allRemote code execution in Apache ActiveMQ Classic versions before 5.19.5 and 6.0.0-6.2.2 allows authenticated attackers t
Remote code execution in Apache ActiveMQ 5.x (before 5.19.6) and 6.x (before 6.2.5) allows authenticated attackers to by
Remote code execution in Apache ActiveMQ allows authenticated attackers with admin console access to inject malicious Sp
Privilege escalation via improper authorization in Apache ActiveMQ before 5.19.8 and 6.0.0 before 6.2.7 lets an authenti
Denial of service in Apache ActiveMQ (Client, broker, and All distributions) before 5.19.8 and 6.x before 6.2.7 lets a r
Remote denial of service in Apache ActiveMQ (versions 5.19.7 and 6.2.6) allows an unauthenticated attacker to exhaust br
Improper input validation in Apache ActiveMQ lets an attacker who can write or modify LDAP entries matching the broker's
Out-of-memory denial of service in Apache ActiveMQ allows unauthenticated remote attackers to exhaust broker memory via
Remote denial-of-service in Apache ActiveMQ 6.0.0 through 6.2.3 allows unauthenticated network attackers to crash the MQ
Stored XSS in Apache ActiveMQ and Apache ActiveMQ Web allows authenticated attackers to inject malicious HTML into JMS s
Improper path validation in Apache ActiveMQ Client and Broker allows authenticated users to traverse the classpath via c
EUVD-2026-40284
GHSA-xjwq-9jw5-jf7w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB