Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation
Overview
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.
- Published
- 5/7/2025
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
activemq apache | ≥ 5.16.0, < 5.16.8 | Verify advisory | Source |
activemq apache | ≥ 5.17.0, < 5.17.7 | Verify advisory | Source |
activemq apache | ≥ 5.18.0, < 5.18.7 | Verify advisory | Source |
activemq apache | ≥ 6.0.0, < 6.1.6 | Verify advisory | Source |
Apache ActiveMQ Apache Software Foundation | ≥ 6.0.0, < 6.1.6 | Verify advisory | Source |
Apache ActiveMQ Apache Software Foundation | ≥ 5.18.0, < 5.18.7 | Verify advisory | Source |
Apache ActiveMQ Apache Software Foundation | ≥ 5.17.0, < 5.17.7 | Verify advisory | Source |
Apache ActiveMQ Apache Software Foundation | ≥ 5.16.0, < 5.16.8 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 6.9. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.