
CVE catalog
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 compr
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.54% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nats-server | sid | 2.15.1-1 | fixed |
| Debian | nats-server | forky | 2.15.1-1 | fixed |
| Debian | nats-server | trixie | 2.10.27-1 | vulnerable |
| Debian | nats-server | bookworm | 2.9.10-1 | vulnerable |
| Go | github.com/nats-io/nats-server/v2 | Not reported | 2.11.12 | fixed |
| Go | github.com/nats-io/nats-server/v2 | Not reported | 2.12.3 | fixed |
| Go | github.com/nats-io/nats-server | Not reported | Not reported | unknown |
| Cpe | nats-server | Not reported | Not reported | vulnerable |
| Go | github.com/nats-io/nats-server | Not reported | Not reported | unknown |
| Go | github.com/nats-io/nats-server/v2 | Not reported | 2.12.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nats-server | source | sid | 2.12.4-1 | not yet assigned | Not reported | [1129381] |
| Debian | nats-server | source | forky | 2.12.4-1 | not yet assigned | Not reported | [1129381] |
| Debian | nats-server | source | trixie | (unfixed) | not yet assigned | Not reported | [1129381] |
| Debian | nats-server | source | bookworm | (unfixed) | not yet assigned | Not reported | [1129381] |
| Go | github.com/nats-io/nats-server/v2 | go | Not reported | 2.11.12 | Not reported | Not reported | Not reported |
| Go | github.com/nats-io/nats-server/v2 | go | Not reported | 2.12.3 | Not reported | Not reported | Not reported |
| Go | github.com/nats-io/nats-server/v2 | Go | Not reported | 2.12.3 | Not reported | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [golang-github-nats-io-nats-server-dev]Affected
Source package: [nats-server]
Details (2)
2.9.10-1· all · bookwormAffected
nvd · nats-server · debian · bookworm; nvd · nats-server · debian · 12
2.9.10-1· all · bookwormAffected
nvd · nats-server · debian · bookworm; nvd · nats-server · debian · 12
- [nats-server]Affected
Source package: [nats-server]
Details (2)
2.9.10-1+b3· amd64 · bookwormAffected
nvd · nats-server · debian · bookworm; nvd · nats-server · debian · 12
2.9.10-1+b3· arm64 · bookwormAffected
nvd · nats-server · debian · bookworm; nvd · nats-server · debian · 12
[Debian 13 (Trixie)]
- [golang-github-nats-io-nats-server-dev]Affected
Source package: [nats-server]
Details (2)
2.10.27-1· all · trixieAffected
nvd · nats-server · debian · 13
2.10.27-1· all · trixieAffected
nvd · nats-server · debian · 13
- [nats-server]Affected
Source package: [nats-server]
Details (2)
2.10.27-1+b2· amd64 · trixieAffected
nvd · nats-server · debian · 13
2.10.27-1+b2· arm64 · trixieAffected
nvd · nats-server · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2026:6226]
- [https://github.com/advisories/GHSA-qrvq-68c2-7grw]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-27571]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-27571]
- [https://pkg.go.dev/vuln/GO-2026-4533]
- [https://security-tracker.debian.org/tracker/CVE-2026-27571]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-0487.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [Go Vulnerability Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]