CVE-2025-27533
JSON

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 packageVersionsReported by
Apache Software Foundation Apache ActiveMQfrom 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.8CVE 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.6GitHub 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.6GitHub Advisory Database
apache activemqfrom 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.6NVD
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.6Bitnami Vulnerability Database

All scores

apache6.9medium CVSS:4.0CVSS: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
GitHub7.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubmedium CVSS:4.0CVSS: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
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-789

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

Sources

SourceRecordLicence
CVE ListCVE-2025-27533 changed 2025-11-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-whxr-3p84-rf3c changed 2026-09-10CC-BY-4.0
NVDCVE-2025-27533 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-ACTIVEMQ-2025-27533 changed 2026-09-10Apache-2.0