NATS Server: Pre-auth server crash via double INFO in leafnode handshake
nats-io nats-server
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| nats-io nats-server |
| No fix yet |
Original description
NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.12.8 and 2.11.17, an unauthenticated peer with network access to a leafnode listener with compression enabled could crash the server during the pre-authentication leafnode handshake by sending repeated leafnode INFO protocol messages before authentication and account setup completed. This issue is fixed in versions 2.12.8 and 2.11.17.
From the CVE record · GitHub_M
References
- github.com/nats-io/nats-server/security/advisories/GHSA-3g5q-cfh2-cq67Vendor advisory
- github.com/nats-io/nats-server/commit/8dcb26eaea78fdcbe96dbee5986d6019fd5cb94aPatch
- github.com/nats-io/nats-server/commit/fc5fe39177533e9dbdd651d2458285bfae1dde27Patch
- github.com/nats-io/nats-server/releases/tag/v2.11.17Release notes
- github.com/nats-io/nats-server/releases/tag/v2.12.8Release notes
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58250.json
- nvd.nist.gov/vuln/detail/CVE-2026-58250