# GO-2026-7014: NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets in github.com/nats-io/nats-server/v2

- Database: Go
- Also known as: BIT-NATS-2026-58210
- Published: 2026-11-23
- Modified: 2026-11-23

## Tracked as

- [CVE-2026-58210](https://cve.now/CVE-2026-58210.md): NATS Server memory exhaustion in MQTT CONNECT handling

## Also published as

- [GHSA-R72H-J7QQ-V6QG](https://cve.now/GHSA-R72H-J7QQ-V6QG.md) (GitHub)

## Affected versions

- github.com/nats-io/nats-server/v2 (Go): fixed in 2.12.12; from 2.14.0-RC.1, fixed in 2.14.3

## Description

NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets in github.com/nats-io/nats-server/v2

## 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

Page: https://cve.now/GO-2026-7014

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
