Skip to content
OpenAdvisories
High · 7.5 CVE-2026-29785 BIT-nats-2026-29785EUVD-2026-15963GHSA-52jh-2xxh-pwh6GO-2026-4829

NATS Server panic via malicious compression on leafnode port

Published Mar 25, 2026 · Updated Sep 9, 2026 · Assigned by GitHub_M

Description

NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.14 and 2.12.5, if the nats-server has the "leafnode" configuration enabled (not default), then anyone who can connect can crash the nats-server by triggering a panic. This happens pre-authentication and requires that compression be enabled (which it is, by default, when leafnodes are used). Versions 2.11.14 and 2.12.5 contain a fix. As a workaround, disable compression on the leafnode port.

Affected products

VendorProductAffectedFixed
nats-io nats-server < 2.11.14, >= 2.12.0-RC.1, < 2.12.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nats-server 2.12.6-1 —
Debian 13 nats-server No fix yet —
Debian 12 nats-server No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 nats-server No fix yet —
Ubuntu 25.10 nats-server No fix yet —
Ubuntu 24.04 LTS nats-server No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS nats-server No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260326T203309-150000.1.155.2 SUSE-SU-2026:1135-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 telegraf 1.31.0-19 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling k3s +1 1.35.2.1-r3 —
Wolfi rolling k3s-1.32 +1 1.32.13.1-r5 —
Wolfi rolling kine 0.14.14-r2 —
Wolfi rolling nats 0.3.2-r0 —
Wolfi rolling nats-top 0.6.3-r17 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/nats-io/nats-server all versions — GHSA-52jh-2xxh-pwh6
Go github.com/nats-io/nats-server/v2 < 2.11.14 2.11.14 GHSA-52jh-2xxh-pwh6
Go github.com/nats-io/nats-server/v2 >= 2.12.0-RC.1, < 2.12.5 2.12.5 GHSA-52jh-2xxh-pwh6
Go github.com/nats-io/nats-server/v2 < 2.11.14 · >= 2.12.0-RC.1, < 2.12.5 2.11.14, 2.12.5 GO-2026-4829

Advisories 3

References