Nats-io nats-server
NATS Server: MQTT partial CONNECT packets can exhaust pre-auth memory
NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.3 and 2.12.12, an unauthenticated MQTT client could cause the server to retain large incomplete MQTT CONNECT packets before authentication completed, consuming server memory while the parser waited for the advertised MQTT packet length. This issue is fixed in versions 2.14.3 and 2.12.12.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.12.12
- >= 2.14.0-RC.1, < 2.14.3
Fixed in 2.12.12, 2.14.3
Mitigation
Upgrade nats-server to 2.12.12 or 2.14.3 or later.
References
- Vendor advisory github.com/nats-io/nats-server/security/adviso…
- Patch github.com/nats-io/nats-server/commit/bce9ef39…
- Patch github.com/nats-io/nats-server/commit/e016e47b…
2 more
- Release notes github.com/nats-io/nats-server/releases/tag/v2…
- Release notes github.com/nats-io/nats-server/releases/tag/v2…
Timeline
Days relative to CVE publicationFirst public PoC 136 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-58210 (created 22 Nov 2026, found by us: 22 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-58210 | 22 Nov 2026 +136 d | 22 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.