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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-24 · Modified: 2026-02-26
- Aliases: UBUNTU-CVE-2026-27571, DEBIAN-CVE-2026-27571, CGA-27j7-xmrh-2jxf, CGA-7hpp-9vff-9ww3, CGA-8x79-vp94-8m4j, CGA-c524-fh2j-97hq, CGA-h33v-3qgh-p43j, CGA-h665-x34j-m66v, CGA-jc3f-hhp2-9w9x, CGA-jpf4-6v28-hp4w, CGA-pgrx-3rwq-w6fx, CGA-qf9x-449m-7cpc, CGA-xmr7-gq6p-rrgh, CGA-xv5m-j9pf-3x9v, GHSA-qrvq-68c2-7grw, BIT-nats-2026-27571, GO-2026-4533, 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-7q6x-6847-hf96, CGA-7vmg-p2p7-g564, CGA-c8xg-w78w-jcc4, CGA-f7f3-gc93-8fx9, CGA-fhgf-jh9h-jf52, CGA-ghm7-6xf6-w77j, CGA-q695-9wf3-rcw6
- Record: https://cvemate.com/vulnerability/CVE-2026-27571 · JSON: https://cvemate.com/vulnerability/CVE-2026-27571/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.535%, percentile 46.62%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 28)

- chainguard k3s-1.32 (Chainguard): \< 1.32.12.1-r2
- chainguard k3s-1.33 (Chainguard): \< 1.33.8.1-r1
- chainguard k3s-static-1.32 (Chainguard): \< 1.32.12.1-r2
- chainguard k3s-static-1.33 (Chainguard): \< 1.33.8.1-r1
- chainguard kine (Chainguard): \< 0.14.12-r1
- chainguard nats-top (Chainguard): \< 0.6.3-r14
- chainguard nats-top-fips (Chainguard): \< 0.6.3-r13
- chainguard rke2-runtime-1.31 (Chainguard): All versions (No fix recorded)
- chainguard rke2-runtime-1.32 (Chainguard): \< 1.32.12.2.1-r3
- chainguard rke2-runtime-1.33 (Chainguard): \< 1.33.8.2.1-r3
- chainguard rke2-runtime-1.34 (Chainguard): \< 1.34.4.2.1-r3
- chainguard rke2-runtime-1.35 (Chainguard): \< 1.35.1.2.1-r3
- chainguard rke2-runtime-fips-1.31 (Chainguard): All versions (No fix recorded)
- chainguard telegraf-1.35 (Chainguard): All versions (No fix recorded)
- chainguard telegraf-1.36 (Chainguard): \< 1.36.4-r6
- wolfi k3s-1.32 (Wolfi): \< 1.32.12.1-r2
- wolfi k3s-1.33 (Wolfi): \< 1.33.8.1-r1
- wolfi k3s-static-1.32 (Wolfi): \< 1.32.12.1-r2
- wolfi k3s-static-1.33 (Wolfi): \< 1.33.8.1-r1
- wolfi kine (Wolfi): \< 0.14.12-r1

## References

- <https://github.com/nats-io/nats-server/security/advisories/GHSA-qrvq-68c2-7grw>
- <https://github.com/nats-io/nats-server/commit/f77fb7c4535e6727cc1a2899cd8e6bbdd8ba2017>
- <https://github.com/nats-io/nats-server/releases/tag/v2.11.12>
- <https://github.com/nats-io/nats-server/releases/tag/v2.12.3>
- <https://ubuntu.com/security/CVE-2026-27571>
- <https://www.cve.org/CVERecord?id=CVE-2026-27571>
- <https://security-tracker.debian.org/tracker/CVE-2026-27571>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27571.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27571>
- <https://github.com/nats-io/nats-server>
- <https://pkg.go.dev/vuln/GO-2026-4533>

---

Data as of 2026-12-05T06:04:32.165Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
