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.
References
| Link | Resource |
|---|---|
| https://advisories.nats.io/CVE/secnote-2026-04.txt | Mitigation Vendor Advisory |
| https://github.com/nats-io/nats-server/commit/a1488de6f2ba6e666aef0f9cce0016f7f167d6a8 | Patch |
| https://github.com/nats-io/nats-server/security/advisories/GHSA-52jh-2xxh-pwh6 | Mitigation Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-03-25 20:16
Updated : 2026-03-26 17:13
NVD link : CVE-2026-29785
Mitre link : CVE-2026-29785
CVE.ORG link : CVE-2026-29785
JSON object : View
Products Affected
linuxfoundation
- nats-server
CWE
CWE-476
NULL Pointer Dereference
