---
id: "CVE-2026-53917"
kind: "vulnerability"
aliases: ["CVE-2026-53917", "GHSA-f77w-px59-cqf5"]
title: "Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker have Memory Allocation with Excessive Size Value vulnerability"
severity: "high"
cvss: 7.5
epss: 0.0074
exploited: false
status: "open"
category: "package"
products: [{"name": "org.apache.activemq:apache-activemq", "fixed": ["5.19.8"], "affected": "< 5.19.8", "ecosystem": "maven"}, {"name": "org.apache.activemq:apache-activemq", "fixed": ["6.2.7"], "affected": ">= 6.0.0, < 6.2.7", "ecosystem": "maven"}, {"name": "org.apache.activemq:activemq-all", "fixed": ["5.19.8"], "affected": "< 5.19.8", "ecosystem": "maven"}, {"name": "org.apache.activemq:activemq-all", "fixed": ["6.2.7"], "affected": ">= 6.0.0, < 6.2.7", "ecosystem": "maven"}, {"name": "org.apache.activemq:activemq-client", "fixed": ["5.19.8"], "affected": "< 5.19.8", "ecosystem": "maven"}, {"name": "org.apache.activemq:activemq-client", "fixed": ["6.2.7"], "affected": ">= 6.0.0, < 6.2.7", "ecosystem": "maven"}, {"name": "org.apache.activemq:activemq-broker", "fixed": ["5.19.8"], "affected": "< 5.19.8", "ecosystem": "maven"}, {"name": "org.apache.activemq:activemq-broker", "fixed": ["6.2.7"], "affected": ">= 6.0.0, < 6.2.7", "ecosystem": "maven"}, {"name": "apache activemq", "fixed": ["5.19.8"], "affected": "< 5.19.8", "ecosystem": "vendor"}, {"name": "apache activemq", "fixed": ["6.2.7"], "affected": ">= 6.0.0, < 6.2.7", "ecosystem": "vendor"}, {"name": "apache activemq broker", "fixed": ["5.19.8"], "affected": "< 5.19.8", "ecosystem": "vendor"}, {"name": "apache activemq broker", "fixed": ["6.2.7"], "affected": ">= 6.0.0, < 6.2.7", "ecosystem": "vendor"}]
ecosystems: ["maven", "vendor"]
tags: ["activemq", "cwe-789", "java", "maven", "message-broker", "package"]
not_affected_if: ["auth-required", "fixed-version"]
published_at: "2026-06-30T11:16:30+00:00"
first_seen_at: "2026-11-04T16:13:57+00:00"
updated_at: "2026-11-04T16:28:16+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-f77w-px59-cqf5", "first_seen_at": "2026-11-04T16:13:57+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53917", "first_seen_at": "2026-11-04T16:28:16+00:00"}]
---

# Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker have Memory Allocation with Excessive Size Value vulnerability

An authenticated user can send a crafted OpenWire message with an oversized encoded map size, and the broker unmarshals it without size checks. This exhausts memory and crashes the broker, causing denial of service.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- maven:org.apache.activemq:apache-activemq affected < 5.19.8 fixed 5.19.8
- maven:org.apache.activemq:apache-activemq affected >= 6.0.0, < 6.2.7 fixed 6.2.7
- maven:org.apache.activemq:activemq-all affected < 5.19.8 fixed 5.19.8
- maven:org.apache.activemq:activemq-all affected >= 6.0.0, < 6.2.7 fixed 6.2.7
- maven:org.apache.activemq:activemq-client affected < 5.19.8 fixed 5.19.8
- maven:org.apache.activemq:activemq-client affected >= 6.0.0, < 6.2.7 fixed 6.2.7
- maven:org.apache.activemq:activemq-broker affected < 5.19.8 fixed 5.19.8
- maven:org.apache.activemq:activemq-broker affected >= 6.0.0, < 6.2.7 fixed 6.2.7
- vendor:apache activemq affected < 5.19.8 fixed 5.19.8
- vendor:apache activemq affected >= 6.0.0, < 6.2.7 fixed 6.2.7
- vendor:apache activemq broker affected < 5.19.8 fixed 5.19.8
- vendor:apache activemq broker affected >= 6.0.0, < 6.2.7 fixed 6.2.7

## How to check

- Check the ActiveMQ version in the broker or the Maven dependency `org.apache.activemq` for versions below `5.19.8` or from `6.0.0` below `6.2.7`
- Check whether OpenWire is exposed to untrusted or authenticated users on the network

## Fix

- Apache ActiveMQ 5.x: upgrade to `5.19.8`
- Apache ActiveMQ 6.x: upgrade to `6.2.7`
- Apache ActiveMQ All, Client and Broker: same fixed versions, `5.19.8` and `6.2.7`

## Timeline

- 2026-11-04T16:13:57+00:00 ghsa https://github.com/advisories/GHSA-f77w-px59-cqf5
- 2026-11-04T16:28:16+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-53917

## Documents

- [advisory] Vendor advisory: lists.apache.org https://lists.apache.org/thread/grrd1mwgkgblqjbwkkq6dvmdxd9ov2dx
- [advisory] Third-party advisory: www.openwall.com http://www.openwall.com/lists/oss-security/2026/06/29/14
- [fix] Patch: github.com https://github.com/apache/activemq/pull/2136
- [fix] Patch: github.com https://github.com/apache/activemq/commit/78bb8dcdc32e80c8b8813b57f89147572d16a2b9
- [fix] Patch: github.com https://github.com/apache/activemq/commit/b20e61c7ef736a04ad07a934ea8de628550c6cf2
- [fix] Patch: github.com https://github.com/apache/activemq/commit/ecfd1336fa3f3f6116a78f0ab71d1b2f90bc717f
- [fix] Release: github.com https://github.com/apache/activemq/releases/tag/activemq-5.19.8
- [fix] Release: github.com https://github.com/apache/activemq/releases/tag/activemq-6.2.7

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
