CVE-2019-13126 json
Integer Overflow or Wraparound in NATS Server
published 2019-07-29 7 y ago modified 2026-09-10 1 mo ago also GHSA-jp4j-47f9-2vc3 , GO-2022-0852 , EUVD-2021-1121
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
An integer overflow in NATS Server before 2.0.2 allows a remote attacker to crash the server by sending a crafted request. If authentication is enabled, then the remote attacker must have first authenticated.
Patch / fix
- go github.com/nats-io/nats-server/v2 2.2.0
- linuxfoundation nats-server 2.0.2
- github.com/nats-io/nats-server@07ef71f commit
- github.com/nats-io/nats-server/commits/master patch
- github.com/nats-io/nats-server#1053 pull request
- github.com/nats-io/nats-server#1441 pull request
Exploit prediction
1.77% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/nats-io/nats-server/v2 | <2.2.0 |
2.2.0 |
| go | github.com/nats-io/nats-server | all versions |
no fix listed |
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/nats-io/nats-server/pull/1053
web, patch, third-party-advisory
-
github.com
/nats-io/nats-server/pull/1441
web, patch
-
github.com
/nats-io/nats-server/commit/07ef71ff98f45f8c2711be4aeaf484610d891dda
web, patch
-
github.com
/nats-io/nats-server/commits/master
web, patch
-
twistlock.com
/labs-blog/finding-dos-vulnerability-nats-go-fuzz-cve-2019-13126/
broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2019-13126
advisory
-
twistlock.com
/labs-blog/finding-dos-vulnerability-nats-go-fuzz-cve-2019-13126
web
-
github.com
/advisories/GHSA-jp4j-47f9-2vc3
advisory
Sources
- CVE List CVE-2019-13126
- GitHub Advisory GHSA-jp4j-47f9-2vc3
- NVD CVE-2019-13126
- OSV GO-2022-0852
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.