{
  "id": "CVE-2026-29785",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-29785",
  "published_at": "2026-03-25T19:38:44.587Z",
  "title": "NATS Server panic via malicious compression on leafnode port",
  "vendor": "nats-io",
  "product": "nats-server",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.14 and 2.12.5, if the nats-server has the \"leafnode\" configuration enabled (not default), then anyone who can connect can crash the nats-server by triggering a panic. This happens pre-authentication and requires that compression be enabled (which it is, by default, when leafnodes are used). Versions 2.11.14 and 2.12.5 contain a fix. As a workaround, disable compression on the leafnode port.",
  "cwe": "CWE-476",
  "cpes": [
    "cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "nats-io",
        "product": "nats-server",
        "ranges": [
          "\u003c 2.11.14",
          "\u003e= 2.12.0-RC.1, \u003c 2.12.5"
        ],
        "fixed_in": [
          "2.11.14",
          "2.12.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade nats-server to 2.11.14 or 2.12.5 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/nats-io/nats-server/security/advisories/GHSA-52jh-2xxh-pwh6"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nats-io/nats-server/commit/a1488de6f2ba6e666aef0f9cce0016f7f167d6a8"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
