Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Apache.NMS.AMQP
  4. ›
  5. CVE-2025-54539

CVE-2025-54539: Apache ActiveMQ NMS AMQP Client has a Deserialization of Untrusted Data vulnerability

October 16, 2025

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.

References

  • github.com/advisories/GHSA-4mjw-xr5x-prpc
  • github.com/apache/activemq-nms-amqp
  • lists.apache.org/thread/9k684j07ljrshy3hxwhj5m0xjmkz1g2n
  • nvd.nist.gov/vuln/detail/CVE-2025-54539

Code Behaviors & Features

Detect and mitigate CVE-2025-54539 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.4.0

Fixed versions

  • 2.4.0

Solution

Upgrade to version 2.4.0 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

nuget/Apache.NMS.AMQP/CVE-2025-54539.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 04 Nov 2025 12:18:57 +0000.