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

High 7.5 Published Updated

Unauthenticated attackers can exhaust JVM heap memory by sending unterminated STOMP headers, causing denial of service in Apache ActiveMQ.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-53916?

CVE-2026-53916 is a high-severity denial of service vulnerability in Apache Activemq, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-789

Which versions are affected by CVE-2026-53916?

1 open source package ship an affected version, including activemq. It affects 1 product.

PackageAffectedFixed in
activemq BitnamiAll versions5.19.8, 6.2.7

Products include Apache Activemq.

How do I fix CVE-2026-53916?

Upgrade activemq to a fixed version for your release line: 5.19.8 or 6.2.7.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-53916 being exploited?

There is no known exploitation of CVE-2026-53916 in the wild and no public exploit code.

All Apache Activemq vulnerabilities

Sources

Also known as BIT-activemq-2026-53916, DEBIAN-CVE-2026-53916, GHSA-2q9g-8573-3265, MINI-4wvx-3r7c-pchf, MINI-gc94-x82x-fcwm, MINI-hwfm-2gpg-r56p and 2 more.

Is CVE-2026-53916 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free