Skip to main content

Apache ActiveMQ EUVDEUVD-2026-40277

| CVE-2026-53917 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 broker OpenWire port
  2. Delivery
    Authenticate as valid user
  3. Exploit
    Craft message with oversized map size
  4. Execution
    Broker allocates excessive memory
  5. Impact
    JVM OutOfMemory crash and DoS

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
Exploitation Conditions

Exploitation requires the broker to expose the OpenWire transport (the default ActiveMQ connector, typically TCP 61616) and the ability to send a single OpenWire message containing a property map with a forged large encoded size value that is unmarshaled without bounds checking. The official description states an authenticated user is required, which limits exploitation to attackers possessing valid broker credentials or to a configuration that permits anonymous OpenWire access - though the CVSS vector lists PR:N, a conflict that should be confirmed with Apache. Limiting factors: the impact is confined to availability (broker crash) with no data exposure or code execution, no user interaction is needed, and deployments that use non-OpenWire transports exclusively or firewall the OpenWire port to trusted hosts are not remotely reachable.

Impact

The CVSS 3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects a pure availability impact reachable over the network with low complexity, no UI, and - per the vector - no privileges. However, there is a direct conflict in the source data: the vector states PR:N (unauthenticated) while the official description explicitly says 'an authenticated user can cause a broker DoS.' This should be verified with the vendor; if authentication is genuinely required, real-world risk is reduced to insiders or attackers with valid credentials, and the effective score should drop (PR:L). No EPSS value was supplied, the CVE is not in CISA KEV, and no POC is referenced, so this is not evidence of active or widespread exploitation. No SSVC decision data was provided. Net assessment: a credible, easily-triggered DoS against any reachable broker, but confidentiality and integrity are unaffected and exploitation most likely requires a valid OpenWire session - a real priority for internet-exposed or multi-tenant brokers, lower for well-segmented internal deployments.

Exploit ScenarioDerived

An attacker with a valid OpenWire connection to the broker (or, if the PR:N vector holds, any network client) crafts a single message whose property-map header declares a huge encoded size. When the broker unmarshals the map it pre-allocates memory to match the bogus size, exhausts the JVM heap, and the broker process throws OutOfMemoryError and crashes - taking down messaging for all connected applications. Given AC:L, this requires only one malformed message and no special timing or race; no public POC is currently referenced.

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

AnalysisAIv3 – Jun 30, 2026

Denial of service in Apache ActiveMQ (versions before 5.19.8, and 6.0.0 before 6.2.7) lets an authenticated user crash the broker by sending a crafted OpenWire message whose property map declares an excessively large encoded size. Because the map is unmarshaled without validating the declared size against actual payload bounds, the broker pre-allocates massive memory and hits an OutOfMemory condition. No public exploit identified at time of analysis and the issue is not in CISA KEV, but the low attack complexity and availability of a vendor patch make it a practical operational concern for exposed brokers.

Earlier versions of this analysis (2)
v2 Jun 30, 2026 - 15:31 cvss changed CVSS 7.5

Remote denial of service in Apache ActiveMQ (versions before 5.19.8, and 6.0.0 before 6.2.7) lets a message-sending user crash the broker by submitting a crafted OpenWire message whose property-map declares an oversized encoded length. Because the broker unmarshals the map without validating the declared size, it pre-allocates excessive memory, exhausts the heap, and triggers an out-of-memory crash (CWE-789). No public exploit has been identified at time of analysis, and the issue is not in CISA KEV; impact is availability-only with no data exposure or code execution.

v1 Jun 29, 2026 - 22:16

Unbounded memory allocation in Apache ActiveMQ's OpenWire protocol unmarshaller allows authenticated users to crash the message broker by sending a specially crafted message with an oversized property map size value. The unmarshalling code accepts the attacker-controlled size integer without bounds checking, causing the JVM to attempt allocating an arbitrarily large memory region, triggering an OutOfMemoryError that crashes the broker and denies service to all connected clients. No public exploit code or CISA KEV listing has been identified at time of analysis; vendor-released patches 5.19.8 and 6.2.7 are confirmed available as of June 29, 2026.

