CVE-2026-49432

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

Published Jun 30, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Improper input validation allows an unauthenticated remote peer that can reach an exposed STOMP connector to send a frame with a negative content‑length value, immediately triggering denial‑of‑service behavior. In the NIO STOMP transport the server continues to read bytes and expands the per‑connection command buffer until it exceeds configured limits, resulting in an out‑of‑memory condition. In the blocking STOMP protocol, the invalid length causes an abnormal transport exception that forces the offending connection to be closed. The flaw is an instance of CWE‑20 and CWE‑839 and requires no authentication or privilege escalation to exploit.

Affected Systems

Apache ActiveMQ and its variants—Apache ActiveMQ, Apache ActiveMQ All, and Apache ActiveMQ Stomp—running versions before 5.19.8 or from 6.0.0 up to but not including 6.2.7 are vulnerable.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity impact, while the EPSS score is not available and the vulnerability is not listed in CISA KEV. The likely attack vector is a remote unauthenticated connection to the exposed STOMP port; no special privileges are required. An attacker can trigger the service to become unavailable by sending a negative content‑length, which either drains memory or closes connections, leading to service disruption. The exploit requires network access to the STOMP endpoint and the ability to send arbitrary frames.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache ActiveMQ to version 5.19.8 or 6.2.7, the releases that contain the fix for negative content‑length handling.
  • If an upgrade is not immediately possible, restrict access to the STOMP connector to known, trusted networks or disable the connector if it is not required.
  • As a temporary measure, implement firewall or rate‑limiting rules on the STOMP port to reduce the likelihood of repeated exploitation attempts.

Generated by OpenCVE AI on July 1, 2026 at 12:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-xjwq-9jw5-jf7w Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp has an Improper Input Validation vulnerability
History
Type Values Removed Values Added
First Time appeared Apache
Apache activemq
Apache activemq All
Apache activemq Stomp
Vendors & Products Apache
Apache activemq
Apache activemq All
Apache activemq Stomp
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Stomp: STOMP negative content-length enables denial of service
Weaknesses CWE-20
References
Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-839

    Numeric Range Comparison Without Minimum Check

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Jun 30, 2026, 3:55 PM
Reserved
May 29, 2026, 8:35 PM
Status
Analyzed
Published
Jun 30, 2026, 11:16 AM
Modified
Jul 2, 2026, 6:43 PM
Severity
Important
Public date
Jun 30, 2026, 9:54 AM