All vulnerabilities

Go

CVE-2026-58250

NATS Server: Denial of service via repeated pre-authentication leafnode INFO messages

Severity
High 8.6
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
2.11.17, 2.12.8
Exploit chance
0.5% in the next 30 daysHigher than 44% of CVEs. EPSS by FIRST, 1 Dec 2026
Weakness
Null pointer dereference (CWE-476)
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
Also known as
BIT-nats-2026-58250, GHSA-3g5q-cfh2-cq67
Sources
OSV.dev and GitHub

Description

NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT and edge computing.

The NATS Server supports leafnode connections between servers.

An unauthenticated peer with network access to a leafnode listener with compression enabled could crash the server during the pre-authentication leafnode handshake.

The issue occurs after repeated leafnode INFO protocol messages before a leafnode connection had completed authentication and account setup. Certain state expected later in the handshake could be nil and then later dereferenced, causing a process panic.

From the GitHub Advisory Database, CC BY 4.0.

Workarounds

Disabling leafnode compression can mitigate the issue until fixed versions are deployed.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
github.com/nats-io/nats-server/v2Go · osv:Go:github.com/nats-io/nats-server/v2
  • Every version before 2.11.17
  • From 2.12.0-RC.1 before 2.12.8

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 2 vulnerable
  • 2 fixed
PackageDebian releaseStatus
nats-serversidunstableFixed in 2.14.1-1
14forkytestingFixed in 2.14.1-1
13trixiestableVulnerableNo fix yet.
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-58250 , read in the last 12 hours.

About github.com/nats-io/nats-server/v2

References