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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache ActiveMQ NMS OpenWire Client Library | ≤ 2.2.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | activemq | No fix yet | — |
| Ubuntu 26.04 LTS | activemq | No fix yet | — |
| Ubuntu 24.04 LTS | activemq | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | activemq | No fix yet | — |
| Ubuntu Pro 20.04 LTS | activemq | No fix yet | — |
| Ubuntu Pro 18.04 LTS | activemq | No fix yet | — |
| Ubuntu Pro 16.04 LTS | activemq | No fix yet | — |
Advisories 1
- WID-SEC-2026-4348 Apache ActiveMQ: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 4, 2026
References
- https://lists.apache.org/thread/vgn9pnsc7g9dhcctt804kd50tvs0ndq0 vendor-advisory