CVE-2026-27571
CVE-2026-27571 is a medium-severity vulnerability in Linuxfoundation Nats-server with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-409.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- EPSS exploit prediction: 0% (38th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-8538
- Weakness: CWE-409
- Affected product: Linuxfoundation Nats-server
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2026-27571?
- CVE-2026-27571 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2026-27571 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (38th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-27571?
- CVE-2026-27571 affects Linuxfoundation Nats-server. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-27571?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-27571 have an EU (EUVD) identifier?
- Yes. CVE-2026-27571 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-8538.
- When was CVE-2026-27571 published?
- CVE-2026-27571 was published on 2026-02-24 and last updated on 2026-06-17.
References
- https://github.com/nats-io/nats-server/commit/f77fb7c4535e6727cc1a2899cd8e6bbdd8ba2017
- https://github.com/nats-io/nats-server/releases/tag/v2.11.12
- https://github.com/nats-io/nats-server/releases/tag/v2.12.3
- https://github.com/nats-io/nats-server/security/advisories/GHSA-qrvq-68c2-7grw
Affected products (1)
- cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*
More vulnerabilities in Linuxfoundation Nats-server
- CVE-2022-28357 — Critical (CVSS 9.8): NATS nats-server 2.2.0 through 2.7.4 allows directory traversal because of an unintended path to a management action…
- CVE-2020-26892 — Critical (CVSS 9.8): The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are…
- CVE-2022-24450 — High (CVSS 8.8): NATS nats-server before 2.7.2 has Incorrect Access Control. Any authenticated user can obtain the privileges of the…
- CVE-2026-33216 — High (CVSS 8.6): NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions…
- CVE-2026-33218 — High (CVSS 7.5): NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions…
- CVE-2026-29785 — High (CVSS 7.5): NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions…
All CVEs affecting Linuxfoundation Nats-server →
Other CWE-409 vulnerabilities
- CVE-2026-53430 — High (CVSS 8.7): Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in elixir-grpc grpc…
- CVE-2026-44697 — High (CVSS 8.6): Klever-Go is the Go implementation of the Klever blockchain protocol. Prior to 1.7.17, a remote, unauthenticated…
- CVE-2026-49755 — High (CVSS 8.2): Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in wojtekmach Req allows…
- CVE-2026-48594 — High (CVSS 8.2): Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in elixir-tesla tesla allows a denial of…
- CVE-2026-43970 — High (CVSS 8.2): Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows…
- CVE-2026-24264 — High (CVSS 7.5): NVIDIA Triton Inference Server for Linux contains a vulnerability where an attacker can cause improper handling of…