← Vulnerability feed

Vulnerability record · CVE-2026-27571 · published 24 February 2026

CVE-2026-27571: Linuxfoundation nats-server allocation without limits vulnerability

Linuxfoundation · Nats Server

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.

7.5 CVSS 3.1 High EPSS 0.74% · top 47.4% CWE-409 · CWE-409CWE-770 · Allocation without limits
7.5CVSS 3.1 base score
0.74%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-27571 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-28357Linuxfoundation nats-server path traversal vulnerabilityNATS nats-server 2.2.0 through 2.7.4 allows directory traversal because of an unintended path to a management action from a management account.EPSS 1.2%9.8CVE-2020-26892Linuxfoundation nats-server hard-coded credentials vulnerabilityThe JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are handled.EPSS 2.1%8.8CVE-2026-58253Linuxfoundation nats-server improper authentication vulnerabilityNATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.0, 2.12.7, and 2.11.16, when no_auth_…EPSS 0.37%8.8CVE-2022-24450Linuxfoundation nats-server missing authorization vulnerabilityNATS nats-server before 2.7.2 has Incorrect Access Control. Any authenticated user can obtain the privileges of the System account by misusing the "d…EPSS 1.3%7.5CVE-2026-58208Linuxfoundation nats-server vulnerabilityNATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.12, a WebSocket listener c…EPSS 0.60%7.5CVE-2026-58250Linuxfoundation nats-server null pointer dereference vulnerabilityNATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.12.8 and 2.11.17, an unauthenticated pee…EPSS 0.74%7.5CVE-2026-58210Linuxfoundation nats-server uncontrolled resource consumption vulnerabilityNATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.12, an unauthenticated MQT…EPSS 0.74%7.5CVE-2026-33216Linuxfoundation nats-server vulnerabilityNATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, for MQTT deploy…EPSS 0.63%

Source: NIST National Vulnerability Database (record CVE-2026-27571), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.