CVE-2026-29785
published high CVSS 3.1 · 7.5NATS Server panic via malicious compression on leafnode port
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nats-io | — | nats-server< 2.11.14 · >= 2.12.0-RC.1, < 2.12.5 | Affected | Not stated | GitHub_M |
| Red Hat | — | multicluster-globalhub/multicluster-globalhub-grafana-rhel9Multicluster Global Hub 1.4.5 · 1779579439 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | multicluster-globalhub/multicluster-globalhub-grafana-rhel9Multicluster Global Hub 1.6.5 · 1780167118 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | multicluster-globalhub/multicluster-globalhub-grafana-rhel9Red Hat multicluster global hub 1.5.3 · 1778867753 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | openshift4/oc-mirror-plugin-rhel9Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat-SADP |
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.
A flaw was found in NATS-Server. A remote attacker can exploit this vulnerability by connecting to a NATS-Server instance where the 'leafnode' configuration is enabled and compression is active. This pre-authentication flaw allows the attacker to trigger a server crash, resulting in a Denial of Service (DoS) for the affected system.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nats-io | nats-server | < 2.11.14 (affected)>= 2.12.0-RC.1, < 2.12.5 (affected) | GitHub_M · cna |
| Red Hat | Multicluster Global Hub 1.4.5 | 1779579439 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Multicluster Global Hub 1.6.5 | 1780167118 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat multicluster global hub 1.5.3 | 1778867753 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-476 CWE-476: NULL Pointer Dereference
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
References
9- https://access.redhat.com/errata/RHSA-2026:21769
- https://access.redhat.com/errata/RHSA-2026:22347
- https://access.redhat.com/errata/RHSA-2026:23345
- https://access.redhat.com/security/cve/CVE-2026-29785
- https://advisories.nats.io/CVE/secnote-2026-04.txt
- RHBZ#2451444 https://bugzilla.redhat.com/show_bug.cgi?id=2451444
- https://github.com/nats-io/nats-server/commit/a1488de6f2ba6e666aef0f9cce0016f7f167d6a8
- https://github.com/nats-io/nats-server/security/advisories/GHSA-52jh-2xxh-pwh6
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-29785.json
Provider assertions
3GitHub_M · cna
NATS Server panic via malicious compression on leafnode port
redhat-SADP · adp
github.com/nats-io/nats-server: NATS-Server: Denial of Service via leafnode compression
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2a8a865c50dad4ab93dd2607084d1d137930351fdac1dde957f2da52b7c40e73
- Ingested
- 23 Sep 2026, 09:08:32 UTC
- Source record
- Official CVE record