Skip to content

CVE-2026-27571 nats-server websockets are vulnerable to pre-auth memory DoS

HighCVSS 7.5 EPSS 0.53%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. The WebSockets handling of NATS messages handles compressed messages via the WebSockets negotiated compression. Prior to versions 2.11.2 and 2.12.3, the implementation bound the memory size of a NATS message but did not independently bound the memory consumption of the memory stream when constructing a NATS message which might then fail validation for size reasons. An attacker can use a compression bomb to cause excessive memory consumption, often resulting in the operating system terminating the server process. The use of compression is negotiated before authentication, so this does not require valid NATS credentials to exploit. The fix, present in versions 2.11.2 and 2.12.3, was to bounds the decompression to fail once the message was too large, instead of continuing on. The vulnerability only affects deployments which use WebSockets and which expose the network port to untrusted end-points.

Upgrade path

16 packages: 4 fixed, 1 partially fixed, 10 with no fix yet.

PackageAffectedFixed inStatus
debian/nats-server(Debian 12) = 2.9.10-1; = 2.9.19-1; = 2.10.1-1; = 2.10.3-1 +12 more No fix listed No fix yet
debian/nats-server(Debian 13) = 2.10.27-1; = 2.12.4-1; = 2.12.6-1; = 2.14.1-1 +3 more No fix listed No fix yet
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1773650060(Red Hat multicluster_globalhub 1.6 el9) All versions No fix listed No fix yet
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1773650767(Red Hat multicluster_globalhub 1.5 el9) All versions No fix listed No fix yet
redhat/rhacm2/observatorium-rhel9(Red Hat acm 2) All versions No fix listed No fix yet
redhat/rhceph/snmp-notifier-rhel9(Red Hat ceph_storage 7) All versions No fix listed No fix yet
redhat/rhceph/snmp-notifier-rhel9(Red Hat ceph_storage 8) All versions No fix listed No fix yet
ubuntu/nats-server(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/nats-server(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/nats-server(Ubuntu 26.10) All versions No fix listed No fix yet
nats-io github.com/nats-io/nats-server/v2(Go) < 2.11.12; <= 1.4.1; >= 2.12.0-RC.1, < 2.12.3; All versions 2.11.12, 2.12.3 Partially fixed
azure linux telegraf(Azure Linux 3.0) < 1.31.0-13 1.31.0-13 Fixed
cbl-mariner telegraf(CBL-Mariner 2.0) < 1.29.4-19 1.29.4-19 Fixed
debian/nats-server(Debian 14) < 2.12.4-1; = 2.10.27-1 2.12.4-1 Fixed
linuxfoundation nats-server < 2.11.12; >= 2.12.0, < 2.12.3 2.11.12, 2.12.3 Fixed
nats-io github.com/nats-io/nats-server/v2 = < 2.11.12; = >= 2.12.0-RC.1, < 2.12.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
nats-io github.com/nats-io/nats-server/v2(Go) < 2.11.12 2.11.12
nats-io github.com/nats-io/nats-server/v2(Go) >= 2.12.0-RC.1, < 2.12.3 2.12.3
nats-io github.com/nats-io/nats-server/v2(Go) <= 1.4.1 No fix listed
cbl-mariner telegraf(CBL-Mariner:2.0) < 1.29.4-19 1.29.4-19
azure linux telegraf(Azure Linux:3.0) < 1.31.0-13 1.31.0-13
nats-io github.com/nats-io/nats-server/v2(Go) All versions No fix listed
nats-io github.com/nats-io/nats-server/v2 = < 2.11.12 No fix listed
nats-io github.com/nats-io/nats-server/v2 = >= 2.12.0-RC.1, < 2.12.3 No fix listed
debian/nats-server(Debian:12) All versions No fix listed
debian/nats-server(Debian:12) = 2.10.1-1 No fix listed
debian/nats-server(Debian:12) = 2.10.16-1 No fix listed
debian/nats-server(Debian:12) = 2.10.18-1 No fix listed
debian/nats-server(Debian:12) = 2.10.24-1 No fix listed
debian/nats-server(Debian:12) = 2.10.27-1 No fix listed
debian/nats-server(Debian:12) = 2.10.3-1 No fix listed
debian/nats-server(Debian:12) = 2.10.4-1 No fix listed
debian/nats-server(Debian:12) = 2.10.7-1 No fix listed
debian/nats-server(Debian:12) = 2.12.4-1 No fix listed
debian/nats-server(Debian:12) = 2.12.6-1 No fix listed
debian/nats-server(Debian:12) = 2.14.1-1 No fix listed
debian/nats-server(Debian:12) = 2.14.3-1 No fix listed
debian/nats-server(Debian:12) = 2.14.6-1 No fix listed
debian/nats-server(Debian:12) = 2.9.10-1 No fix listed
debian/nats-server(Debian:12) = 2.9.19-1 No fix listed
debian/nats-server(Debian:13) All versions No fix listed
Show 18 more
ProductAffected versionsFixed in
debian/nats-server(Debian:13) = 2.10.27-1 No fix listed
debian/nats-server(Debian:13) = 2.12.4-1 No fix listed
debian/nats-server(Debian:13) = 2.12.6-1 No fix listed
debian/nats-server(Debian:13) = 2.14.1-1 No fix listed
debian/nats-server(Debian:13) = 2.14.3-1 No fix listed
debian/nats-server(Debian:13) = 2.14.6-1 No fix listed
debian/nats-server(Debian:14) < 2.12.4-1 2.12.4-1
debian/nats-server(Debian:14) = 2.10.27-1 No fix listed
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1773650060(Red Hat:multicluster_globalhub:1.6::el9) All versions No fix listed
redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1773650767(Red Hat:multicluster_globalhub:1.5::el9) All versions No fix listed
redhat/rhacm2/observatorium-rhel9(Red Hat:acm:2) All versions No fix listed
redhat/rhceph/snmp-notifier-rhel9(Red Hat:ceph_storage:7) All versions No fix listed
redhat/rhceph/snmp-notifier-rhel9(Red Hat:ceph_storage:8) All versions No fix listed
ubuntu/nats-server(Ubuntu:24.04) All versions No fix listed
ubuntu/nats-server(Ubuntu:26.04) All versions No fix listed
ubuntu/nats-server(Ubuntu:26.10) All versions No fix listed
linuxfoundation nats-server < 2.11.12 2.11.12
linuxfoundation nats-server >= 2.12.0, < 2.12.3 2.12.3

References