Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.activemq/activemq-openwire-legacy
  4. ›
  5. CVE-2025-27533

CVE-2025-27533: Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation

May 7, 2025

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.

References

  • github.com/advisories/GHSA-whxr-3p84-rf3c
  • github.com/apache/activemq
  • github.com/apache/activemq/commit/fc4372b9f0f72b8b5eed917f0019c5cea45c5d06
  • issues.apache.org/jira/browse/AMQ-6596
  • lists.apache.org/thread/8hcm25vf7mchg4zbbhnlx2lc5bs705hg
  • nvd.nist.gov/vuln/detail/CVE-2025-27533

Code Behaviors & Features

Detect and mitigate CVE-2025-27533 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.16.8, all versions starting from 5.17.0 before 5.17.7, all versions starting from 5.18.0 before 5.18.7, all versions starting from 6.0.0 before 6.1.6

Fixed versions

  • 5.16.8
  • 5.17.7
  • 5.18.7
  • 6.1.6

Solution

Upgrade to versions 5.16.8, 5.17.7, 5.18.7, 6.1.6 or above.

Weakness

  • CWE-789: Memory Allocation with Excessive Size Value

Source file

maven/org.apache.activemq/activemq-openwire-legacy/CVE-2025-27533.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:34 +0000.