REDHAT-BUG-2494847: Input Validation

Published Jun 30, 2026
·
Updated

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.

Affected Software

3 affected components
Apache ActiveMQ<5.19.8, >=6.0.0<6.2.7
Apache ActiveMQ All<5.19.8, >=6.0.0<6.2.7
Apache ActiveMQ Stomp<5.19.8, >=6.0.0<6.2.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache ActiveMQ to a version that resolves this vulnerability.

    Fixed in 6.2.7
  2. Upgrade

    Upgrade Apache ActiveMQ to a version that resolves this vulnerability.

    Fixed in 5.19.8

Event History

Jun 30, 2026
Data Sourced
via Red Hat·11:02 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to remote attack?

Deployments with an exposed STOMP connector that a remote unauthenticated peer can reach are exposed. The issue is triggered through that connector by sending a negative content-length value.

2

How does the impact differ between NIO and blocking STOMP transports?

On the NIO STOMP transport, an attacker can continuously stream body bytes and grow the per-connection command buffer beyond configured limits, potentially causing an out-of-memory condition. On the blocking STOMP protocol, the malformed input causes abnormal transport exception handling and closes the affected connection.

3

Which versions need remediation?

Affected releases are Apache ActiveMQ, Apache ActiveMQ All, and Apache ActiveMQ Stomp versions before 5.19.8, plus versions from 6.0.0 before 6.2.7. Upgrade to 5.19.8 or 6.2.7 to fix the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203