GHSA-whxr-3p84-rf3c
Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation
Quick fix
GHSA-whxr-3p84-rf3c — org.apache.activemq:activemq-openwire-legacy: upgrade to the fixed version with the command below.
# pom.xml: bump <version>5.16.8</version> for org.apache.activemq:activemq-openwire-legacyDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 5.16.8# pom.xml: bump <version>5.16.8</version> for org.apache.activemq:activemq-openwire-legacy0Fixed in: 5.16.8# pom.xml: bump <version>5.16.8</version> for org.apache.activemq:activemq-client5.17.0Fixed in: 5.17.7# pom.xml: bump <version>5.17.7</version> for org.apache.activemq:activemq-openwire-legacy5.18.0Fixed in: 5.18.7# pom.xml: bump <version>5.18.7</version> for org.apache.activemq:activemq-openwire-legacy6.0.0Fixed in: 6.1.6# pom.xml: bump <version>6.1.6</version> for org.apache.activemq:activemq-openwire-legacy5.17.0Fixed in: 5.17.7# pom.xml: bump <version>5.17.7</version> for org.apache.activemq:activemq-client5.18.0Fixed in: 5.18.7# pom.xml: bump <version>5.18.7</version> for org.apache.activemq:activemq-client6.0.0Fixed in: 6.1.6# pom.xml: bump <version>6.1.6</version> for org.apache.activemq:activemq-clientReferences
- https://nvd.nist.gov/vuln/detail/CVE-2025-27533[ADVISORY]
- https://github.com/apache/activemq/commit/fc4372b9f0f72b8b5eed917f0019c5cea45c5d06[WEB]
- https://github.com/apache/activemq[PACKAGE]
- https://issues.apache.org/jira/browse/AMQ-6596[WEB]
- https://lists.apache.org/thread/8hcm25vf7mchg4zbbhnlx2lc5bs705hg[WEB]
- https://lists.debian.org/debian-lts-announce/2025/06/msg00020.html[WEB]
- http://www.openwall.com/lists/oss-security/2025/05/06/1[WEB]