{"vuln_id":"CVE-2026-58210","aliases":["GHSA-r72h-j7qq-v6qg"],"description":"NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets","published_at":"2026-11-20T00:04:46Z","modified_at":"2026-11-20T00:15:06.373362Z","first_seen_at":"2026-11-21T19:15:19.334711Z","severity":"high","severity_source":"ghsa","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-400"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00742,"epss_percentile":0.55587,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-58210"},"matched_alias":null,"items":[{"id":10969,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-r72h-j7qq-v6qg: NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets","summary":"NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets\n\n### Background\n\nNATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT and edge computing.\n\nThe NATS Server supports MQTT clients, including authentication and parsing of MQTT `CONNECT` packets.\n\n### Problem Description\n\nAn unauthenticated MQTT client could cause the server to retain large incomplete MQTT `CONNECT` packets before authentication completed.\n\nThe parser retained partial pre-authentication packet data while waiting for the advertised MQTT packet length to be completed. An attacker could therefore consume server memory until authentication timeouts closed the connections.\n\n### Affected Versions\n\nVersions v2.14.2, v2.12.11 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.12.\n\n### Workarounds\n\nDeployments not using MQTT are not affected. Deployments that need MQTT should upgrade to a fixed release.\n\n### References\n\n* GHSA advisory:\n\n* Credit: Asritha Bodepudi, Trail of Bits\n\nAffected: Go:github.com/nats-io/nats-server/v2\n\nFixed in: 2.12.12, 2.14.3\n\nReferences:\nhttps://github.com/nats-io/nats-server/security/advisories/GHSA-r72h-j7qq-v6qg\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-58210\nhttps://github.com/nats-io/nats-server/commit/bce9ef39469e610aeddb819194ceb7f7edfc0861\nhttps://github.com/nats-io/nats-server/commit/e016e47bbf70304945f2ae9dc397e4862adefaf5\nhttps://github.com/nats-io/nats-server\nhttps://github.com/nats-io/nats-server/releases/tag/v2.12.12\nhttps://github.com/nats-io/nats-server/releases/tag/v2.14.3","url":"https://osv.dev/vulnerability/GHSA-r72h-j7qq-v6qg","published_at":"2026-11-20T00:04:46Z","updated_at":"2026-11-20T00:15:06.373362Z","fetched_at":"2026-11-21T19:15:55.946337Z","severity":"high","cvss_score":7.5,"epss":0.00742,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/nats-io/nats-server/v2","vuln_id":"CVE-2026-58210","vuln_ids":["CVE-2026-58210","BIT-NATS-2026-58210","GHSA-R72H-J7QQ-V6QG"],"tags":["osv","go","fix-available"],"cluster_id":2122,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10969","html":"https://vulnwatch.ve1ve2.com/item/10969"}},{"id":2345,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-r72h-j7qq-v6qg / CVE-2026-58210: NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets","summary":"NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets\n\n### Background\n\nNATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT and edge computing.\n\nThe NATS Server supports MQTT clients, including authentication and parsing of MQTT `CONNECT` packets.\n\n### Problem Description\n\nAn unauthenticated MQTT client could cause the server to retain large incomplete MQTT `CONNECT` packets before authentication completed.\n\nThe parser retained partial pre-authentication packet data while waiting for the advertised MQTT packet length to be completed. An attacker could therefore consume server memory until authentication timeouts closed the connections.\n\n### Affected Versions\n\nVersions v2.14.2, v2.12.11 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.12.\n\n### Workarounds\n\nDeployments not using MQTT are not affected. Deployments that need MQTT should upgrade to a fixed release.\n\n### References\n\n* GHSA advisory:\n\n* Credit: Asritha Bodepudi, Trail of Bits\n\nAffected packages: go:github.com/nats-io/nats-server/v2\nPatched: github.com/nats-io/nats-server/v2 2.12.12, github.com/nats-io/nats-server/v2 2.14.3","url":"https://github.com/advisories/GHSA-r72h-j7qq-v6qg","published_at":"2026-11-20T00:04:46Z","updated_at":"2026-11-20T00:04:47Z","fetched_at":"2026-11-21T19:15:18.416766Z","severity":"high","cvss_score":7.5,"epss":0.00742,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/nats-io/nats-server/v2","vuln_id":"CVE-2026-58210","vuln_ids":["CVE-2026-58210","GHSA-R72H-J7QQ-V6QG"],"tags":["ghsa","go","CWE-400"],"cluster_id":2122,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2345","html":"https://vulnwatch.ve1ve2.com/item/2345"}}]}