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.
Published: 2026-07-08
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A vulnerability exists in NATS Server where an unauthenticated MQTT client can send an incomplete CONNECT packet that the server retains before authentication finishes. The incomplete packet length is not validated, causing the server to allocate memory while waiting for the advertised length. This results in a denial of service when an attacker floods the broker with many such packets, eventually exhausting server memory. The weakness maps to CWE‑400, a denial of resource condition. The impact is loss of availability and potential service disruption on the affected broker instances.

Affected Systems

The issue affects the NATS Server product from nats‑io. All versions prior to 2.14.3 and prior to 2.12.12 are vulnerable because the memory exhaustion handling was corrected in those releases. Users running any older flagship releases should verify the installed version and plan an update.

Risk and Exploitability

The CVSS score is 7.5, indicating a high severity vulnerability. The EPSS score is less than 1%, and the vulnerability is not listed in CISA’s KEV catalog, suggesting a low current exploitation probability at the time of analysis. The likely attack vector is a network‑based attacker who can connect to the broker over MQTT, using unauthenticated access to send fragmented CONNECT packets. Since the flaw is triggered by input to the parser, it is achievable by anyone who can reach the MQTT port for a broker.

Generated by OpenCVE AI on July 29, 2026 at 13:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the NATS Server to version 2.14.3 or later, or to 2.12.12.
  • If an immediate update is not possible, enforce authentication on the MQTT broker and deny or rate‑limit unauthenticated connections to reduce the ability to flood the server.
  • Apply network‑level controls such as connection throttling or packet size limits until the patch is deployed.

Generated by OpenCVE AI on July 29, 2026 at 13:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Nats
Nats nats Server
Vendors & Products Nats
Nats nats Server

Thu, 09 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title NATS Server: MQTT partial CONNECT packets can exhaust pre-auth memory
Weaknesses CWE-400
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Nats Nats Server
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-09T13:29:36.341Z

Reserved: 2026-06-29T17:09:25.872Z

Link: CVE-2026-58210

cve-icon Vulnrichment

Updated: 2026-07-09T13:29:29.958Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T13:45:02Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption