Apache ActiveMQ NMS AMQP Client: Deserialization of Untrusted Data
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
A Deserialization of Untrusted Data vulnerability exists in the Apache ActiveMQ NMS AMQP Client. This issue affects all versions of Apache ActiveMQ NMS AMQP up to and including 2.3.0, when establishing connections to untrusted AMQP servers. Malicious servers could exploit unbounded deserialization logic present in the client to craft responses that may lead to arbitrary code execution on the client side. Although version 2.1.0 introduced a mechanism to restrict deserialization via allow/deny lists, the protection was found to be bypassable under certain conditions. In line with Microsoft’s deprecation of binary serialization in .NET 9, the project is evaluating the removal of .NET binary serialization support from the NMS API entirely in future releases. Mitigation and Recommendations: Users are strongly encouraged to upgrade to version 2.4.0 or later, which resolves the issue. Additionally, projects depending on NMS-AMQP should migrate away from .NET binary serialization as part of a long-term hardening strategy.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache ActiveMQ NMS AMQP Client | up to 2.3.0 | — | No fix listed | CNA |
| — | Apache.NMS.AMQP (NuGet) | before 2.4.0 | 2.4.0 | Patch available | GHSA-4mjw-xr5x-prpc |
- Apache ActiveMQ NMS AMQP Client VendorApache Affected up to 2.3.0 Fixed in — No fix listed CNA
- Apache.NMS.AMQP (NuGet) Vendor— Affected before 2.4.0 Fixed in 2.4.0 Patch available GHSA-4mjw-xr5x-prpc
Remediation
- Fix · GHSA-4mjw-xr5x-prpc Apache.NMS.AMQP (NuGet) Fixed in 2.4.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-54539
- 2026-10-03 Alias added: GHSA-4mjw-xr5x-prpc
References
Sources
- CVE-2025-54539 · CVE Program
- CVE-2025-54539 · NVD
- FIRST EPSS
- GHSA-4mjw-xr5x-prpc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences