cbcvebase.
CVE-2026-27571
published 2026-02-24

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…

PriorityP346high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.48%
37.7th percentile
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.

Affected

17 ranges
VendorProductVersion rangeFixed in
debiannats-server< nats-server 2.12.4-1 (forky)nats-server 2.12.4-1 (forky)
debiannats-server< nats-server 2.12.6-1 (forky)nats-server 2.12.6-1 (forky)
github.comnats-io_nats-server0 – 1.4.1
github.comnats-io_nats-server_v2>= 0 < 2.11.122.11.12
github.comnats-io_nats-server_v2>= 0 < 2.11.152.11.15
github.comnats-io_nats-server_v2>= 2.12.0-RC.1 < 2.12.32.12.3
github.comnats-io_nats-server_v2>= 2.12.0-RC.1 < 2.12.62.12.6
linuxfoundationnats-server< 2.11.122.11.12
linuxfoundationnats-server< 2.11.152.11.15
linuxfoundationnats-server>= 0 < 2.12.4-12.12.4-1
linuxfoundationnats-server>= 0 < 2.12.6-12.12.6-1
linuxfoundationnats-server>= 2.12.0 < 2.12.32.12.3
linuxfoundationnats-server>= 2.12.0 < 2.12.62.12.6
msrcazl3_telegraf_1.31.0-12_on_azure_linux_3.0
msrccbl2_telegraf_1.29.4-18_on_cbl_mariner_2.0
nats-ionats-server< 2.11.152.11.15
nats-ionats-server

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
ghsa7.5HIGH
osv7.5HIGH
vendor_debian5.9MEDIUM
vendor_msrc5.9MEDIUM
vendor_redhat5.9MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.