---
id: CVE-2025-54539
title: >-
  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 serv…
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 serv…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-502
vendor: apache
product: activemq_nms_amqp
affected:
  - activemq_nms_amqp < 2.4.0
patched:
  - activemq_nms_amqp 2.4.0
published: '2025-10-16'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T10:10:00.193'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-54539'
references:
  - url: 'https://lists.apache.org/thread/9k684j07ljrshy3hxwhj5m0xjmkz1g2n'
    label: security@apache.org
  - url: 'http://www.openwall.com/lists/oss-security/2025/10/15/3'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.02087
epssPercentile: 0.81
ingestedAt: '2026-10-09T12:53:28.941Z'
---

## Overview

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.

## Affected

- `activemq_nms_amqp < 2.4.0`

## Remediation

Upgrade past the affected range:

- `activemq_nms_amqp 2.4.0`
