GHSA-qrvq-68c2-7grw · Severity: medium · Ecosystem: go — nats-server websockets are vulnerable to pre-auth memory DoS
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.
Conclusion & alert: CVE-2026-27571 is rated Low Risk (26.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.03%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-27 | 0.06% | 0.03% | -0.03% |
| 2 | 2026-02-25 | — | 0.06% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.9 | 3.1 | MEDIUM |
|
2.2 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-qrvq-68c2-7grw · Severity: medium · Ecosystem: go — nats-server websockets are vulnerable to pre-auth memory DoS
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-27571: 1 source package rows (nats-server); 34 state rows across 2 repos (3.23-community, edge-community); fixed 0, open 34. | https://security.alpinelinux.org/vuln/CVE-2026-27571 |
debian
|
not yet assigned | CVE-2026-27571 not yet assigned priority: Debian including 1 source packages (nats-server), 4 status rows across 4 suites (bookworm, forky, sid, trixie): open 2, resolved 2. | https://security-tracker.debian.org/tracker/CVE-2026-27571 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2026-27571 |
ubuntu
|
medium | CVE-2026-27571 medium priority: Ubuntu including 1 source packages (nats-server), 4 status rows across 4 suites (jammy, noble, questing, upstream): needs-triage 3, DNE 1. | https://ubuntu.com/security/CVE-2026-27571 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| linuxfoundation | nats-server | < 2.11.12 | cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:* |
| linuxfoundation | nats-server | >= 2.12.0, < 2.12.3 | cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/nats-io/nats-server/commit/f77fb7c4535e6727cc1a2899cd8e6bbdd8ba2017 | Patch |
| https://github.com/nats-io/nats-server/releases/tag/v2.11.12 | Product Release Notes |
| https://github.com/nats-io/nats-server/releases/tag/v2.12.3 | Product Release Notes |
| https://github.com/nats-io/nats-server/security/advisories/GHSA-qrvq-68c2-7grw | Vendor Advisory |