Resource exhaustion in Linuxfoundation Nats-Server

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS: 0.007 (52.6th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 53rd percentile — 52.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-27571: held from 0.005 to 0.007.

EPSS over last 30 days · oldest: 0.005 · newest: 0.007 · change: +0.003

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-27571?
CVE-2026-27571 is a medium-severity vulnerability in Linuxfoundation Nats-Server, classified under Improper Handling of Highly Compressed Data (Data Amplification). CVSS score: 5.9/10. Published 2026-02-24.
How severe is CVE-2026-27571?
Medium severity. CVSS v3 base score is 5.9 out of 10.