ActiveMQ NMS AMQP
CVE-2025-54539
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure client to malicious AMQP server
-
DeliveryDeliver crafted AMQP response
-
ExploitTrigger unbounded .NET deserialization
-
ExecutionBypass allow/deny list filter
-
ImpactExecute arbitrary code on client
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim's .NET application (using Apache ActiveMQ NMS AMQP version 2.3.0 or earlier) to initiate an AMQP connection to an attacker-controlled, compromised, or otherwise untrusted AMQP server; the server then returns crafted serialized data that the client deserializes via unbounded logic. The allow/deny-list deserialization restriction introduced in version 2.1.0 is bypassable under certain conditions, so merely enabling that filter does not guarantee protection. Primary limiting factor: the attacker must control or impersonate the broker endpoint the client connects to - deployments where NMS-AMQP clients connect only to trusted, internally-controlled brokers are not realistically exploitable without first compromising that broker or the network path. The flaw is specific to .NET binary serialization support in the NMS API. |
| Impact | Signals are mixed and warrant careful interpretation. The input CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) yields 9.8 Critical and implies trivial remote unauthenticated exploitation, but the description materially qualifies this: the flaw is client-side and only triggers 'when establishing connections to untrusted AMQP servers,' meaning a victim NMS-AMQP .NET client must connect to an attacker-controlled or compromised broker. That precondition is not reflected in the AC:L/UI:N scoring, so the headline 9.8 overstates real-world exploitability for deployments that only talk to trusted internal brokers - the practical attack surface is narrower than the vector suggests. EPSS is 2.09% (81st percentile): elevated but not indicative of mass exploitation. There is no CISA KEV listing and no public exploit identified in the provided data, so this is not confirmed active exploitation. No SSVC decision data was supplied. Net assessment: a genuinely serious code-execution flaw (CWE-502 deserialization leading to RCE) that is a real priority for any .NET application connecting to external, federated, or untrusted AMQP endpoints, but a lower practical priority for closed environments connecting only to trusted brokers. Note the conflicting signal explicitly: CVSS indicates easy network exploitation while the description implies the attacker must control the server endpoint the client connects to - verify your connection topology before prioritizing. |
| Exploit ScenarioDerived | A .NET application using Apache ActiveMQ NMS AMQP (<=2.3.0) is lured or configured to connect to an attacker-controlled or compromised AMQP broker. The malicious server returns a crafted AMQP response containing a serialized .NET object payload that the client deserializes without adequate bounds, triggering arbitrary code execution in the client process. No public exploit was identified at time of analysis, though the allow/deny-list mitigation added in 2.1.0 is noted as bypassable under certain conditions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 09, 2026
Remote code execution in the ActiveMQ NMS AMQP .NET client affects all releases up to and including 2.3.0 when the client initiates an AMQP session to an attacker-controlled, compromised, or otherwise untrusted broker; that server can return crafted serialized data the client deserializes without bounds, potentially executing arbitrary code on the client host. The primary prerequisite is control or impersonation of the broker endpoint the client connects to, so deployments that only talk to trusted, internally controlled brokers are not realistically exploitable without first compromising that broker or the network path, and the allow/deny-list deserialization restriction added in 2.1.0 is bypassable so enabling it does not guarantee protection. No public exploit code has been identified at time of analysis and the issue is not confirmed actively exploited (CISA KEV); EPSS is 2.09% (81st percentile) and the vendor-released fix is version 2.4.0.
RemediationAI
Upgrade Apache ActiveMQ NMS AMQP to version 2.4.0 or later, which resolves the unbounded .NET binary deserialization behavior; the vendor advisory at https://lists.apache.org/thread/9k684j07ljrshy3hxwhj5m0xjmkz1g2n (mirrored at http://www.openwall.com/lists/oss-security/2025/10/15/3) should be reviewed for the full upgrade guidance. Because the allow/deny-list protection introduced in 2.1.0 is bypassable, do not rely on that filter alone as a mitigation. Where upgrading is not immediately possible, constrain the blast radius by ensuring NMS-AMQP clients connect only to trusted, internally controlled brokers - enforce outbound firewall and network segmentation rules so clients cannot reach arbitrary AMQP endpoints (trade-off: this breaks any legitimate broker-agnostic or federated messaging topology that depends on connecting to third-party brokers). Enable TLS with strict server certificate validation, and where feasible pin the expected broker certificate or hostname so an attacker cannot impersonate the endpoint through DNS or MITM positioning (trade-off: pinning adds certificate lifecycle management overhead and can cause outages on legitimate broker certificate rotation). As a longer-term hardening step, plan to migrate applications off .NET binary serialization in the NMS API, consistent with Microsoft's deprecation of binary serialization in .NET 9 and the Apache project's stated evaluation of removing that support in future releases.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in nuget
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a CWE-502 deserialization-of-untrusted-data flaw rooted in the .NET binary serialization support that the Apache ActiveMQ NMS AMQP client exposes through the NMS API. When a client establishes an AMQP connection, server-supplied data is fed into the client's deserialization logic; because that logic is unbounded with respect to the .NET BinaryFormatter-class type graph, a malicious AMQP peer can return a crafted payload whose type resolution triggers code execution during object reconstruction on the client. AMQP itself is a broker-oriented messaging protocol, so the trust boundary here is inverted from the usual server-side case: the victim is the client and the adversary is the server endpoint. The 2.1.0 allow/deny-list mechanism was designed to constrain which types may be deserialized, but the advisory notes it can be bypassed under certain conditions, meaning the class-level root cause (type-driven deserialization in .NET binary serialization) is not fully mitigated by filtering alone. Vendor CPE cpe:2.3:a:apache:activemq_nms_amqp:*:*:*:*:*:*:*:* captures the wildcard version coverage; the project is also evaluating removal of .NET binary serialization from the NMS API entirely, in line with Microsoft's deprecation of binary serialization in .NET 9.
Know when Activemq Nms Amqp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network client-side flaw, but attacker must control/impersonate the AMQP server the client connects to and defeat the allow/deny-list filter, so AC:H; no client privileges needed (PR:N); full RCE gives C/I/A High.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
DescriptionCVE.org
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.
Executive ViewAI
A critical remote code execution flaw in the ActiveMQ NMS AMQP .NET client (all releases through 2.3.0) allows a hostile or impersonated AMQP broker to run arbitrary code on any .NET application or server that connects to it, meaning an attacker who takes over a broker endpoint - or intercepts the network path to it - can pivot directly onto our application hosts. The exposure is concentrated in teams whose .NET services connect to externally hosted, third-party, or otherwise untrusted brokers; internally brokered traffic is not realistically exploitable without a prior broker or network compromise. Because the vendor's own deserialization allow/deny-list protection added in 2.1.0 is bypassable, teams cannot rely on that configuration setting as a safeguard and must plan an upgrade.
Apply vendor patch: upgrade ActiveMQ NMS AMQP .NET client to 2.4.0. Interim mitigations until the upgrade is deployed: restrict the client to trusted, internally controlled brokers so no client session can be established with an attacker-controlled, compromised, or untrusted endpoint; enforce mutual TLS with broker certificate validation/pinning and segment network paths to prevent broker impersonation or interception; disable outbound AMQP connectivity from client hosts to non-approved brokers; and monitor for anomalous broker connections and unexpected child processes on client hosts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB