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 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.apache.activemq:activemq-clientto a version that resolves this vulnerability.Fixed in 6.1.6 - Upgrade
Upgrade
maven/org.apache.activemq:activemq-clientto a version that resolves this vulnerability.Fixed in 5.18.7 - Upgrade
Upgrade
maven/org.apache.activemq:activemq-clientto a version that resolves this vulnerability.Fixed in 5.17.7 - Upgrade
Upgrade
maven/org.apache.activemq:activemq-openwire-legacyto a version that resolves this vulnerability.Fixed in 6.1.6 - Upgrade
Upgrade
maven/org.apache.activemq:activemq-openwire-legacyto a version that resolves this vulnerability.Fixed in 5.18.7 - Upgrade
Upgrade
maven/org.apache.activemq:activemq-openwire-legacyto a version that resolves this vulnerability.Fixed in 5.17.7 - Upgrade
Upgrade
maven/org.apache.activemq:activemq-clientto a version that resolves this vulnerability.Fixed in 5.16.8 - Upgrade
Upgrade
maven/org.apache.activemq:activemq-openwire-legacyto a version that resolves this vulnerability.Fixed in 5.16.8 - Upgrade
Upgrade
Apache ActiveMQto a version that resolves this vulnerability.Fixed in 6.1.6+ - Upgrade
Upgrade
Apache ActiveMQto a version that resolves this vulnerability.Fixed in 5.19.0+ - Upgrade
Upgrade
Apache ActiveMQto a version that resolves this vulnerability.Fixed in 5.18.7+ - Upgrade
Upgrade
Apache ActiveMQto a version that resolves this vulnerability.Fixed in 5.17.7 - Upgrade
Upgrade
Apache ActiveMQto a version that resolves this vulnerability.Fixed in 5.16.8 - Compensating control
Implement mutual TLS on affected Apache ActiveMQ brokers to mitigate the risk when not using mutual TLS connections.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-27533?
CVE-2025-27533 is classified as a denial of service (DoS) vulnerability impacting Apache ActiveMQ.
How do I fix CVE-2025-27533?
To remediate CVE-2025-27533, upgrade Apache ActiveMQ to version 6.1.6 or 5.18.7, or the latest versions beyond the affected ranges.
Which versions of Apache ActiveMQ are affected by CVE-2025-27533?
CVE-2025-27533 affects Apache ActiveMQ versions from 5.17.0 to 5.17.7, 5.18.0 to 5.18.7, and 6.0.0 to 6.1.6.
What can attackers exploit in CVE-2025-27533?
Attackers can exploit CVE-2025-27533 by sending OpenWire commands that cause excessive memory allocation, leading to service disruption.
Is there a workaround for CVE-2025-27533?
There are no specific workarounds for CVE-2025-27533; the recommended action is to apply the appropriate updates.