CVE-2025-27533Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | activemq | Fix pending | UBUNTU-CVE-2025-27533 | |
| Ubuntu 26.04 | activemq | Under investigation | UBUNTU-CVE-2025-27533 | |
| Ubuntu 25.10 | activemq | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-27533 | |
| Ubuntu 24.04 | activemq | Under investigation | UBUNTU-CVE-2025-27533 | |
| Ubuntu 22.04 | activemq | Fix pending | UBUNTU-CVE-2025-27533 | |
| Ubuntu 20.04 | activemq | Fix pending | UBUNTU-CVE-2025-27533 | |
| Ubuntu 18.04 | activemq | Fix pending | UBUNTU-CVE-2025-27533 | |
| Ubuntu 16.04 | activemq | Fix pending | UBUNTU-CVE-2025-27533 | |
| Debian 13 | activemq | Fixed | 5.17.6+dfsg-2 | DEBIAN-CVE-2025-27533 |
| Debian 12 | activemq | Fix pending | DEBIAN-CVE-2025-27533 | |
| Maven library | org.apache.activemq:activemq-client | Fixed | 6.1.6 | GHSA-whxr-3p84-rf3c |
| Maven library | org.apache.activemq:activemq-openwire-legacy | Fixed | 5.18.7 | GHSA-whxr-3p84-rf3c |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache ActiveMQ: affected: 6.0.0 to before 6.1.6, 5.18.0 to before 5.18.7, 5.17.0 to before 5.17.7, 5.16.0 to before 5.16.8; fixed in
6.1.6,5.18.7,5.17.7,5.16.8
Vendor advisories:
- https://lists.apache.org/thread/8hcm25vf7mchg4zbbhnlx2lc5bs705hg (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.