Skip to main content

CVE-2025-27533 — Vulnerability in activemq-client — CVE Details

MEDIUM

Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation

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

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (7.23%). Schedule for your next planned update.

Does your project use an affected org.apache.activemq:activemq-client version?

Paste your pom.xml to check it for CVE-2025-27533 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

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 (569 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-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-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-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.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-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.17.7 or later
<!-- Update pom.xml dependency version to 5.17.7 for org.apache.activemq:activemq-client -->
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 -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (8)

Affects 1 ecosystem: Maven (2).

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

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. It has a 7.2% probability of exploitation within 30 days (EPSS score). 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

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
7.23%
EPSS percentile: 95.1

This places it in the top 5% of EPSS-scored vulnerabilities — 95.1% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Also Known As

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

Related CVEs

  • CVE-2014-3600
    CRITICAL

    Improper Restriction of XML External Entity Reference in Apache ActiveMQ

  • CVE-2023-46604
    CRITICAL

    Apache ActiveMQ is vulnerable to Remote Code Execution

  • CVE-2015-5254
    CRITICAL

    Improper Input Validation in Apache ActiveMQ

  • CVE-2026-39304
    HIGH

    Apache ActiveMQ: Denial of Service via Out of Memory vulnerability

  • CVE-2026-53917
    HIGH

    Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker have Memory Allocation with Excessive Size Value vulnerability

  • CVE-2026-42588
    HIGH

    Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ have a Code Injection issue

  • CVE-2026-45505
    HIGH

    Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ have a Code Injection issue

  • CVE-2026-40466
    HIGH

    Apache ActiveMQ Vulnerable to Improper Input Validation and Code Injection

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml