CVE-2025-27533
MEDIUM 6.9CVSS 4.0Apache 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.
- Published
- 7 May 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-789
- Also known as
- BIT-activemq-2025-27533GHSA-whxr-3p84-rf3c
- Sources
- NVDJSONOSV GHSA-whxr-3p84-rf3cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@apache.org (Secondary) | CVSS 4.0 | MEDIUM 6.9 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:A/V:D/RE:M/U:Red |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/AU:Y/R:A/V:D/RE:M/U:Red | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | activemqcpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* |
>= 5.16.0, < 5.16.8 | 5.16.8 |
| NVD | apache | activemqcpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* |
>= 5.17.0, < 5.17.7 | 5.17.7 |
| NVD | apache | activemqcpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* |
>= 5.18.0, < 5.18.7 | 5.18.7 |
| NVD | apache | activemqcpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.1.6 | 6.1.6 |
| OSV | Maven | org.apache.activemq:activemq-openwire-legacy | < 5.16.8 | 5.16.8 |
| OSV | Maven | org.apache.activemq:activemq-client | < 5.16.8 | 5.16.8 |
| OSV | Maven | org.apache.activemq:activemq-openwire-legacy | >= 5.17.0, < 5.17.7 | 5.17.7 |
| OSV | Maven | org.apache.activemq:activemq-openwire-legacy | >= 5.18.0, < 5.18.7 | 5.18.7 |
| OSV | Maven | org.apache.activemq:activemq-openwire-legacy | >= 6.0.0, < 6.1.6 | 6.1.6 |
| OSV | Maven | org.apache.activemq:activemq-client | >= 5.17.0, < 5.17.7 | 5.17.7 |
| OSV | Maven | org.apache.activemq:activemq-client | >= 5.18.0, < 5.18.7 | 5.18.7 |
| OSV | Maven | org.apache.activemq:activemq-client | >= 6.0.0, < 6.1.6 | 6.1.6 |
References
- https://lists.apache.org/thread/8hcm25vf7mchg4zbbhnlx2lc5bs705hg · Mailing List, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/05/06/1 · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2025/06/msg00020.html · WEB
- 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
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 7 May 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 May 2025)