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

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (1.67%). Schedule for your next planned update.

Does your project use an affected Apache.NMS.AMQP version?

Paste your packages.lock.json to check it for CVE-2025-54539 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my packages.lock.json

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 (406 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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: NuGet (1).

PackageFixed In
Apache.NMS.AMQP NuGet · Affected: 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. It has a 1.7% probability of exploitation within 30 days (EPSS score). 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

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
1.67%
EPSS percentile: 77.2

This places it in the top quartile of EPSS-scored vulnerabilities — 77.2% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-4mjw-xr5x-prpc

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json