# CVE-2019-13126: Integer Overflow or Wraparound in NATS Server

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.77%, higher than 78% of CVEs (2026-12-01)
- Published: 2019-07-29T16:07:16.000Z
- Modified: 2026-09-10T03:49:05.035Z
- Also known as: GHSA-jp4j-47f9-2vc3, GO-2022-0852
- Related: CGA-qqj3-x378-ggj3
- Weaknesses: CWE-190
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/nats-io/nats-server/v2 (Go): before 2.2.0
- github.com/nats-io/nats-server (Go): all versions
- linuxfoundation nats-server: before 2.0.2

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://www.twistlock.com/labs-blog/finding-dos-vulnerability-nats-go-fuzz-cve-2019-13126/> (broken-link)
- <https://github.com/nats-io/nats-server/pull/1053> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-13126> (advisory)
- <https://github.com/nats-io/nats-server/pull/1441> (fix, web)
- <https://github.com/nats-io/nats-server/commit/07ef71ff98f45f8c2711be4aeaf484610d891dda> (fix, web)
- <https://github.com/nats-io/nats-server/commits/master> (fix, web)
- <https://www.twistlock.com/labs-blog/finding-dos-vulnerability-nats-go-fuzz-cve-2019-13126> (web)
- <https://github.com/advisories/GHSA-jp4j-47f9-2vc3> (advisory)

## Sources

- CVE List: [CVE-2019-13126](https://www.cve.org/CVERecord?id=CVE-2019-13126), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-jp4j-47f9-2vc3](https://github.com/advisories/GHSA-jp4j-47f9-2vc3), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0852](https://pkg.go.dev/vuln/GO-2022-0852), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2019-13126](https://nvd.nist.gov/vuln/detail/CVE-2019-13126), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-13126 · Whole record: https://cve.day/CVE-2019-13126.json · Rebuilt by cve.day 2026-11-25T22:57:46.261Z
