# CVE-2025-27533: Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation

- Severity: Medium 6.9 (CVSS:4.0, scored by apache) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 9.29%, higher than 95% of CVEs (2026-12-01)
- Published: 2025-05-07T08:59:00.249Z
- Modified: 2026-09-10T16:00:08.505Z
- Also known as: GHSA-whxr-3p84-rf3c, BIT-ACTIVEMQ-2025-27533
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation 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; from 5.16.0 before 5.16.8
- org.apache.activemq:activemq-openwire-legacy (Maven): before 5.16.8; from 5.17.0 before 5.17.7; from 5.18.0 before 5.18.7; from 6.0.0 before 6.1.6
- org.apache.activemq:activemq-client (Maven): before 5.16.8; from 5.17.0 before 5.17.7; from 5.18.0 before 5.18.7; from 6.0.0 before 6.1.6
- apache activemq: from 5.16.0 before 5.16.8; from 5.17.0 before 5.17.7; from 5.18.0 before 5.18.7; from 6.0.0 before 6.1.6
- activemq (Bitnami): from 5.16.0 before 5.16.8; from 5.17.0 before 5.17.7; from 5.18.0 before 5.18.7; from 6.0.0 before 6.1.6

## Every score

- apache: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:3.1 7.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://lists.apache.org/thread/8hcm25vf7mchg4zbbhnlx2lc5bs705hg> (advisory, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2025/05/06/1> (advisory, 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, web)
- <https://github.com/apache/activemq/commit/fc4372b9f0f72b8b5eed917f0019c5cea45c5d06> (web)
- <https://github.com/apache/activemq> (package)
- <https://issues.apache.org/jira/browse/AMQ-6596> (web)

## Sources

- CVE List: [CVE-2025-27533](https://www.cve.org/CVERecord?id=CVE-2025-27533), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-whxr-3p84-rf3c](https://github.com/advisories/GHSA-whxr-3p84-rf3c), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-27533](https://nvd.nist.gov/vuln/detail/CVE-2025-27533), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-ACTIVEMQ-2025-27533](https://osv.dev/vulnerability/BIT-ACTIVEMQ-2025-27533), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2025-27533 · Whole record: https://cve.day/CVE-2025-27533.json · Rebuilt by cve.day 2026-11-25T22:58:57.693Z
