Skip to main content

Apache ActiveMQ CVE-2026-53916

| EUVDEUVD-2026-40278 HIGH
Memory Allocation with Excessive Size Value (CWE-789)
7.5
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to STOMP NIO port (TCP 61613)
  2. Delivery
    Stream non-terminating header bytes
  3. Exploit
    Broker NIO codec buffers data without limit
  4. Execution
    JVM heap exhausted
  5. Impact
    Broker 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache ActiveMQ All 0 <5.19.8
Apache ActiveMQ 6.0.0 <6.2.7
Apache ActiveMQ All 6.0.0 <6.2.7
Apache ActiveMQ Stomp 0 <5.19.8
Apache ActiveMQ 0 <5.19.8
Apache ActiveMQ Stomp 6.0.0 <6.2.7

Affected Packages

euvd apache_activemq fix: 5.19.8, 6.2.7
euvd apache_activemq_all fix: 5.19.8, 6.2.7
euvd apache_activemq_stomp fix: 5.19.8, 6.2.7

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

Vendor (CNA) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-accessible unauthenticated STOMP connection with no complexity barrier; sole impact is complete availability loss via heap exhaustion; no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
Severity Changed
Jun 30, 2026 - 17:22 NVD
CRITICAL HIGH
CVSS changed
Jun 30, 2026 - 17:22 NVD
7.5 (CRITICAL) 7.5 (HIGH)
Patch available
Jun 30, 2026 - 12:01 EUVD

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.5%
Top 59% exploitable
Prevalence
High
widely-deployed enterprise Java message broker across many industries
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2020-26217 HIGH POC
8.8 Nov 16

XStream before version 1.4.14 is vulnerable to Remote Code Execution.The vulnerability may allow a remote attacker to ru

CVE-2021-21351 CRITICAL POC
9.1 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.1), this vulnerabi

CVE-2015-1830 MEDIUM POC
5.0 Aug 19

Directory traversal vulnerability in the fileserver upload/download functionality for blob messages in Apache ActiveMQ 5

CVE-2021-21346 CRITICAL POC
9.8 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2021-21344 CRITICAL POC
9.8 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2021-21345 CRITICAL POC
9.9 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.9), this vulnerabi

CVE-2021-21341 HIGH POC
7.5 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 7.5), this vulnerability

CVE-2015-5254 CRITICAL
9.8 Jan 08

Apache ActiveMQ 5.x before 5.13.0 does not restrict the classes that can be serialized in the broker, which allows remot

CVE-2021-21342 CRITICAL POC
9.1 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.1), this vulnerabi

CVE-2021-21349 HIGH POC
8.6 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 8.6), this vulnerability

CVE-2021-21343 HIGH POC
7.5 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated high severity (CVSS 7.5), this vulnerability

CVE-2021-21350 CRITICAL POC
9.8 Mar 23

XStream is a Java library to serialize objects to XML and back again. Rated critical severity (CVSS 9.8), this vulnerabi

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy