1. Executive Summary
Updated: October 20, 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.
Note: This is specific to the AMQP protocol and not OpenWire.
2. Affected Versions
This issue affects all versions of Apache ActiveMQ NMS AMQP up to and including 2.3.0.
HYTE has determined that this vulnerability does not impact any of its currently supported products.
This assessment may be updated as further analysis and discoveries are made.
3. Mitigation Technical Details
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.
4. References
CVE Information:
CVE-2025-54539 | https://www.cve.org/CVERecord?id=CVE-2025-54539
NIST | https://nvd.nist.gov/vuln/detail/CVE-2025-54539
Apache | https://lists.apache.org/thread/9k684j07ljrshy3hxwhj5m0xjmkz1g2n
eSecurity Planet | https://www.esecurityplanet.com/news/apache-activemq-vulnerability/
feedly CVEs | https://feedly.com/cve/CVE-2025-54539
General References:
5. Contact HYTE
For technical assistance, please open a support ticket in the HYTE Portal
You are solely responsible for determining the appropriateness of using and distributing any publicly available HYTE information and you assume all risks associated with its use, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and the unavailability or interruption of operation. This information is not intended to be used in any situation where a failure could cause risk of injury or damage to property. This is not intended as legal advice and no warranty is provided with this information. Use at your own risk.
Questions?
Sometimes a 15-minute conversation with a Messaging Platform Architect can help make it all clear. Schedule a meeting for a quick discussion and/or online demo of our platform and tools.