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: 1% (46th 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 1% (46th 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-2026-58253 — High (CVSS 8.8): NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.0,…
- 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-58207 — High (CVSS 7.7): NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and…
All CVEs affecting Linuxfoundation Nats-server →
Other CWE-409 vulnerabilities
- CVE-2026-103025 — High (CVSS 8.7): bep/imagemeta is a Go library for reading EXIF, IPTC and XMP image meta data from JPEG, TIFF, PNG, and WebP files.…
- CVE-2026-109584 — High (CVSS 8.7): Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in the HTTP/2 implementation of mtrudel…
- CVE-2026-93471 — High (CVSS 8.7): Improper Handling of Highly Compressed Data (Data Amplification) in esaml_binding in dropbox esaml allows an…
- CVE-2026-97334 — High (CVSS 8.7): The network messaging layer contained improper handling of highly compressed data affecting service availability.…
- CVE-2026-68911 — High (CVSS 8.7): Nicotine+ is a graphical client for the Soulseek peer-to-peer network. Prior to version 3.3.11, a modified remote…
- CVE-2026-77620 — High (CVSS 8.7): Vector is a high-performance observability data pipeline. From 0.15.0 until 0.57.0, the logstash source feeds each…