oss-sec mailing list archives

CVE-2026-49432: Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp: STOMP negative content-length enables denial of service


From: "Christopher L. Shannon" <cshannon () apache org>
Date: Mon, 29 Jun 2026 18:29:09 +0000

Severity: important 

Affected versions:

- Apache ActiveMQ (org.apache.activemq:apache-activemq) before 5.19.8
- Apache ActiveMQ (org.apache.activemq:apache-activemq) 6.0.0 before 6.2.7
- Apache ActiveMQ All (org.apache.activemq:activemq-all) before 5.19.8
- Apache ActiveMQ All (org.apache.activemq:activemq-all) 6.0.0 before 6.2.7
- Apache ActiveMQ Stomp (org.apache.activemq:activemq-stomp) before 5.19.8
- Apache ActiveMQ Stomp (org.apache.activemq:activemq-stomp) 6.0.0 before 6.2.7

Description:

Improper Input Validation vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp.

A remote unauthenticated peer that can reach an exposed STOMP connector can trigger denial-of-service behavior by 
sending a negative content-length. For the NIO STOMP transport, an attacker can keep streaming body bytes and grow the 
per-connection command buffer beyond configured limits to cause OOM. For the blocking STOMP protocol, an error will 
instead force abnormal transport exception handling for the affected connection and closure.
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.

Credit:

Youngjoon Kim (finder)

References:

https://activemq.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-49432


Current thread: