Apache ActiveMQ NMS OpenWire Client Library DoS via unbounded length fields (CVE-2026-103582)
The .NET OpenWire client before 2.3.0 allows remote denial of service by unvalidated frame sizes in unmarshalling.
Unbounded memory allocation in Apache.NMS.ActiveMQ before 2.3.0
Unbounded memory allocation occurs in Apache.NMS.ActiveMQ's OpenWire unmarshalling code due to missing frame size validation. A malicious broker or attacker intercepting an unencrypted connection can send crafted frames with oversized or negative lengths, causing excessive memory consumption and client denial of service. It affects users of the .NET OpenWire client library before version 2.3.0.
What to do: Upgrade to Apache.NMS.ActiveMQ 2.3.0. No workaround available.
| Product | Affected | Fixed in |
|---|---|---|
| Apache NMS ActiveMQ | before 2.3.0 | 2.3.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
The .NET OpenWire client before 2.3.0 allows remote denial of service by unvalidated frame sizes in unmarshalling.
Today 1.6K readers · 2.4K views · 775 reads · all time 189K views