cve.bz

CVE-2026-27571

7.5 highEPSS 0.5%

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

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% chance of exploitation in the next 30 days; higher than 45% of CVEs (scores of 2026-11-01)
CWEs
CWE-409, CWE-770
Published
Modified
Record from
the NVD, synced

Affected

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

References

Check your stackJSON