7.5High

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

Apache Software Foundation Apache ActiveMQ; Apache Software Foundation Apache ActiveMQ All; Apache Software Foundation Apache ActiveMQ Stomp Published: (4 months ago)

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): CWE-789

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
apache activemq < 5.19.8
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

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* < 5.19.8
  • cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* ≥ 6.0.0 < 6.2.7