CVE-2026-58210 PUBLISHED

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

Assigner: GitHub_M
Reserved: 29.06.2026 Published: 08.07.2026 Updated: 09.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 7.5

Product Status

Vendor nats-io
Product nats-server
Versions
  • Version < 2.12.12 is affected
  • Version >= 2.14.0-RC.1, < 2.14.3 is affected

References

Problem Types

  • CWE-400: Uncontrolled Resource Consumption CWE