RemediationAI

Vendor-released patch: upgrade to 6.2.7 (for the 6.x line) or 5.19.8 (for the 5.x line), which add size validation during OpenWire map unmarshaling; this is the primary and recommended fix per the Apache advisory (https://activemq.apache.org/ and https://lists.apache.org/thread/grrd1mwgkgblqjbwkkq6dvmdxd9ov2dx). Where immediate upgrade is not possible, reduce exposure by restricting network access to the OpenWire transport port (default 61616) so only trusted application hosts can connect, and by requiring and tightly scoping broker authentication/authorization so anonymous or low-trust clients cannot submit messages - the trade-off is that locking down ACLs or firewalling the port may break legitimate producers/consumers and requires coordinated client reconfiguration. Constraining the JVM heap or running the broker under a process supervisor that auto-restarts limits downtime but does not prevent the crash itself.

Affected VersionsENISA

Apache ActiveMQ 0 <5.19.8
Apache ActiveMQ Client 0 <5.19.8
Apache ActiveMQ Client 6.0.0 <6.2.7
Apache ActiveMQ 6.0.0 <6.2.7
Apache ActiveMQ All 6.0.0 <6.2.7
Apache ActiveMQ Broker 6.0.0 <6.2.7
Apache ActiveMQ All 0 <5.19.8
Apache ActiveMQ Broker 0 <5.19.8

Affected Packages

maven org.apache.activemq:activemq-all fix: 5.19.8, 6.2.7
maven org.apache.activemq:activemq-broker fix: 5.19.8, 6.2.7
maven org.apache.activemq:activemq-client fix: 5.19.8, 6.2.7
maven org.apache.activemq:apache-activemq fix: 5.19.8, 6.2.7
euvd apache_activemq fix: 5.19.8, 6.2.7
euvd apache_activemq_all fix: 5.19.8, 6.2.7
euvd apache_activemq_broker fix: 5.19.8, 6.2.7
euvd apache_activemq_client fix: 5.19.8, 6.2.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 8 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 Java/JMS message broker, and the flaw lives in its native OpenWire wire protocol, the default high-performance binary transport used between clients and the broker (and the same code ships in the ActiveMQ Client, Broker, and 'All' distributions). OpenWire serializes message property maps as length-prefixed structures; the unmarshaling routine trusts the attacker-supplied encoded size field and allocates a buffer/collection sized to that value before reading the actual data. This is the classic CWE-789 (Memory Allocation with an Excessive Size Value) pattern: a single 4-byte size field can instruct the JVM to reserve gigabytes, exhausting heap and crashing the broker process before the undersized real payload is ever validated.

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 6.5 MEDIUM

Network-reachable OpenWire with low complexity, but the description requires an authenticated user so PR:L; impact is availability-only (A:H) with no confidentiality or integrity effect.

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

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

4
Analysis Updated
Jun 30, 2026 - 15:32 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 30, 2026 - 15:31 vuln.today
v2 - CVSS changed
CVSS changed
Jun 30, 2026 - 15:22 NVD
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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6 maven packages depend on org.apache.activemq:activemq-all (3 direct, 3 indirect)
  • 21 maven packages depend on org.apache.activemq:activemq-broker (14 direct, 7 indirect)
  • 31 maven packages depend on org.apache.activemq:activemq-client (8 direct, 23 indirect)

Ecosystem-wide dependent count for version 6.0.0 and other introduced versions.

Executive ViewAI

Why It Matters

Apache ActiveMQ messaging brokers (versions prior to 5.19.8 and 6.0.x prior to 6.2.7) can be crashed by authenticated users, disrupting critical message-based communication in dependent systems. No public exploit identified at time of analysis; however, the low attack complexity and authentication-only requirement creates operational risk for exposed brokers with multiple users. This availability threat affects any organization whose operations depend on ActiveMQ for inter-service messaging, with a vendor patch available for immediate remediation.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
High
widely deployed enterprise JMS message broker
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA 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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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