Loading...
Skip to main content

CVE-2025-54539 — Vulnerability in Apache.NMS.AMQP — CVE Details

CRITICAL

Apache ActiveMQ NMS AMQP Client has a Deserialization of Untrusted Data vulnerability

Published October 16, 2025Updated November 5, 2025Source: osv

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.

Advisory Timeline

  • First published October 16, 2025 (361 days ago).
  • Last revised November 5, 2025 — 20 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Apache.NMS.AMQP to 2.4.0 or later
dotnet add package Apache.NMS.AMQP --version 2.4.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: nuget (1).

PackageEcosystemAffectedFixed In
Apache.NMS.AMQP
nuget
1.8.0, 1.8.1, 1.8.2, 2.0.0 (+3 more)2.4.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

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

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-54539?
Apache ActiveMQ NMS AMQP Client has a Deserialization of Untrusted Data vulnerability This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2025-54539?
CVE-2025-54539 affects Apache.NMS.AMQP. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-54539 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-4mjw-xr5x-prpc

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies