Skip to content
OpenAdvisories
High · 7.5 CVE-2026-53916 EUVD-2026-40278GHSA-2q9g-8573-3265

Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp: Unbounded header buffer in STOMP NIO codec

Published Jun 30, 2026 · Updated Jun 30, 2026 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache ActiveMQ < 5.19.8, 6.0.0 – < 6.2.7 5.19.8
Apache Software Foundation Apache ActiveMQ All < 5.19.8, 6.0.0 – < 6.2.7 5.19.8
Apache Software Foundation Apache ActiveMQ Stomp < 5.19.8, 6.0.0 – < 6.2.7 5.19.8

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 activemq No fix yet —
Debian 12 activemq No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 activemq No fix yet —
Ubuntu 26.04 LTS activemq No fix yet —
Ubuntu 25.10 activemq No fix yet —
Ubuntu 24.04 LTS activemq No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS activemq No fix yet —
Ubuntu Pro 20.04 LTS activemq No fix yet —
Ubuntu Pro 18.04 LTS activemq No fix yet —
Ubuntu Pro 16.04 LTS activemq No fix yet —

Advisories 2

References