{"id":"CVE-2019-13126","aliases":["CVE-2019-13126","GHSA-jp4j-47f9-2vc3","GO-2022-0852"],"related":["CGA-qqj3-x378-ggj3"],"kind":"vulnerability","state":"published","title":"Integer Overflow or Wraparound in NATS Server","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"An integer overflow in NATS Server before 2.2.0 allows a remote attacker to crash the server by sending a crafted request.\n\n### Specific Go Packages Affected\ngithub.com/nats-io/nats-server/v2/server","format":"markdown","source":"ghsa"},{"lang":"en","text":"Integer Overflow or Wraparound in NATS Server in github.com/nats-io/nats-server","format":"markdown","source":"go"},{"lang":"es","text":"anterior a la versión.0.2 permite que un atacante remoto bloquee el servidor al enviar una solicitud  especialmente diseñada. Si la autenticación está habilitada, el atacante remoto debe haberse autenticado primero.","source":"nvd"}],"published":"2019-07-29T16:07:16.000Z","modified":"2026-09-10T03:49:05.035Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.2.0"}],"ecosystem":"Go","package":"github.com/nats-io/nats-server/v2","purl":"pkg:golang/github.com/nats-io/nats-server/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/nats-io/nats-server","purl":"pkg:golang/github.com/nats-io/nats-server","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.2.0"}],"ecosystem":"Go","package":"github.com/nats-io/nats-server/v2","purl":"pkg:golang/github.com/nats-io/nats-server/v2","source":"go"},{"ranges":[{"status":"affected","fixed":"2.0.2"}],"vendor":"linuxfoundation","product":"nats-server","cpe":"cpe:2.3:a:linuxfoundation:nats-server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.twistlock.com/labs-blog/finding-dos-vulnerability-nats-go-fuzz-cve-2019-13126/","tags":["broken-link","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nats-io/nats-server/pull/1053","tags":["fix","patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13126","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/nats-io/nats-server/pull/1441","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/nats-io/nats-server/commit/07ef71ff98f45f8c2711be4aeaf484610d891dda","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/nats-io/nats-server/commits/master","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://www.twistlock.com/labs-blog/finding-dos-vulnerability-nats-go-fuzz-cve-2019-13126","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-jp4j-47f9-2vc3","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-13126","url":"https://www.cve.org/CVERecord?id=CVE-2019-13126","licence":"CVE Terms of Use","modified":"2024-08-04T23:41:10.466Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jp4j-47f9-2vc3","url":"https://github.com/advisories/GHSA-jp4j-47f9-2vc3","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:05.035Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0852","url":"https://pkg.go.dev/vuln/GO-2022-0852","licence":"CC-BY-4.0","modified":"2026-02-04T03:32:18.606Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-13126","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13126","licence":"Public domain","modified":"2026-06-17T02:16:07.397Z"}],"updatedAt":"2026-11-25T22:57:46.261Z","epss":{"score":0.01773,"percentile":0.78829,"date":"2026-12-01T12:00:22.000Z"}}