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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-05-07 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2025-27533, DEBIAN-CVE-2025-27533, DLA-4222-1, CGA-2p86-wj7q-qjp4, CGA-6f9c-v72c-cf6x, CGA-9wj3-cqvx-m64q, CGA-g36w-cp3r-2fcp, CGA-mvpr-8jhf-62c3, CGA-w38x-crqg-gfmc, GHSA-whxr-3p84-rf3c, BIT-activemq-2025-27533, USN-9233-1
- Record: https://cvemate.com/vulnerability/CVE-2025-27533 · JSON: https://cvemate.com/vulnerability/CVE-2025-27533/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 9.216%, percentile 95.478%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (exploit-database)

## Affected

- apache software foundation apache activemq: ≥ 6.0.0, \< 6.1.6 \| ≥ 5.18.0, \< 5.18.7 \| ≥ 5.17.0, \< 5.17.7 \| ≥ 5.16.0, \< 5.16.8
- apache activemq: ≥ 5.16.0, \< 5.16.8 \| ≥ 5.17.0, \< 5.17.7 \| ≥ 5.18.0, \< 5.18.7 \| ≥ 6.0.0, \< 6.1.6
- chainguard zipkin (Chainguard): \< 3.5.1-r1
- chainguard zipkin-oci-entrypoint (Chainguard): \< 3.5.1-r1
- chainguard zipkin-slim (Chainguard): \< 3.5.1-r1
- wolfi zipkin (Wolfi): \< 3.5.1-r1
- wolfi zipkin-oci-entrypoint (Wolfi): \< 3.5.1-r1
- wolfi zipkin-slim (Wolfi): \< 3.5.1-r1
- debian activemq (Debian): \< 5.16.1-1+deb11u2 \| All versions (No fix recorded) \| \< 5.17.6+dfsg-2
- ubuntu activemq (Ubuntu): All versions (No fix recorded) \| \< 5.13.2+dfsg-2ubuntu0.1~esm2 \| \< 5.15.8-2~18.04.1~esm2 \| \< 5.15.11-1ubuntu0.1~esm2 \| \< 5.16.1-1ubuntu0.1+esm1 \| \< 5.17.6+dfsg-1ubuntu0.24.04.1~esm1
- org.apache.activemq activemq-client (Maven): \< 5.16.8 \| ≥ 5.17.0, \< 5.17.7 \| ≥ 5.18.0, \< 5.18.7 \| ≥ 6.0.0, \< 6.1.6
- org.apache.activemq activemq-openwire-legacy (Maven): \< 5.16.8 \| ≥ 5.17.0, \< 5.17.7 \| ≥ 5.18.0, \< 5.18.7 \| ≥ 6.0.0, \< 6.1.6

## References

- <https://lists.apache.org/thread/8hcm25vf7mchg4zbbhnlx2lc5bs705hg>
- <http://www.openwall.com/lists/oss-security/2025/05/06/1>
- <https://lists.debian.org/debian-lts-announce/2025/06/msg00020.html>
- <https://ubuntu.com/security/CVE-2025-27533>
- <https://www.cve.org/CVERecord?id=CVE-2025-27533>
- <https://issues.apache.org/jira/browse/AMQ-6596>
- <https://security-tracker.debian.org/tracker/CVE-2025-27533>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27533.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27533>
- <https://github.com/apache/activemq/commit/fc4372b9f0f72b8b5eed917f0019c5cea45c5d06>
- <https://github.com/apache/activemq>
- <https://ubuntu.com/security/notices/USN-9233-1>

---

Data as of 2026-12-05T06:22:42.922Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
