Vulnerability
CVE-2026-27571
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.
35 advisories report this vulnerability, across 7 ecosystems.
Advisories
-
AZL-78372
CVE-2026-27571 affecting package telegraf for versions less than 1.29.4-21
-
AZL-78374
CVE-2026-27571 affecting package telegraf for versions less than 1.31.0-15
- CGA-27j7-xmrh-2jxf
- CGA-292h-4pg8-q56j
- CGA-3375-g9jq-q92c
- CGA-4f42-6rfq-4j4w
- CGA-4j9f-894v-mhw7
- CGA-54xj-vqhc-fq78
- CGA-76wj-qw5g-f9fq
- CGA-78c2-4j2g-p6f5
- CGA-7c4r-xpvr-5xr8
- CGA-7hpp-9vff-9ww3
- CGA-7q6x-6847-hf96
- CGA-7vmg-p2p7-g564
- CGA-8x79-vp94-8m4j
- CGA-c524-fh2j-97hq
- CGA-c8xg-w78w-jcc4
- CGA-f7f3-gc93-8fx9
- CGA-fhgf-jh9h-jf52
- CGA-ghm7-6xf6-w77j
- CGA-h33v-3qgh-p43j
- CGA-h665-x34j-m66v
- CGA-jc3f-hhp2-9w9x
- CGA-jpf4-6v28-hp4w
- CGA-pgrx-3rwq-w6fx
- CGA-q695-9wf3-rcw6
- CGA-qf9x-449m-7cpc
- CGA-xmr7-gq6p-rrgh
- CGA-xv5m-j9pf-3x9v
-
DEBIAN-CVE-2026-27571
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…
-
GHSA-qrvq-68c2-7grw
nats-server websockets are vulnerable to pre-auth memory DoS
-
GO-2026-4533
nats-server websockets are vulnerable to pre-auth memory DoS in github.com/nats-io/nats-server
-
SUSE-SU-2026:0757-1
Security update for govulncheck-vulndb
-
UBUNTU-CVE-2026-27571
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…
-
openSUSE-SU-2026:21483-1
Security update for govulncheck-vulndb