CVE catalog

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 compr

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.54% · Oct 27, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannats-serversid2.15.1-1fixed
Debiannats-serverforky2.15.1-1fixed
Debiannats-servertrixie2.10.27-1vulnerable
Debiannats-serverbookworm2.9.10-1vulnerable
Gogithub.com/nats-io/nats-server/v2Not reported2.11.12fixed
Gogithub.com/nats-io/nats-server/v2Not reported2.12.3fixed
Gogithub.com/nats-io/nats-serverNot reportedNot reportedunknown
Cpenats-serverNot reportedNot reportedvulnerable
Gogithub.com/nats-io/nats-serverNot reportedNot reportedunknown
Gogithub.com/nats-io/nats-server/v2Not reported2.12.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannats-serversourcesid2.12.4-1not yet assignedNot reported[1129381]
Debiannats-serversourceforky2.12.4-1not yet assignedNot reported[1129381]
Debiannats-serversourcetrixie(unfixed)not yet assignedNot reported[1129381]
Debiannats-serversourcebookworm(unfixed)not yet assignedNot reported[1129381]
Gogithub.com/nats-io/nats-server/v2goNot reported2.11.12Not reportedNot reportedNot reported
Gogithub.com/nats-io/nats-server/v2goNot reported2.12.3Not reportedNot reportedNot reported
Gogithub.com/nats-io/nats-server/v2GoNot reported2.12.3Not reportedNot reportedNot reported

[Debian bug #1129381]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [nats-server]

    Details (2)
    • 2.9.10-1 · all · bookworm

      Affected

      nvd · nats-server · debian · bookworm; nvd · nats-server · debian · 12

    • 2.9.10-1 · all · bookworm

      Affected

      nvd · nats-server · debian · bookworm; nvd · nats-server · debian · 12

  • [nats-server]Affected

    Source package: [nats-server]

    Details (2)
    • 2.9.10-1+b3 · amd64 · bookworm

      Affected

      nvd · nats-server · debian · bookworm; nvd · nats-server · debian · 12

    • 2.9.10-1+b3 · arm64 · bookworm

      Affected

      nvd · nats-server · debian · bookworm; nvd · nats-server · debian · 12

[Debian 13 (Trixie)]

  • Source package: [nats-server]

    Details (2)
    • 2.10.27-1 · all · trixie

      Affected

      nvd · nats-server · debian · 13

    • 2.10.27-1 · all · trixie

      Affected

      nvd · nats-server · debian · 13

  • [nats-server]Affected

    Source package: [nats-server]

    Details (2)
    • 2.10.27-1+b2 · amd64 · trixie

      Affected

      nvd · nats-server · debian · 13

    • 2.10.27-1+b2 · arm64 · trixie

      Affected

      nvd · nats-server · debian · 13

Observed:

References