{"id":"CVE-2026-58210","aliases":["BIT-nats-2026-58210","GHSA-r72h-j7qq-v6qg"],"url":"https://o3.security/vulnerability/CVE-2026-58210","summary":"NATS Server: MQTT partial CONNECT packets can exhaust pre-auth memory","details":"### 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","published":"2026-07-08T20:13:37.082Z","modified":"2026-10-28T02:30:45.645948081Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.00742,"percentile":0.55457,"asOf":"2026-11-19"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","fixedVersion":"2.12.12"},{"ecosystem":"Go","name":"github.com/nats-io/nats-server/v2","fixedVersion":"2.14.3"}],"fix":{"url":"https://github.com/nats-io/nats-server/commit/bce9ef39469e610aeddb819194ceb7f7edfc0861","label":"nats-io/nats-server@bce9ef3"},"references":[{"type":"WEB","url":"https://github.com/nats-io/nats-server/releases/tag/v2.12.12"},{"type":"WEB","url":"https://github.com/nats-io/nats-server/releases/tag/v2.14.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58210.json"},{"type":"ADVISORY","url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-r72h-j7qq-v6qg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58210"},{"type":"FIX","url":"https://github.com/nats-io/nats-server/commit/bce9ef39469e610aeddb819194ceb7f7edfc0861"},{"type":"FIX","url":"https://github.com/nats-io/nats-server/commit/e016e47bbf70304945f2ae9dc397e4862adefaf5"},{"type":"PACKAGE","url":"https://github.com/nats-io/nats-server"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:45.645948081Z"}}