GitHub Advisoryadvisory · Maven

GHSA-whxr-3p84-rf3c Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation

MEDIUM Published 2025-05-07 Modified 2025-11-03 Official page ↗
Aliases
CVE-2025-27533
Ecosystem
Maven
Packages
org.apache.activemq:activemq-openwire-legacy, org.apache.activemq:activemq-client
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-789
Reviewed
2025-05-07

Affected packages

• Maven org.apache.activemq:activemq-openwire-legacy: < 5.16.8 → fixed in 5.16.8 • Maven org.apache.activemq:activemq-client: < 5.16.8 → fixed in 5.16.8 • Maven org.apache.activemq:activemq-openwire-legacy: >= 5.17.0, < 5.17.7 → fixed in 5.17.7 • Maven org.apache.activemq:activemq-openwire-legacy: >= 5.18.0, < 5.18.7 → fixed in 5.18.7 • Maven org.apache.activemq:activemq-openwire-legacy: >= 6.0.0, < 6.1.6 → fixed in 6.1.6 • Maven org.apache.activemq:activemq-client: >= 5.17.0, < 5.17.7 → fixed in 5.17.7 • Maven org.apache.activemq:activemq-client: >= 5.18.0, < 5.18.7 → fixed in 5.18.7 • Maven org.apache.activemq:activemq-client: >= 6.0.0, < 6.1.6 → fixed in 6.1.6

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.

Related

Alias · CVE (1)

  • CVE-2025-27533 Memory Allocation with Excessive Size Value vulnerability in Apache ActiveMQ. vulnerability

Weakness · CWE (1)

  • CWE-789 Memory Allocation with Excessive Size Value weakness

References