Description
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.
Published: 2026-11-04
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Patch Update
AI Analysis

Impact

Apache.NMS.ActiveMQ clients can be forced to allocate excessively large memory blocks or crash when an attacker sends a specially crafted OpenWire frame containing an oversized or negative length. The unvalidated frame size and length fields bypass built‑in safeguards, resulting in OutOfMemoryException events or uncaught exceptions that terminate the client process. The weakness is a classic instance of unchecked recursion or unbounded memory consumption (CWE-789).

Affected Systems

The vulnerability affects all users of the Apache.NMS.ActiveMQ .NET OpenWire client library distributed before version 2.3.0. The CNA lists the Apache Software Foundation:Apache ActiveMQ NMS OpenWire Client Library as the affected product.

Risk and Exploitability

Because the attack vector relies on manipulating frames in an unencrypted or compromised broker connection, the exploitation likelihood depends on network exposure and encryption use. No EPSS score is available and the vulnerability is not listed in CISA's KEV catalog, but the absence of frame validation means that any client with network access to a broker can be targeted. The impact is a denial of service to the client application, which could affect multiple users if the client runs in a shared environment.

Generated by OpenCVE AI on November 4, 2026 at 11:29 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Apache.NMS.ActiveMQ client to version 2.3.0 or later, which introduces maximum frame size enforcement and length validation.
  • Enable transport encryption (e.g., TLS) for all OpenWire connections to prevent attackers from tampering with broker frames.
  • Monitor client processes for abnormal memory consumption or unhandled exceptions, and apply resource limits or watchdogs to mitigate DoS effects.

Generated by OpenCVE AI on November 4, 2026 at 11:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 04 Nov 2026 09:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Apache ActiveMQ NMS OpenWire Client Library: Unbounded/Unvalidated Length Fields in Apache.NMS.OpenWire Unmarshalling (DoS)
Weaknesses CWE-789
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-11-04T11:10:00.963Z

Reserved: 2026-09-30T21:18:25.486Z

Link: CVE-2026-103582

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-04T11:17:13.637

Modified: 2026-11-04T11:17:13.637

Link: CVE-2026-103582

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-04T11:30:10Z

Weaknesses
  • CWE-789

    Memory Allocation with Excessive Size Value