{"id":"CVE-2026-29785","published":"2026-03-25T19:38:44Z","modified":"2026-09-09T12:04:53Z","title":"NATS Server panic via malicious compression on leafnode port","vendor":"nats-io","product":"nats-server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01131,"percentile":0.66112,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"},{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"references":[{"url":"https://github.com/nats-io/nats-server/security/advisories/GHSA-52jh-2xxh-pwh6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nats-io/nats-server/commit/a1488de6f2ba6e666aef0f9cce0016f7f167d6a8","tags":["x_refsource_MISC"]},{"url":"https://advisories.nats.io/CVE/secnote-2026-04.txt","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-29785","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2451444","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29785.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:22347","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:23345","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:21769","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":13.22},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"nats-io","affectedVersions":[{"vendor":"nats-io","product":"nats-server","versions":["< 2.11.14",">= 2.12.0-RC.1, < 2.12.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-28T01:33:48.548539Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/nats-io/nats-server/v2","vulnerableRanges":["<2.11.14",">=2.12.0-RC.1, <2.12.5"],"patched":["2.11.14","2.12.5"],"from":["GHSA-52jh-2xxh-pwh6","GO-2026-4829"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/nats-io/nats-server","vulnerableRanges":["all versions"],"patched":[],"from":["GHSA-52jh-2xxh-pwh6","GO-2026-4829"],"provenance":"source"}],"summary":{"text":"The NATS Server (nats-io nats-server) has a flaw in its leafnode port handling of compressed data, which causes a panic when the leafnode configuration is enabled (not the default) and compression is on (default when leafnodes are used). An attacker with network access to the leafnode port can crash the server without authenticating or any user interaction, provided compression is enabled on that port.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:12Z"},"euvd":{"id":"EUVD-2026-15963","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-30215","published":"2025-04-15","fixed":"2.11.1","kev":false},{"cve":"CVE-2026-27571","published":"2026-02-24","fixed":"2.12.3","kev":false,"link":{"from":"CVE-2026-27571","to":"CVE-2026-29785","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/nats-io/nats-server/v2","fromFixed":"2.11.12","toFixed":"2.11.14","daysApart":29}]}},{"cve":"CVE-2026-27889","published":"2026-03-25","fixed":"2.12.5","kev":false},{"cve":"CVE-2026-29785","published":"2026-03-25","fixed":"2.12.5","kev":false},{"cve":"CVE-2026-33215","published":"2026-03-24","fixed":"2.12.6","kev":false},{"cve":"CVE-2026-33216","published":"2026-03-25","fixed":"2.12.6","kev":false},{"cve":"CVE-2026-33217","published":"2026-03-25","fixed":"2.12.6","kev":false}],"package":"Go:github.com/nats-io/nats-server/v2"}}