# CVE-2026-53916: Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp: Unbounded header buffer in STOMP NIO codec

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.74% (percentile 51, 2026-11-28)
- **CWE:** CWE-789
- **Published:** 2026-06-30T09:49:55.655Z
- **Modified:** 2026-07-02T18:42:03.147Z

## Who should check

- Anyone running Apache Software Foundation Apache ActiveMQ \< 5.19.8; \>= 6.0.0, \< 6.2.7
- Anyone running Apache Software Foundation Apache ActiveMQ All \< 5.19.8; \>= 6.0.0, \< 6.2.7
- Anyone running Apache Software Foundation Apache ActiveMQ Stomp \< 5.19.8; \>= 6.0.0, \< 6.2.7

## Description

Memory Allocation with Excessive Size Value vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp.


An unauthenticated client that opens a STOMP NIO connection can send header bytes that never terminate which makes the broker buffer them without limit, exhausting the JVM heap. 
This issue affects Apache ActiveMQ: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ All: before 5.19.8, from 6.0.0 before 6.2.7; Apache ActiveMQ Stomp: before 5.19.8, from 6.0.0 before 6.2.7.

Users are recommended to upgrade to version 6.2.7 or 5.19.8, which fixes the issue.

## Affected and fixed versions

- Apache Software Foundation Apache ActiveMQ: \< 5.19.8; \>= 6.0.0, \< 6.2.7 (cvelist)
- Apache Software Foundation Apache ActiveMQ All: \< 5.19.8; \>= 6.0.0, \< 6.2.7 (cvelist)
- Apache Software Foundation Apache ActiveMQ Stomp: \< 5.19.8; \>= 6.0.0, \< 6.2.7 (cvelist)

## Mitigation

- Upgrade Apache ActiveMQ to 6.2.7 or later.
- Upgrade Apache ActiveMQ All to 6.2.7 or later.
- Upgrade Apache ActiveMQ Stomp to 6.2.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53916. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53916.md
Affected: Apache Software Foundation Apache ActiveMQ < 5.19.8; >= 6.0.0, < 6.2.7; Apache Software Foundation Apache ActiveMQ All < 5.19.8; >= 6.0.0, < 6.2.7; Apache Software Foundation Apache ActiveMQ Stomp < 5.19.8; >= 6.0.0, < 6.2.7
Fixed in: Apache Software Foundation Apache ActiveMQ 5.19.8, Apache Software Foundation Apache ActiveMQ 6.2.7, Apache Software Foundation Apache ActiveMQ All 5.19.8, Apache Software Foundation Apache ActiveMQ All 6.2.7, Apache Software Foundation Apache ActiveMQ Stomp 5.19.8, Apache Software Foundation Apach…

Steps:
1. Search this machine and project for Apache Software Foundation Apache ActiveMQ, Apache Software Foundation Apache ActiveMQ All, Apache Software Foundation Apache ActiveMQ Stomp: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53916 being exploited?

There is no confirmed exploitation: CVE-2026-53916 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.74% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-53916?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-53916?

Apache Software Foundation Apache ActiveMQ \< 5.19.8; \>= 6.0.0, \< 6.2.7; Apache Software Foundation Apache ActiveMQ All \< 5.19.8; \>= 6.0.0, \< 6.2.7; Apache Software Foundation Apache ActiveMQ Stomp \< 5.19.8; \>= 6.0.0, \< 6.2.7.

### Is there a fix for CVE-2026-53916?

Yes. Fixed in Apache Software Foundation Apache ActiveMQ 5.19.8, Apache Software Foundation Apache ActiveMQ 6.2.7, Apache Software Foundation Apache ActiveMQ All 5.19.8, Apache Software Foundation Apache ActiveMQ All 6.2.7, Apache Software Foundation Apache ActiveMQ Stomp 5.19.8, Apache Software Foundation Apache ActiveMQ Stomp 6.2.7. Upgrade Apache ActiveMQ to 6.2.7 or later. Upgrade Apache ActiveMQ All to 6.2.7 or later. Upgrade Apache ActiveMQ Stomp to 6.2.7 or later.

### How do I check if I'm affected by CVE-2026-53916?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/07hjsj88hqgsb7vvg6ttsj56ts9vjs5n>
- other: <http://www.openwall.com/lists/oss-security/2026/06/29/13>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53916>

HTML: <https://flawdb.com/CVE-2026-53916> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53916>
