NATS Server: Unauthenticated MQTT memory exhaustion (CVE-2026-58210)
NATS Server is vulnerable to a remote denial-of-service attack where an unauthenticated attacker can exhaust server memory by sending incomplete MQTT CONNECT packets that the server persists in memory while awaiting full packet delivery.
CVE search metadata
CVE search record: CVE-2026-58210. Severity: high. CVSS: 7.5. EPSS: 0.74%. KEV: no. Product: NATS Server. Brief: NATS Server: Unauthenticated MQTT memory exhaustion (CVE-2026-58210). Brief link: https://feed.craftedsignal.io/briefs/2026-11-nats-server-mqtt-dos-ghsa-r72h-j7qq-v6qg/
Triage facts
Revision 1- Applicability
- NATS Server
- Evidence
- Unknown
- Severity
- Low
- Action
- Elevated
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 20, 02:04 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Very likely
Overview
NATS Server is prone to a memory exhaustion vulnerability (CVE-2026-58210) affecting its MQTT parsing implementation. An unauthenticated attacker can initiate an MQTT connection and transmit incomplete CONNECT packets. The server retains this partial data in memory until the authentication timeout, allowing an attacker to consume system resources by repeatedly opening connections and sending these malformed packets.
Impact
Successful exploitation leads to a denial-of-service (DoS) condition by exhausting available server memory, potentially affecting the availability of the NATS messaging infrastructure.
Recommendation
- Prioritize patching NATS Server to version 2.12.12 or 2.14.3 depending on the version branch currently in production.
- Deployments that do not utilize the MQTT protocol should disable it to mitigate the attack vector.
- Monitor server resource utilization (memory) for spikes associated with incoming unauthenticated connection attempts.
Threat Hunt
Identify NATS server instances experiencing spikes in memory utilization correlated with high volumes of incomplete or long-duration unauthenticated MQTT connection attempts.
Data: NATS server process memory usage metrics, NATS server connection logs, Network connection state metrics
Mitigations
Upgrade NATS Server to 2.12.12 or 2.14.3
Disable MQTT support if not required
Gaps
- No specific Sigma rule possible due to lack of log-observable patterns for individual packet parsing states in standard NATS logs.