Home / nats-io / nats-server / CVE-2026-29785
CVE-2026-29785: is it exploited, and which versions of nats-io nats-server are affected and fixed?
CVE-2026-29785 is a NULL pointer dereference (crash) vulnerability in nats-io nats-server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: github.com/nats-io/nats-server/v2 before 2.11.14, github.com/nats-io/nats-server/v2 from 2.12.0-RC.1 before 2.12.5 and github.com/nats-io/nats-server 0 and later, no fix listed (GitHub advisory GHSA-52jh-2xxh-pwh6). Fixed in 2.11.14 and 2.12.5 (GitHub advisory GHSA-52jh-2xxh-pwh6). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-29785?
NATS Server panic via malicious compression on leafnode port
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.
From the CVE record by GitHub_M, last updated September 9, 2026, 12:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| nats-io | nats-server | < 2.11.14 >= 2.12.0-RC.1, < 2.12.5 |
As the CVE record by GitHub_M states it, last updated September 9, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/nats-io/nats-server/v2 | < 2.11.14 | 2.11.14 | GHSA-52jh-2xxh-pwh6 |
| Go | github.com/nats-io/nats-server/v2 | >= 2.12.0-RC.1, < 2.12.5 | 2.12.5 | GHSA-52jh-2xxh-pwh6 |
| Go | github.com/nats-io/nats-server | >= 0 | none listed | GHSA-52jh-2xxh-pwh6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 27, 2026. Summary: NATS Server panic via malicious compression on leafnode port.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linuxfoundation | nats-server | before 2.11.14 | application |
| linuxfoundation | nats-server | from 2.12.0 before 2.12.5 | application |
NVD analysis (status Modified), last modified September 9, 2026, 13:19 UTC.
How severe is CVE-2026-29785?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-29785 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, March 28, 2026)
- EPSS
- 0.74% probability of exploitation activity in the next 30 days, percentile 56.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-476 NULL Pointer Dereference
Where are the vendor advisories and references?
- https://github.com/nats-io/nats-server/security/advisories/GHSA-52jh-2xxh-pwh6 x_refsource_CONFIRM
- https://github.com/nats-io/nats-server/commit/a1488de6f2ba6e666aef0f9cce0016f7f167d6a8 x_refsource_MISC
- https://advisories.nats.io/CVE/secnote-2026-04.txt x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-29785 vdb-entry, x_refsource_REDHAT
- RHBZ#2451444 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29785.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:22347 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:23345 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:21769 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- March 4, 2026
- Published
- March 25, 2026, 19:38 UTC
- CVE record updated
- September 9, 2026, 12:04 UTC by GitHub_M
- NVD
- Modified, last modified September 9, 2026, 13:19 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect nats-server?
- Jul 8, 2026CVE-2026-58208 nats-io nats-server: uncaught exception (crash)
- Jul 8, 2026CVE-2026-58211 nats-io nats-server: incorrect authorization
- Jul 8, 2026CVE-2026-58207 nats-io nats-server: integer overflow
- Jul 8, 2026CVE-2026-58210 nats-io nats-server: denial of service (uncontrolled resource consumption)
- Jul 8, 2026CVE-2026-58209 nats-io nats-server: incorrect authorization
- Jul 8, 2026CVE-2026-58214 nats-io nats-server: incorrect authorization
- Jul 8, 2026CVE-2026-58254 nats-io nats-server: incorrect authorization
- Jul 8, 2026CVE-2026-58213 nats-io nats-server: injection
Questions about CVE-2026-29785
Is CVE-2026-29785 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.74% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of nats-io nats-server are affected by CVE-2026-29785?
github.com/nats-io/nats-server/v2 before 2.11.14, github.com/nats-io/nats-server/v2 from 2.12.0-RC.1 before 2.12.5 and github.com/nats-io/nats-server 0 and later, no fix listed, per the GitHub advisory GHSA-52jh-2xxh-pwh6. The tables above give every range the sources list.
Which version fixes CVE-2026-29785?
2.11.14 and 2.12.5, per the GitHub advisory GHSA-52jh-2xxh-pwh6. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-29785?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-29785?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.