CVE-2025-27533

published 7 May 2025 · updated 3 Nov 2025

Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation

7.9HighCVSS 6.9EPSS 9%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 9%. Fixed in 5.16.8, 5.17.7, 5.18.7 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=5.16.0 <5.16.8, >=5.17.0 <5.17.7, >=5.18.0 <5.18.7, >=6.0.0 <6.1.65.16.8, 5.17.7, 5.18.7, 6.1.6

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-27533 severity on Zeptric[![CVE-2025-27533](https://zeptric.io/badge/cve/CVE-2025-27533.svg)](https://zeptric.io/cve/CVE-2025-27533)