cve.bz

CVE-2026-27571 linuxfoundation nats-server

7.5 highEPSS 0.5%Fix available

High (7.5) in linuxfoundation nats-server. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/nats-io/nats-server/v2 2.11.12, 2.12.3.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-02-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-27571 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-27571?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-27571?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-27571 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:nats-serverbefore 2.11.12
linuxfoundation:nats-serverfrom 2.12.0 before 2.12.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qrvq-68c2-7grwGogithub.com/nats-io/nats-server/v2<2.11.122.11.12
GHSA-qrvq-68c2-7grwGogithub.com/nats-io/nats-server/v2>=2.12.0-RC.1 <2.12.32.12.3
GHSA-qrvq-68c2-7grwGogithub.com/nats-io/nats-server<=1.4.1no fix published
GO-2026-4533Gogithub.com/nats-io/nats-serverall versionsno fix published
GO-2026-4533Gogithub.com/nats-io/nats-server/v2<2.11.12
>=2.12.0-RC.1 <2.12.3
2.11.12, 2.12.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13nats-serverno fix listedDEBIAN-CVE-2026-27571
Debian14nats-server2.12.4-1DEBIAN-CVE-2026-27571
Ubuntu24.04:LTS, 25.10, 26.10 and 1 morenats-serverno fix listedUBUNTU-CVE-2026-27571
openSUSELeap 15.6govulncheck-vulndb0.0.20260226T182644-150000.1.149.1SUSE-SU-2026:0757-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
Azure Linux2telegraf1.29.4-21AZL-78372
Azure Linux3telegraf1.31.0-15AZL-78374

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw does not require valid NATS credentials to be exploited as the use of compression is negotiated before the authentication process. However, only deployments using WebSockets and that are exposed to untrusted network endpoints are vulnerable to this issue, limiting its exposure. Due to these reasons, this issue has been rated with a moderate severity.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Multicluster Global Hub 1.6.5multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1773650060Fixed 2026-03-31RHSA-2026:6226
Red Hat multicluster global hub 1.5.3multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1773650767Fixed 2026-03-19RHSA-2026:5110
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/observatorium-rhel9Affected
Red Hat Ceph Storage 7rhceph/snmp-notifier-rhel9Fix deferred
Red Hat Ceph Storage 8rhceph/snmp-notifier-rhel9Fix deferred
Red Hat OpenShift Container Platform 4openshift4/oc-mirror-plugin-rhel9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-27571.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON