CVE-2025-27533Apache Activemq
Medium 6.9
Follow: this CVE · Apache · Apache Activemq We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 4.0
- 6.9
- EPSS
- —
- Auth required
- Yes
- Published
- May 7, 2025
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-789
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Activemq.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.activemq:activemq-client |
< 5.16.8 |
5.16.8 |
— |
| Maven | org.apache.activemq:activemq-client |
≥ 5.17.0 < 5.17.7 |
5.17.7 |
— |
| Maven | org.apache.activemq:activemq-client |
≥ 5.18.0 < 5.18.7 |
5.18.7 |
— |
| Maven | org.apache.activemq:activemq-client |
≥ 6.0.0 < 6.1.6 |
6.1.6 |
— |
| Maven | org.apache.activemq:activemq-openwire-legacy |
< 5.16.8 |
5.16.8 |
— |
| Maven | org.apache.activemq:activemq-openwire-legacy |
≥ 5.17.0 < 5.17.7 |
5.17.7 |
— |
| Maven | org.apache.activemq:activemq-openwire-legacy |
≥ 5.18.0 < 5.18.7 |
5.18.7 |
— |
| Maven | org.apache.activemq:activemq-openwire-legacy |
≥ 6.0.0 < 6.1.6 |
6.1.6 |
— |
Per OSV / GitHub Advisories (GHSA-whxr-3p84-rf3c). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | activemq | ≥ 5.16.0 < 5.16.8 |
| apache | activemq | ≥ 5.17.0 < 5.17.7 |
| apache | activemq | ≥ 5.18.0 < 5.18.7 |
| apache | activemq | ≥ 6.0.0 < 6.1.6 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory
- lists.debian.org