Apache Software Foundation Apache ActiveMQ
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 6.0.0, < 6.1.6
- >= 5.18.0, < 5.18.7
- >= 5.17.0, < 5.17.7
- >= 5.16.0, < 5.16.8
Fixed in 6.1.6, 5.18.7, 5.17.7, 5.16.8
Mitigation
Upgrade Apache ActiveMQ to 6.1.6 or 5.18.7 or 5.17.7 or 5.16.8 or later.
References
- Vendor advisory lists.apache.org/thread/8hcm25vf7mchg4zbbhnlx2lc5bs7…
Timeline
Days relative to CVE publicationFirst public PoC 1.7 days after publication; not in CISA KEV. First PoC: absholi7ly/CVE-2025-27533-Exploit-for-Apache-ActiveMQ (created 9 May 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| absholi7ly/CVE-2025-27533-Exploit-for-Apache-ActiveMQ | 9 May 2025 +1.7 d | 8 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.