CVE-2026-53917

Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker: Unbounded memory allocation in OpenWire property unmarshalling

Published Jun 30, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Memory Allocation with Excessive Size Value vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker.

An authenticated user can cause a broker DoS by sending a crafted OpenWire Message with a large encoded size value for the map. OpenWire message property maps are unmarshaled without size validation which can trigger OOM and crash the broker.
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 Client: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ Broker: 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.

Analysis

AI-generated

Technical impact

The vulnerability is a memory allocation with excessive size value flaw in the OpenWire message property map unmarshalling process of Apache ActiveMQ. A crafted OpenWire message with a huge encoded size can cause the broker to attempt an enormous allocation, resulting in an out‑of‑memory condition that crashes the service. Because the broker is responsible for message routing, its failure disrupts all clients connected to the system, effectively denying legitimate users access to the messaging service. The weakness is a classic case of CWE‑789: Uncontrolled Memory Allocation and CWE‑770: Uncontrolled Buffer Size.

Affected Systems

Affected vendors include the Apache Software Foundation’s Apache ActiveMQ platform, covering the core broker, as well as the ActiveMQ All distribution and the ActiveMQ Client libraries. Versions prior to 5.19.8 and all 6.0.0 releases up through 6.2.6 are vulnerable; 5.19.8 and 6.2.7 contain the fix.

Risk and Exploitability

The issue requiresMQ broker, so an attacker must first obtain valid credentials or have access to a client with authentication enabled. From that position, the attacker can send a single specially crafted message to trigger the score of 7.5 signals high severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. The lack of input size validation suggests a high likelihood of successful exploitation in a hostile environment; this is inferred from the description. The broker offers no native allocation, so the denial of service can be manually precipitated whenever the attacker can access the broker.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the ActiveMQ broker to version 5.19.8 or newer (including 6.2.7 and later) where the size validation has been added.
  • Restrict broker authentication to trusted clients only and limit network exposure to reduce the likelihood that an attacker can gain the necessary credentials.
  • Monitor the broker for abnormal memory usage or crashes and configure alerts to detect sudden OOM events, enabling rapid response if an attack occurs.

Generated by OpenCVE AI on July 1, 2026 at 12:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-f77w-px59-cqf5 Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker have Memory Allocation with Excessive Size Value vulnerability
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache activemq
Apache activemq All
Apache activemq Broker
Vendors & Products Apache
Apache activemq
Apache activemq All
Apache activemq Broker
Type Values Removed Values Added
Description Memory Allocation with Excessive Size Value vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker. An authenticated user can cause a broker DoS by sending a crafted OpenWire Message with a large encoded size value for the map. OpenWire message property maps are unmarshaled without size validation which can trigger OOM and crash the broker. 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 Client: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ Broker: 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.
Title Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker: Unbounded memory allocation in OpenWire property unmarshalling
Weaknesses CWE-789
References
Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

  • CWE-789

    Memory Allocation with Excessive Size Value

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Jun 30, 2026, 2:51 PM
Reserved
Jun 11, 2026, 2:45 PM
Status
Analyzed
Published
Jun 30, 2026, 11:16 AM
Modified
Jul 2, 2026, 6:41 PM
Severity
Moderate
Public date
Jun 30, 2026, 9:49 AM