Unbounded frame allocation causes denial of service in Apache Software Foundation's Apache ActiveMQ NMS OpenWire Client Library

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-103582?

CVE-2026-103582 is a vulnerability classified as Memory Allocation with Excessive Size Value, affecting Apache ActiveMQ NMS OpenWire Client Library (affected versions: ≤ 2.2.0). The severity of this vulnerability has not yet been determined. There is not enough data to determine whether this vulnerability has been exploited.

Overview

Original source data

Unbounded memory allocation and missing frame size validation in Apache NMS ActiveMQ (the.NET OpenWire client, package Apache.NMS.ActiveMQ) before 2.3.0. The OpenWire unmarshalling code trusted the frame size and the length and count fields read from the network. It did not enforce a maximum frame size, and it did not check that decoded lengths fit within the frame being read. A malicious or compromised broker, or an attacker able to intercept and modify an unencrypted connection, could send a crafted OpenWire frame with an oversized or negative length. This could cause the client to attempt very large memory allocations, leading to excessive memory consumption, an OutOfMemoryException or an uncaught exception, and a denial of service of the client application. Users are recommended to upgrade to version 2.3.0, which enforces a configurable maximum frame size and validates lengths against the size of the frame being read.

Affected products and scope

  • Apache Software Foundation Apache ActiveMQ NMS OpenWire Client Library, NuGet package Apache.NMS.ActiveMQ: the normalized record marks versions from 0 through 2.2.0, inclusive, as affected under semver.
  • The advisory describes affected versions as through 2.2.0 and recommends the fixed version 2.3.0.
  • The status of parallel branches or versions outside the stated scope is not additionally confirmed by the available evidence.

Technical details

The affected component is the OpenWire unmarshalling path in the Apache.NMS.ActiveMQ package. The code trusted the frame size and the length and count fields read from the network, but did not enforce a maximum frame size or verify that decoded lengths fit within the frame being read. A malicious or compromised broker, or an attacker able to intercept and modify an unencrypted connection, could send a crafted OpenWire frame with an oversized or negative length. The client could then attempt very large memory allocations, resulting in excessive resource consumption, an OutOfMemoryException, or an uncaught exception that disrupts the client application. The available evidence does not identify the exact allocation site or the precise processing path for each exception type.

Exploitability

The flaw is reachable over the network when a client processes OpenWire data from a broker. The documented conditions are a malicious or compromised broker, or the ability to intercept and modify an unencrypted connection. The available evidence does not specify authentication requirements, user interaction, or exploit complexity. The record and consulted advisory do not document observed exploitation or a public exploit; that does not establish that exploitation has never occurred.

Technical impact

  • The documented technical outcome is excessive memory allocation in the client process, which may lead to an OutOfMemoryException, an uncaught exception, or denial of service.
  • The affected scope is the availability of the client application processing OpenWire; the sources do not describe compromise of the broker through this flaw.
  • The record does not establish privilege escalation, remote code execution, data disclosure, or data modification.
  • Real-world impact depends on whether the client can receive frames from a malicious broker or has an unencrypted connection that can be modified.

Business impact

  • A client application may consume excessive memory while processing a crafted OpenWire frame.
  • The condition can produce an OutOfMemoryException, an uncaught exception, or service interruption in the client application.
  • The primary operational consequence is reduced availability for applications that depend on the client to communicate with a broker.
  • The available sources do not show that this flaw directly causes data disclosure, data modification, or code execution.

Remediation

  1. Upgrade the Apache.NMS.ActiveMQ package to version 2.3.0. This version enforces a configurable maximum frame size and validates lengths against the size of the frame being read.
  2. Verify that every OpenWire client application has been upgraded, rather than updating only the broker or server-side components.
  3. After upgrading, configure the maximum frame size for the deployment and verify that the setting is active on the clients in use.
  4. If an upgrade cannot be completed, the supplied evidence does not provide a separate vendor-confirmed mitigation. Encrypting the connection may reduce the interception and modification path, but it does not address a malicious or compromised broker.

Detection

  1. Inventory applications and NuGet packages using Apache.NMS.ActiveMQ, and identify clients that use OpenWire.
  2. Compare each package version with the affected branch listed in affected_summary.
  3. Review client telemetry for sharp memory growth, OutOfMemoryException, or uncaught exceptions while processing OpenWire data. These are possible symptoms, not unique indicators of this vulnerability.
  4. Identify broker connections that are unencrypted and brokers outside the organization's control, because these conditions match the attack paths described by the advisory. No specific log event or IOC is provided by the sources.
Sources (14)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.