CVE-2025-27533
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-05-07
- Last modified
- 2026-06-17
- Assigned by
- security@apache.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
8.5 %
higher than 94 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apache | Activemq | ≥ 5.16.0, < 5.16.8 | Affected |
| Apache | Activemq | ≥ 5.17.0, < 5.17.7 | Affected |
| Apache | Activemq | ≥ 5.18.0, < 5.18.7 | Affected |
| Apache | Activemq | ≥ 6.0.0, < 6.1.6 | Affected |
| org.apache.activemq | activemq-client (Maven) | < 5.16.8 | Affected |
| org.apache.activemq | activemq-client (Maven) | ≥ 5.17.0, < 5.17.7 | Affected |
| org.apache.activemq | activemq-client (Maven) | ≥ 5.18.0, < 5.18.7 | Affected |
| org.apache.activemq | activemq-client (Maven) | ≥ 6.0.0, < 6.1.6 | Affected |
| org.apache.activemq | activemq-openwire-legacy (Maven) | < 5.16.8 | Affected |
| org.apache.activemq | activemq-openwire-legacy (Maven) | ≥ 5.17.0, < 5.17.7 | Affected |
| org.apache.activemq | activemq-openwire-legacy (Maven) | ≥ 5.18.0, < 5.18.7 | Affected |
| org.apache.activemq | activemq-openwire-legacy (Maven) | ≥ 6.0.0, < 6.1.6 | Affected |
Weakness type
-
CWE-789: Memory Allocation with Excessive Size Value
The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.
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
Related at Berigo
Articles
-
Attackers are exploiting the plug-in in front of Oracle WebLogic
Same product
2026-08-25
CISA added CVE-2026-21962 to its Known Exploited Vulnerabilities Catalog on 24 August, citing evidence of active exploitation. The flaw sits in Oracl…
-
The crypto library behind Python now ships quantum-resistant algorithms
Same product
2026-08-18
Trail of Bits has added ML-KEM and ML-DSA to pyca/cryptography, funded by the Sovereign Tech Agency. The library is the eleventh most downloaded pack…
-
Unit 42: Chinese speaking actor ran autonomous attacks with an AI agent
Same product
2026-07-31
On 30 July 2026 Unit 42 published a campaign in which a Chinese speaking actor let an AI agent find targets, fetch exploit code and attempt exploitat…
-
AI agent chose targets and switched vulnerability on its own in Chinese campaign
Same product
2026-07-31
Unit 42 describes a Chinese speaking actor who paired the DeepSeek language model with the Hermes Agent framework, and let the setup find targets, pu…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.