{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.11.17"
              },
              {
                "introduced": "2.12.0"
              },
              {
                "fixed": "2.12.8"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0f192db71455eaca7f1fef14548a239845f24b96"
            },
            {
              "introduced": "fc6ec648d806652d282d2f0edb6cb9f22c895572"
            },
            {
              "fixed": "e9559e9ae3cd09ed29b157e6f19babb2cd1609e5"
            },
            {
              "fixed": "8dcb26eaea78fdcbe96dbee5986d6019fd5cb94a"
            },
            {
              "fixed": "fc5fe39177533e9dbdd651d2458285bfae1dde27"
            }
          ],
          "repo": "https://github.com/nats-io/nats-server",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-3g5q-cfh2-cq67"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-476"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58250.json"
  },
  "details": "NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.12.8 and 2.11.17, an unauthenticated peer with network access to a leafnode listener with compression enabled could crash the server during the pre-authentication leafnode handshake by sending repeated leafnode INFO protocol messages before authentication and account setup completed. This issue is fixed in versions 2.12.8 and 2.11.17.",
  "id": "CVE-2026-58250",
  "modified": "2026-08-12T03:51:16.332916966Z",
  "published": "2026-07-08T19:48:55.058Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/nats-io/nats-server/releases/tag/v2.11.17"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nats-io/nats-server/releases/tag/v2.12.8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58250.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nats-io/nats-server/security/advisories/GHSA-3g5q-cfh2-cq67"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58250"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nats-io/nats-server/commit/8dcb26eaea78fdcbe96dbee5986d6019fd5cb94a"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nats-io/nats-server/commit/fc5fe39177533e9dbdd651d2458285bfae1dde27"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "NATS Server: Pre-auth server crash via double INFO in leafnode handshake"
}