Loading...
Skip to main content

CVE-2025-27533 — Vulnerability in...

MEDIUM

Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation

Published May 7, 2025Updated September 10, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published May 7, 2025 (523 days ago).
  • Last revised September 10, 2026 — 491 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.activemq:activemq-client to 5.18.7 or later
<!-- Update pom.xml dependency version to 5.18.7 for org.apache.activemq:activemq-client -->
Maven
Update org.apache.activemq:activemq-client to 6.1.6 or later
<!-- Update pom.xml dependency version to 6.1.6 for org.apache.activemq:activemq-client -->
Maven
Update org.apache.activemq:activemq-client to 5.16.8 or later
<!-- Update pom.xml dependency version to 5.16.8 for org.apache.activemq:activemq-client -->
Maven
Update org.apache.activemq:activemq-openwire-legacy to 5.17.7 or later
<!-- Update pom.xml dependency version to 5.17.7 for org.apache.activemq:activemq-openwire-legacy -->
Maven
Update org.apache.activemq:activemq-openwire-legacy to 6.1.6 or later
<!-- Update pom.xml dependency version to 6.1.6 for org.apache.activemq:activemq-openwire-legacy -->
Maven
Update org.apache.activemq:activemq-openwire-legacy to 5.16.8 or later
<!-- Update pom.xml dependency version to 5.16.8 for org.apache.activemq:activemq-openwire-legacy -->
Maven
Update org.apache.activemq:activemq-openwire-legacy to 5.18.7 or later
<!-- Update pom.xml dependency version to 5.18.7 for org.apache.activemq:activemq-openwire-legacy -->
Maven
Update org.apache.activemq:activemq-client to 5.17.7 or later
<!-- Update pom.xml dependency version to 5.17.7 for org.apache.activemq:activemq-client -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (8)

Affects 1 ecosystem: maven (2).

PackageEcosystemAffectedFixed In
org.apache.activemq:activemq-client
maven
5.18.0, 5.18.1, 5.18.2, 5.18.3 (+3 more)5.18.7
org.apache.activemq:activemq-client
maven
6.0.0, 6.0.1, 6.1.0, 6.1.1 (+4 more)6.1.6
org.apache.activemq:activemq-client
maven
5.10.0, 5.10.1, 5.10.2, 5.11.0 (+48 more)5.16.8
org.apache.activemq:activemq-openwire-legacy
maven
5.17.0, 5.17.1, 5.17.2, 5.17.3 (+3 more)5.17.7
org.apache.activemq:activemq-openwire-legacy
maven
6.0.0, 6.0.1, 6.1.0, 6.1.1 (+4 more)6.1.6
org.apache.activemq:activemq-openwire-legacy
maven
5.10.0, 5.10.1, 5.10.2, 5.11.0 (+48 more)5.16.8
org.apache.activemq:activemq-openwire-legacy
maven
5.18.0, 5.18.1, 5.18.2, 5.18.3 (+3 more)5.18.7
org.apache.activemq:activemq-client
maven
5.17.0, 5.17.1, 5.17.2, 5.17.3 (+3 more)5.17.7

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

What is CVE-2025-27533?
Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2025-27533?
CVE-2025-27533 affects org.apache.activemq:activemq-client and org.apache.activemq:activemq-openwire-legacy. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-27533 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-whxr-3p84-rf3c
BIT-activemq-2025-27533

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies