6.9medium
Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation
- Severity
- 6.9medium CVSS:4.0 by apache
- Exploit likelihood
- 9.29% (higher than 95% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-whxr-3p84-rf3cBIT-ACTIVEMQ-2025-27533
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
| Product or package | Versions | Reported by |
|---|---|---|
| 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 | CVE List |
| 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 | GitHub Advisory Database |
| 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 | GitHub Advisory Database |
| 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 | NVD |
| 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 | Bitnami Vulnerability Database |
All scores
| apache | 6.9medium 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 |
| GitHub | 7.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | medium 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 | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Vulnerabilidad de asignación de memoria con valor de tamaño excesivo en Apache ActiveMQ. Durante la desmarshalling de comandos OpenWire, el valor de tamaño de los búferes no se validó correctamente, lo que podría provocar una asignación excesiva de memoria y ser explotado para causar una denegación de servicio (DoS) al agotar la memoria del proceso. Esto afecta a aplicaciones y servicios que dependen de la disponibilidad del broker ActiveMQ cuando no utilizan conexiones TLS mutuas. Este problema afecta a Apache ActiveMQ: desde la versión 6.0.0 hasta la 6.1.6, desde la versión 5.18.0 hasta la 5.18.7, desde la versión 5.17.0 hasta la 5.17.7 y hasta la 5.16.8. ActiveMQ 5.19.0 no se ve afectado. Se recomienda a los usuarios actualizar a la versión 6.1.6+, 5.19.0+, 5.18.7+, 5.17.7 o 5.16.8, o a la que solucione el problema. Los usuarios existentes pueden implementar TLS mutuo para mitigar el riesgo en los corredores afectados.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-27533 changed 2025-11-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-whxr-3p84-rf3c changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-27533 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-ACTIVEMQ-2025-27533 changed 2026-09-10 | Apache-2.0 |