What’s Vulnerable › Vulnerabilities

CVE-2026-58210: NATS Server: MQTT partial CONNECT packets can exhaust pre-auth memory

Description

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 products

How to fix

Upgrade to a fixed version: nats-io nats-server 2.12.12, 2.14.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-58210 or the next vulnerability affects your stack