CVE-2025-27533 — Vulnerability in activemq-client — CVE Details
Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (7.23%). Schedule for your next planned update.
Does your project use an affected org.apache.activemq:activemq-client version?
Paste your pom.xml to check it for CVE-2025-27533 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published May 7, 2025 (569 days ago).
- Last revised September 10, 2026 — 491 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 5.18.7 for org.apache.activemq:activemq-client -->
<!-- Update pom.xml dependency version to 5.18.7 for org.apache.activemq:activemq-openwire-legacy -->
<!-- Update pom.xml dependency version to 5.17.7 for org.apache.activemq:activemq-openwire-legacy -->
<!-- Update pom.xml dependency version to 5.16.8 for org.apache.activemq:activemq-client -->
<!-- Update pom.xml dependency version to 5.16.8 for org.apache.activemq:activemq-openwire-legacy -->
<!-- Update pom.xml dependency version to 6.1.6 for org.apache.activemq:activemq-client -->
<!-- Update pom.xml dependency version to 5.17.7 for org.apache.activemq:activemq-client -->
<!-- Update pom.xml dependency version to 6.1.6 for org.apache.activemq:activemq-openwire-legacy -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (8)
Affects 1 ecosystem: Maven (2).
| Package | Fixed In |
|---|---|
| org.apache.activemq:activemq-client Maven · Affected: 5.18.0, 5.18.1, 5.18.2, 5.18.3 (+3 more) | 5.18.7 |
| org.apache.activemq:activemq-openwire-legacy Maven · Affected: 5.18.0, 5.18.1, 5.18.2, 5.18.3 (+3 more) | 5.18.7 |
| org.apache.activemq:activemq-openwire-legacy Maven · Affected: 5.17.0, 5.17.1, 5.17.2, 5.17.3 (+3 more) | 5.17.7 |
| org.apache.activemq:activemq-client Maven · Affected: 5.10.0, 5.10.1, 5.10.2, 5.11.0 (+48 more) | 5.16.8 |
| org.apache.activemq:activemq-openwire-legacy Maven · Affected: 5.10.0, 5.10.1, 5.10.2, 5.11.0 (+48 more) | 5.16.8 |
| org.apache.activemq:activemq-client Maven · Affected: 6.0.0, 6.0.1, 6.1.0, 6.1.1 (+4 more) | 6.1.6 |
| org.apache.activemq:activemq-client Maven · Affected: 5.17.0, 5.17.1, 5.17.2, 5.17.3 (+3 more) | 5.17.7 |
| org.apache.activemq:activemq-openwire-legacy Maven · Affected: 6.0.0, 6.0.1, 6.1.0, 6.1.1 (+4 more) | 6.1.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-789
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-27533ADVISORY
- https://github.com/apache/activemq/commit/fc4372b9f0f72b8b5eed917f0019c5cea45c5d06WEB
- https://github.com/apache/activemqPACKAGE
- https://issues.apache.org/jira/browse/AMQ-6596WEB
- https://lists.apache.org/thread/8hcm25vf7mchg4zbbhnlx2lc5bs705hgWEB
- https://lists.debian.org/debian-lts-announce/2025/06/msg00020.htmlWEB
- https://www.openwall.com/lists/oss-security/2025/05/06/1WEB
Frequently Asked Questions
- What is CVE-2025-27533?
- Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2025-27533?
- CVE-2025-27533 affects org.apache.activemq:activemq-client and org.apache.activemq:activemq-openwire-legacy. It has a 7.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-27533 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top 5% of EPSS-scored vulnerabilities — 95.1% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2014-3600CRITICAL
Improper Restriction of XML External Entity Reference in Apache ActiveMQ
- CVE-2023-46604CRITICAL
Apache ActiveMQ is vulnerable to Remote Code Execution
- CVE-2015-5254CRITICAL
Improper Input Validation in Apache ActiveMQ
- CVE-2026-39304HIGH
Apache ActiveMQ: Denial of Service via Out of Memory vulnerability
- CVE-2026-53917HIGH
Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker have Memory Allocation with Excessive Size Value vulnerability
- CVE-2026-42588HIGH
Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ have a Code Injection issue
- CVE-2026-45505HIGH
Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ have a Code Injection issue
- CVE-2026-40466HIGH
Apache ActiveMQ Vulnerable to Improper Input Validation and Code Injection