CVE-2025-27533
Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation
Also known as BIT-activemq-2025-27533, EDB-52288, GHSA-whxr-3p84-rf3c
Mitigation
- Upgrade org.apache.activemq:activemq-openwire-legacy to one of 5.16.8, 5.17.7, 5.18.7, 6.1.6 (or later in the same release line).
- Upgrade org.apache.activemq:activemq-client to one of 5.16.8, 5.17.7, 5.18.7, 6.1.6 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.activemq:activemq-openwire-legacy (< 5.16.8)
- Projects that depend on Maven package org.apache.activemq:activemq-client (< 5.16.8)
- Anyone running Apache Software Foundation Apache ActiveMQ >= 6.0.0, < 6.1.6; >= 5.18.0, < 5.18.7; >= 5.17.0, < 5.17.7; >= 5.16.0, < 5.16.8
Vulnerability facts
- Affected
- org.apache.activemq:activemq-openwire-legacy < 5.16.8; org.apache.activemq:activemq-client < 5.16.8
- Fixed in
- 5.16.8, 5.17.7, 5.18.7, 6.1.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 6.9 (v4.0, CNA)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:RedOpen in CVSS calculator
Show all 16 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: High
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: High
- AU: Y
- R: A
- V: D
- RE: M
- U: Red
- EPSS
- 7.23% chance of exploitation in 30 days (percentile 95, 2026-11-26)
- CWE
- CWE-789
- Modified
Description
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.activemq:activemq-openwire-legacy | < 5.16.8 | 5.16.8, 5.17.7, 5.18.7, 6.1.6 | osv |
| Maven org.apache.activemq:activemq-client | < 5.16.8 | 5.16.8, 5.17.7, 5.18.7, 6.1.6 | osv |
| Apache Software Foundation Apache ActiveMQ | >= 6.0.0, < 6.1.6; >= 5.18.0, < 5.18.7; >= 5.17.0, < 5.17.7; >= 5.16.0, < 5.16.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-27533. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-27533.md Affected: org.apache.activemq:activemq-openwire-legacy < 5.16.8; org.apache.activemq:activemq-client < 5.16.8 Fixed in: 5.16.8, 5.17.7, 5.18.7, 6.1.6 Steps: 1. Search this machine and project for org.apache.activemq:activemq-openwire-legacy (Maven), org.apache.activemq:activemq-client (Maven), Apache Software Foundation Apache ActiveMQ: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Exploits and PoCs
FAQ
Is CVE-2025-27533 being exploited?
There is no confirmed exploitation: CVE-2025-27533 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 7.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-27533?
Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2025-27533?
org.apache.activemq:activemq-openwire-legacy < 5.16.8; org.apache.activemq:activemq-client < 5.16.8.
Is there a fix for CVE-2025-27533?
Yes. Fixed in 5.16.8, 5.17.7, 5.18.7, 6.1.6. Upgrade org.apache.activemq:activemq-openwire-legacy to one of 5.16.8, 5.17.7, 5.18.7, 6.1.6 (or later in the same release line). Upgrade org.apache.activemq:activemq-client to one of 5.16.8, 5.17.7, 5.18.7, 6.1.6 (or later in the same release line).
How do I check if I'm affected by CVE-2025-27533?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.