CVE-2025-54539: Apache.NMS.AMQP Apache ActiveMQ NMS AMQP Client Vulnerability
CRITICALCVE-2025-54539 is a CRITICAL (CVSS 9.8) apache activemq nms amqp client vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Apache.NMS.AMQP libraries in the NuGet ecosystem. The issue involves apache activemq nms amqp client has a deserialization of untrusted data vulnerability. Remediation is available by upgrading affected packages to version 2.4.0.
CVE-2025-54539 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2025-54539
To remediate this vulnerability, upgrade all affected Apache.NMS.AMQP dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade Apache.NMS.AMQP to 2.4.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for Apache.NMS.AMQP
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-54539, inspect your project dependencies for Apache.NMS.AMQP:
inspect dependencies for Apache.NMS.AMQP
Analyze the terminal output to locate any version of Apache.NMS.AMQP in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Apache.NMS.AMQP, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-54539 Affected Apache.NMS.AMQP Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Apache.NMS.AMQP
|
NuGet |
< 2.4.0
|
2.4.0
|
References
Frequently Asked Questions
What is CVE-2025-54539?
Which Apache.NMS.AMQP versions are affected?
What version fixes CVE-2025-54539?
Is Apache.NMS.AMQP affected?
What is the CVSS score of CVE-2025-54539?
What CWE is associated with CVE-2025-54539?
How can I check NuGet dependencies for CVE-2025-54539?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4mjw-xr5x-prpc",
"modified" : "2025-11-05T20:49:05Z",
"published" : "2025-10-16T09:30:24Z",
"aliases" : [ "CVE-2025-54539" ],
"summary" : "Apache ActiveMQ NMS AMQP Client has a Deserialization of Untrusted Data vulnerability",
"details" : "A Deserialization of Untrusted Data vulnerability exists in the Apache ActiveMQ NMS AMQP Client.\n\nThis 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.\n\nAlthough version 2.1.0 introduced a mechanism to restrict deserialization via allow/deny lists, the protection was found to be bypassable under certain conditions.\n\nIn 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.\n\nMitigation and Recommendations:\nUsers 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Apache.NMS.AMQP"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-54539"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/activemq-nms-amqp"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/9k684j07ljrshy3hxwhj5m0xjmkz1g2n"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/10/15/3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-16T21:05:01Z",
"nvd_published_at" : "2025-10-16T09:15:34Z"
}
}