Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M
CVE-2026-58250NATS Server: Pre-auth server crash via double INFO in leafnode handshake
High 7.5
In plain English
A high-severity null pointer dereference in nats-server from nats-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nats-server | no fix listed | DEBIAN-CVE-2026-58250 |
| Debian:13 | nats-server | no fix listed | DEBIAN-CVE-2026-58250 |
| Debian:14 | nats-server | 2.14.1-1 | DEBIAN-CVE-2026-58250 |
| Ubuntu:24.04:LTS | nats-server | no fix listed | UBUNTU-CVE-2026-58250 |
| Ubuntu:25.10 | nats-server | no fix listed | UBUNTU-CVE-2026-58250 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| nats-io | nats-server | < 2.11.17>= 2.12.0-preview.1, < 2.12.8 |
Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/nats-io/nats-server/security/advisories/GHSA-3g5q-cfh2-cq67 x_refsource_CONFIRM
- https://github.com/nats-io/nats-server/commit/8dcb26eaea78fdcbe96dbee5986d6019fd5cb94a x_refsource_MISC
- https://github.com/nats-io/nats-server/commit/fc5fe39177533e9dbdd651d2458285bfae1dde27 x_refsource_MISC
- https://github.com/nats-io/nats-server/releases/tag/v2.11.17 x_refsource_MISC
- https://github.com/nats-io/nats-server/releases/tag/v2.12.8 x_refsource_MISC