CVE-2025-27533: Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation
Memory Allocation with Excessive Size Value vulnerability in Apache ActiveMQ. During unmarshalling of OpenWire commands the size value of buffers was not properly validated which could lead to excessive memory allocation and be exploited to cause a denial of service (DoS) by depleting process memory, thereby affecting applications and services that rely on the availability of the ActiveMQ broker when not using…
Published May 7, 2025 · Updated Nov 3, 2025
Affected packages
org.apache.activemq:activemq-openwire-legacy
- Ecosystem
- Maven
- Affected
- < 5.16.8
- Fixed in
- 5.16.8
- Check
mvn dependency:tree -Dincludes=org.apache.activemq:activemq-openwire-legacy
org.apache.activemq:activemq-client
- Ecosystem
- Maven
- Affected
- < 5.16.8
- Fixed in
- 5.16.8
- Check
mvn dependency:tree -Dincludes=org.apache.activemq:activemq-client
org.apache.activemq:activemq-openwire-legacy
- Ecosystem
- Maven
- Affected
- >= 5.17.0, < 5.17.7
- Fixed in
- 5.17.7
- Check
mvn dependency:tree -Dincludes=org.apache.activemq:activemq-openwire-legacy
org.apache.activemq:activemq-openwire-legacy
- Ecosystem
- Maven
- Affected
- >= 5.18.0, < 5.18.7
- Fixed in
- 5.18.7
- Check
mvn dependency:tree -Dincludes=org.apache.activemq:activemq-openwire-legacy
org.apache.activemq:activemq-openwire-legacy
- Ecosystem
- Maven
- Affected
- >= 6.0.0, < 6.1.6
- Fixed in
- 6.1.6
- Check
mvn dependency:tree -Dincludes=org.apache.activemq:activemq-openwire-legacy
org.apache.activemq:activemq-client
- Ecosystem
- Maven
- Affected
- >= 5.17.0, < 5.17.7
- Fixed in
- 5.17.7
- Check
mvn dependency:tree -Dincludes=org.apache.activemq:activemq-client
org.apache.activemq:activemq-client
- Ecosystem
- Maven
- Affected
- >= 5.18.0, < 5.18.7
- Fixed in
- 5.18.7
- Check
mvn dependency:tree -Dincludes=org.apache.activemq:activemq-client
org.apache.activemq:activemq-client
- Ecosystem
- Maven
- Affected
- >= 6.0.0, < 6.1.6
- Fixed in
- 6.1.6
- Check
mvn dependency:tree -Dincludes=org.apache.activemq:activemq-client
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Memory Allocation with Excessive Size Value vulnerability in Apache ActiveMQ.
During unmarshalling of OpenWire commands the size value of buffers was not properly validated which could lead to excessive memory allocation and be exploited to cause a denial of service (DoS) by depleting process memory, thereby affecting applications and services that rely on the availability of the ActiveMQ broker when not using mutual TLS connections. This issue affects Apache ActiveMQ: from 6.0.0 before 6.1.6, from 5.18.0 before 5.18.7, from 5.17.0 before 5.17.7, before 5.16.8. ActiveMQ 5.19.0 is not affected.
Users are recommended to upgrade to version 6.1.6+, 5.19.0+, 5.18.7+, 5.17.7, or 5.16.8 or which fixes the issue.
Existing users may implement mutual TLS to mitigate the risk on affected brokers.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-27533
- https://lists.apache.org/thread/8hcm25vf7mchg4zbbhnlx2lc5bs705hg
- https://github.com/apache/activemq/commit/fc4372b9f0f72b8b5eed917f0019c5cea45c5d06
- https://issues.apache.org/jira/browse/AMQ-6596
- https://lists.debian.org/debian-lts-announce/2025/06/msg00020.html
- https://github.com/advisories/GHSA-whxr-3p84-rf3c
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-50734
Apache ActiveMQ Client, Apache ActiveMQ, Apache ActiveMQ All has a Memory Allocation with Excessive Size Value vulnerability
high7.5Jun 30, 2026CVE-2026-53917
Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker have Memory Allocation with Excessive Size Value vulnerability
high7.5Jun 30, 2026CVE-2026-39304
Apache ActiveMQ: Denial of Service via Out of Memory vulnerability
high7.5Apr 10, 2026CVE-2026-33227
Apache ActiveMQ: Improper validation and restriction of a classpath path name
medium4.3Apr 7, 2026
