CVE-2026-53917
Apache ActiveMQ Classic vulnerability analysis and mitigation

Overview

CVE-2026-53917 is a Memory Allocation with Excessive Size Value vulnerability ("Unbounded memory allocation in OpenWire property unmarshalling") affecting Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, and Apache ActiveMQ Broker. An authenticated user can trigger a broker Denial of Service by sending a crafted OpenWire message with a large encoded size value for the property map, causing an out-of-memory (OOM) condition that crashes the broker. Affected versions include Apache ActiveMQ before 5.19.8 and from 6.0.0 before 6.2.7 across all four components. The vulnerability was disclosed on June 29, 2026, and carries a CVSS v3.1 base score of 7.5 (High) (Apache Advisory, GitHub Advisory).

Technical details

The root cause is classified under CWE-789 (Memory Allocation with Excessive Size Value) and CWE-770 (Allocation of Resources Without Limits or Throttling). When the ActiveMQ broker processes incoming OpenWire protocol messages, it unmarshals message property maps without validating the encoded size value against any upper bound. An authenticated attacker can craft an OpenWire message with an artificially inflated map size field, causing the broker's Java process to attempt allocation of an arbitrarily large memory block, ultimately triggering an OutOfMemoryError and crashing the broker. The attack is delivered over the network via the OpenWire port and requires only valid broker credentials (Openwall OSS-Sec, GitHub Advisory).

Impact

Successful exploitation results in a complete availability loss of the Apache ActiveMQ broker — the broker process crashes due to an OOM condition, interrupting all message brokering services for dependent applications. There is no confidentiality or integrity impact; the vulnerability is purely a Denial of Service. In environments where ActiveMQ serves as a critical messaging backbone, broker crashes can cascade to downstream services, causing widespread application outages (Apache Advisory, Red Hat Bugzilla).

Exploitation steps

  1. Reconnaissance: Identify Apache ActiveMQ broker instances running vulnerable versions (before 5.19.8 or 6.0.0–6.2.6) exposed on the OpenWire port (default TCP 61616) using network scanning tools such as Nmap or Shodan.
  2. Obtain credentials: Acquire valid broker credentials through credential stuffing, default credential testing (e.g., admin/admin), or other means, since exploitation requires authentication.
  3. Craft malicious OpenWire message: Construct an OpenWire protocol message where the encoded size field of the message property map is set to an excessively large value (e.g., Integer.MAX_VALUE or similar) without a corresponding payload, exploiting the lack of size validation during unmarshaling.
  4. Send the crafted message: Connect to the broker's OpenWire port using an ActiveMQ client library or raw socket and transmit the crafted message to any destination queue or topic.
  5. Trigger OOM crash: The broker attempts to allocate memory proportional to the declared map size, exhausting the JVM heap and triggering an OutOfMemoryError, crashing the broker process (Openwall OSS-Sec, GitHub Advisory).

Indicators of compromise

  • Network: Unusual or repeated connections to the ActiveMQ OpenWire port (default TCP 61616) from unexpected source IPs; large-volume or anomalously sized message frames observed in network traffic captures.
  • Logs: ActiveMQ broker logs (activemq.log) showing java.lang.OutOfMemoryError exceptions, particularly preceded by OpenWire message unmarshaling stack traces; sudden broker restart events logged in system or service manager logs.
  • Process: The ActiveMQ JVM process terminating unexpectedly; JVM garbage collection logs showing rapid heap exhaustion immediately before crash.
  • File System: Heap dump files (e.g., java_pid*.hprof) generated in the ActiveMQ working directory following an OOM crash, which may contain evidence of the oversized allocation attempt.

Mitigation and workarounds

Apache has released fixed versions 5.19.8 and 6.2.7 that add size validation during OpenWire property map unmarshaling; upgrading to one of these versions is the primary recommended remediation (Apache Advisory). As a workaround prior to patching, restrict network access to the OpenWire port (TCP 61616) to only trusted, known-good clients using firewall rules or network segmentation. Additionally, implement JVM memory limits and broker-level resource monitoring to detect and alert on abnormal memory consumption, enabling faster incident response if exploitation is attempted.

Community reactions

The vulnerability was covered by several security news outlets including CyberSecurityNews, SecurityOnline, and Cryptika, which reported it alongside other concurrent Apache ActiveMQ vulnerabilities as part of a broader patch release (CyberSecurityNews, SecurityOnline). The Hacker News included it in a weekly security recap (The Hacker News). Community reaction has been measured, reflecting the authenticated-only attack requirement and absence of public exploits. The credit for discovery was given to researcher "tonghuaroot" per the official OSS-Sec disclosure (Openwall OSS-Sec).

Additional resources


SourceThis report was generated using AI

Related Apache ActiveMQ Classic vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-54475HIGH7.5
  • Apache ActiveMQ Classic logoApache ActiveMQ Classic
  • activemq
NoYesJun 30, 2026
CVE-2026-53917HIGH7.5
  • Apache ActiveMQ Classic logoApache ActiveMQ Classic
  • apache-activemq-6.2
NoYesJun 30, 2026
CVE-2026-53916HIGH7.5
  • Apache ActiveMQ Classic logoApache ActiveMQ Classic
  • apache-activemq-6.2
NoYesJun 30, 2026
CVE-2026-50750HIGH7.5
  • Apache ActiveMQ Classic logoApache ActiveMQ Classic
  • activemq
NoNoJun 30, 2026
CVE-2026-52760MEDIUM6.1
  • Apache ActiveMQ Classic logoApache ActiveMQ Classic
  • activemq
NoYesJun 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management