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.
Published: 2026-06-30
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Wed, 01 Jul 2026 10:30:00 +0000

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

Wed, 01 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-839
References
Metrics threat_severity

None

threat_severity

Important


Tue, 30 Jun 2026 16:30:00 +0000

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'}


Tue, 30 Jun 2026 10:45:00 +0000

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

Subscriptions

Apache Activemq Activemq All Activemq Stomp
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-06-30T15:55:36.075Z

Reserved: 2026-05-29T20:35:56.881Z

Link: CVE-2026-49432

cve-icon Vulnrichment

Updated: 2026-06-30T11:06:04.962Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-06-30T09:54:38Z

Links: CVE-2026-49432 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T12:45:16Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-839

    Numeric Range Comparison Without Minimum Check