Go Vulnerability Database
GO-2026-7014
NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets in github.com/nats-io/nats-server/v2
Details
NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets in github.com/nats-io/nats-server/v2
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/nats-io/nats-server/v2 | All versions before 2.12.12 (fixed in 2.12.12) From 2.14.0-RC.1 before 2.14.3 (fixed in 2.14.3) |
References
- https://github.com/nats-io/nats-server/security/advisories/GHSA-r72h-j7qq-v6qg
- https://nvd.nist.gov/vuln/detail/CVE-2026-58210
- https://github.com/nats-io/nats-server/commit/bce9ef39469e610aeddb819194ceb7f7edfc0861
- https://github.com/nats-io/nats-server/commit/e016e47bbf70304945f2ae9dc397e4862adefaf5
- https://github.com/nats-io/nats-server/releases/tag/v2.12.12
- https://github.com/nats-io/nats-server/releases/tag/v2.14.3