Skip to main content

ActiveMQ NMS AMQP CVE-2025-54539

CRITICAL
Deserialization of Untrusted Data (CWE-502)
2025-10-16 security@apache.org
9.8
CVSS 3.1 · Vendor: apache
Share

Severity by source

Vendor (apache) PRIMARY
9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
8.1 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Metadata Corrected
Oct 09, 2026 - 10:40 vuln.today
tag: .NET added
Analysis Generated
Oct 09, 2026 - 10:39 vuln.today
CVE Published
Oct 16, 2025 - 09:15 cve.org
CRITICAL 9.8

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

More in .NET

View all
CVE-2023-7334 CRITICAL POC
9.8 Jan 15

Changjetong T+ (through 16.x) has .NET deserialization RCE in an AjaxPro endpoint. Attacker-controlled JSON triggers des

CVE-2026-75513 CRITICAL POC
9.1 Sep 16

SQL injection (CWE-89) in Marten, the .NET transactional document DB and event store for PostgreSQL, affects versions 7.

CVE-2026-100369 HIGH POC
8.4 Sep 25

Argument injection in the CliInvoke .NET process-wrapping library (and its former identity, AlastairLundy.CliInvoke) all

CVE-2019-25359 HIGH POC
8.2 Feb 18

SD.NET RIM versions before 4.7.3c contain a SQL injection vulnerability that allows attackers to inject malicious SQL st

CVE-2026-25925 HIGH POC
7.8 Feb 09

PowerDocu versions prior to 2.4.0 allow arbitrary .NET object instantiation and code execution through unsafe deserializ

CVE-2025-24070 HIGH POC
7.0 Mar 11

Weak authentication in ASP.NET Core & Visual Studio allows an unauthorized attacker to elevate privileges over a net

CVE-2026-26282 MEDIUM POC
6.6 Feb 19

NanaZip versions 5.0.1252.0 through 6.0.1629.0 contain an out-of-bounds heap read in the .NET Single File bundle parser

CVE-2026-27709 MEDIUM POC
6.6 Feb 26

Out-of-bounds memory read in NanaZip versions 5.0.1252.0 through 6.0.1637.x allows local authenticated attackers to disc

CVE-2020-37103 MEDIUM POC
6.4 Feb 03

DotNetNuke 9.5 contains a persistent cross-site scripting vulnerability that allows normal users to upload malicious XML

CVE-2026-3263 MEDIUM POC
6.3 Feb 26

Asp.Net-Core-Inventory-Order-Management-System versions up to 9.20250118. contains a security vulnerability (CVSS 6.3).

CVE-2026-26222 CRITICAL
9.8 Feb 24

Insecure .NET Remoting deserialization in Altec DocLink (Beyond Limits) 4.0.336.0. Exposed TCP endpoints allow unauthent

CVE-2026-75523 MEDIUM POC
5.9 Sep 17

Information disclosure in Steeltoe's Management Endpoint actuator (Steeltoe.Management.Endpoint) prior to 4.3.0 allows a

Share

CVE-2025-54539 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy