CVE-2025-27533
Java vulnerability analysis and mitigation

Overview

A Memory Allocation with Excessive Size Value vulnerability has been identified in Apache ActiveMQ, tracked as CVE-2025-27533. The vulnerability was discovered and disclosed on May 6, 2025, affecting multiple versions of Apache ActiveMQ: 6.0.0 before 6.1.6, 5.18.0 before 5.18.7, 5.17.0 before 5.17.7, and versions before 5.16.8. Notably, ActiveMQ version 5.19.0 is not affected by this vulnerability (OpenWall, SecurityOnline).

Technical details

The vulnerability stems from improper validation of buffer size values during the unmarshalling of OpenWire commands. This oversight in input validation could lead to excessive memory allocation when processing specially crafted messages. The issue has been assigned a CVSS 4.0 Base Score of 6.9 (MEDIUM) with the vector string 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. The vulnerability is classified under CWE-789: Memory Allocation with Excessive Size Value (NVD).

Impact

The primary impact of this vulnerability is the potential for denial of service (DoS) attacks through process memory depletion. When exploited, it can affect applications and services that depend on the availability of the ActiveMQ broker, particularly in environments not using mutual TLS connections. This can lead to service disruption and system unavailability (OpenWall, SecurityOnline).

Mitigation and workarounds

Apache has released patched versions to address this vulnerability. Users are strongly recommended to upgrade to version 6.1.6+, 5.19.0+, 5.18.7+, 5.17.7, or 5.16.8. For environments unable to upgrade immediately, implementing mutual TLS on ActiveMQ brokers serves as an effective mitigation measure (OpenWall).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management