{"id":"GHSA-r72h-j7qq-v6qg","revision":"363fa2a12fcf49dda39f5f475db2637d","records":[{"revision":"363fa2a12fcf49dda39f5f475db2637d","observedAt":"2026-11-20T00:22:48.636+00:00","statement":{"source":"osv","id":"GHSA-r72h-j7qq-v6qg","aliases":["BIT-nats-2026-58210","CVE-2026-58210"],"title":"NATS Server allows unauthenticated memory exhaustion through incomplete MQTT CONNECT packets","description":"### 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: <https://github.com/nats-io/nats-server/security/advisories/GHSA-r72h-j7qq-v6qg>\n * Credit: Asritha Bodepudi, Trail of Bits","state":0,"publishedAt":"2026-11-20T00:04:46+00:00","modifiedAt":"2026-11-20T00:15:06.3733629+00:00","affected":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.12.12"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.14.0-RC.1"},{"kind":"fixed","version":"2.14.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/nats-io/nats-server/security/advisories/GHSA-r72h-j7qq-v6qg","https://nvd.nist.gov/vuln/detail/CVE-2026-58210","https://github.com/nats-io/nats-server/commit/bce9ef39469e610aeddb819194ceb7f7edfc0861","https://github.com/nats-io/nats-server/commit/e016e47bbf70304945f2ae9dc397e4862adefaf5","https://github.com/nats-io/nats-server","https://github.com/nats-io/nats-server/releases/tag/v2.12.12","https://github.com/nats-io/nats-server/releases/tag/v2.14.3"],"sourceUrl":"https://github.com/advisories/GHSA-r72h-j7qq-v6qg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-r72h-j7qq-v6qg","identifiers":["GHSA-r72h-j7qq-v6qg","BIT-nats-2026-58210","CVE-2026-58210"]},"retained":false,"historicalAffected":[]}],"coverage":[]}