Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach NATS monitoring HTTP port
-
DeliverySend /connz or /subsz request with offset=MaxInt64
-
ExploitOffset+Limit overflows to negative
-
ExecutionInvalid slice index triggers panic
-
ImpactBroker process crashes (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the NATS Server HTTP monitoring interface be enabled and reachable by the attacker, and that a request reach the /connz or /subsz endpoint with a crafted offset value near math.MaxInt64 (e.g., offset=9223372036854775807 with limit=1) so the sum overflows. For /subsz the subscriptions view (subs=1) is the affected path. Limiting factors: the monitoring port is a separate, optional interface that is frequently bound to localhost or firewalled in hardened deployments, and the CVSS PR:L indicates some privilege/access to that interface is expected - so environments that do not expose monitoring externally are not remotely exploitable. No user interaction is required, and default builds include the monitoring server only when explicitly configured. |
| Impact | The assigned CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H (7.7) describes a network-reachable, low-complexity, availability-only impact requiring low privileges - consistent with a DoS that crashes the broker with no confidentiality or integrity loss. This is a genuine availability concern for exposed monitoring ports but not a code-execution or data-theft issue. Notably, the vendor tags list 'Information Disclosure' alongside 'Integer Overflow,' yet the CVSS impact metrics set C:N/I:N - this is a conflict: the source evidence (panic on overflow) supports availability impact only, so treat the 'Information Disclosure' tag as unverified. No EPSS score, KEV listing, POC, or SSVC decision data was provided; absent active-exploitation signals and given availability-only impact, this is a moderate-priority patch, prioritized higher only where the monitoring endpoint is network-exposed. |
| Exploit ScenarioDerived | An attacker with access to the NATS monitoring HTTP port sends a request such as GET /connz?offset=9223372036854775807&limit=1 (or the equivalent /subsz?subs=1&offset=...&limit=1), causing the offset+limit addition to overflow and the server to panic. Because impact is availability-only, the result is a crash of the broker and disruption of all messaging clients; no public exploit code was provided, but the added regression tests demonstrate the exact overflowing inputs. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jul 08, 2026
Denial of service in NATS Server (nats-io/nats-server) affects the HTTP monitoring endpoints /connz and /subsz, where attacker-controlled offset and limit pagination parameters trigger a signed integer overflow (Offset+Limit wrapping from math.MaxInt64 to math.MinInt64), producing invalid slice bounds and a server panic. Any client able to reach the monitoring interface can crash the broker, disrupting all connected messaging clients. There is no public exploit identified at time of analysis and the issue is not in CISA KEV; the upstream fix clamps offsets using min/max bounds.
Earlier versions of this analysis (2)
Denial of service in NATS Server monitoring endpoints (nats-server, versions prior to 2.12.12 and 2.14.x prior to 2.14.3) allows a client to crash the server by supplying an extreme pagination offset to the /connz or /subsz HTTP monitoring APIs. Supplying Offset=math.MaxInt64 with Limit=1 causes the Offset+Limit sum to overflow to math.MinInt64, producing an out-of-range slice computation that panics the process. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV; the fix is confirmed in the vendor advisory GHSA-q59r-vq66-pxc2 and tagged releases.
CVE-2026-58207 is a vulnerability reported by the Ubuntu vendor with no public description, CVSS score, CWE classification, or technical details available at time of analysis. The sole intelligence signal is a vendor disclosure from Ubuntu, indicating it affects some component within the Ubuntu Linux ecosystem. Without a description, the impact, affected versions, and exploitation conditions cannot be determined.
RemediationAI
Upgrade to a fixed release: Vendor-released patch v2.12.12 (2.12.x line) or v2.14.3 (2.14.x line), available at https://github.com/nats-io/nats-server/releases/tag/v2.12.12 and https://github.com/nats-io/nats-server/releases/tag/v2.14.3; review GHSA-q59r-vq66-pxc2 for the full advisory. If immediate patching is not possible, restrict or disable the HTTP monitoring interface: bind the monitoring port (default 8222 HTTP / 8443 HTTPS) to localhost only, place it behind a firewall or reverse proxy that rejects unauthenticated access, and block external reachability to /connz and /subsz - the trade-off is loss of remote observability and any dashboards or scrapers that poll those endpoints. Where monitoring must stay enabled, front it with a proxy that validates/clamps the offset and limit query parameters to sane ranges.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NATS Server is a high-performance, CNCF-hosted messaging system written in Go that exposes an optional HTTP monitoring interface. The flaw is a CWE-190 Integer Overflow in server/monitor.go inside the Connz() and Subsz() pagination logic: the code computed maxoff := Offset + Limit before bounds-checking, so with Offset near math.MaxInt64 the addition overflows into a negative value (math.MinInt64). The negative/out-of-range result then feeds slice indexing over the client/subscription arrays, causing a runtime panic. The patched code replaces the naive addition with saturating arithmetic (minoff := min(max(Offset,0), maxIndex); maxoff := minoff + min(Limit, maxIndex-minoff)), which is confirmed by the fix commits and the added regression tests TestMonitorConnzOffsetOverflow and TestMonitorSubszOffsetOverflow.
Know when Nats Server gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Network-reachable low-complexity overflow crashing the broker gives A:H with no C/I; PR:L reflects access to the monitoring interface, and the panic stays within one security authority so S:U.
Primary rating from Vendor (vendor:ubuntu).
CVSS VectorNVD
Lifecycle Timeline
6DescriptionNVD
[Unknown description]
Executive ViewAI
NATS Server contains a high-severity denial-of-service vulnerability affecting HTTP monitoring endpoints (/connz and /subsz) that allows any network-accessible client to crash the entire message broker by exploiting integer overflow in pagination parameters. Although no public exploit code has been identified, the vulnerability poses critical availability risk to organizations relying on NATS for production messaging infrastructure. Immediate network isolation of monitoring interfaces is required to prevent potential operational disruption.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict HTTP monitoring endpoint access to trusted administrative networks only using network-layer controls; (2) Require HTTP basic authentication on /connz and /subsz if available in your NATS configuration; (3) Deploy WAF or API gateway rules to validate and reject pagination parameters exceeding safe integer ranges; (4) Enable detailed logging and alerting on monitoring endpoint access and unusual connection terminations; (5) Maintain network segmentation preventing untrusted clients from reaching monitoring interfaces; (6) Establish broker health monitoring and restart procedures for rapid incident response.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Nats Server
View allNATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings ar
The JWT library in NATS nats-server before 2.1.9 has Incorrect Access Control because of how expired credentials are han
This affects all versions of package github.com/nats-io/nats-server/server. Rated high severity (CVSS 7.5), this vulnera
NATS nats-server before 2.7.2 has Incorrect Access Control. Rated high severity (CVSS 8.8), this vulnerability is remote
Authentication bypass in NATS Server (nats-io/nats-server) lets an unauthenticated attacker on an adjacent network conne
Denial of service in NATS Server (nats-server) MQTT handler allows a remote, unauthenticated client to exhaust server me
Remote denial of service in the NATS Server (nats-io/nats-server) leafnode subsystem allows unauthenticated attackers to
An integer overflow in NATS Server before 2.0.2 allows a remote attacker to crash the server by sending a crafted reques
Remote denial-of-service in NATS Server (nats-server) affects deployments with the WebSocket listener enabled but MQTT d
NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise,
The JWT library in NATS nats-server before 2.1.9 allows a denial of service (a nil dereference in Go code). Rated high s
Protocol injection in NATS Server MQTT support allows an authenticated MQTT client to smuggle control characters (tab, n
EUVD-2026-42389
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB