{"schemaVersion":3,"id":"CVE-2019-13126","aliases":["CGA-2c7q-9rjh-mm63","CGA-74mq-v6g6-8wm2","CGA-qqxx-m4rw-hfgx","CGA-xp83-cpcx-528q","GHSA-jp4j-47f9-2vc3","GO-2022-0852"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-07-29T16:07:16.000Z","modified":"2024-08-04T23:41:10.466Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.01773,"percentile":0.7785,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01773},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01773,"percentile":0.7785}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01773,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01773,"percentile":0.7785}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"chainguard","product":"nats-server","name":"nats-server","label":"nats-server","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nats-server","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"nats-server-compat","name":"nats-server-compat","label":"nats-server-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nats-server-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"nats-server","name":"nats-server","label":"nats-server","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/nats-server","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"nats-server-compat","name":"nats-server-compat","label":"nats-server-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/nats-server-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/nats-io","product":"nats-server","name":"github.com/nats-io/nats-server","label":"nats-server","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/nats-io/nats-server","purlType":"golang","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/nats-io/nats-server","product":"v2","name":"github.com/nats-io/nats-server/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/nats-io/nats-server/v2","purlType":"golang","versions":[{"text":"< 2.2.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.2.0","eol":null,"hubHref":null},{"vendor":"linuxfoundation","product":"nats-server","name":"nats-server","label":"nats-server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.2","eol":null,"hubHref":"/vendor/linuxfoundation/nats-server"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.twistlock.com/labs-blog/finding-dos-vulnerability-nats-go-fuzz-cve-2019-13126/","label":"www.twistlock.com/labs-blog/finding-dos-vulnerability-nats-go-fuzz-cve-2019-13126/","hostname":"www.twistlock.com","tags":["X Refsource MISC","Broken Link","ARTICLE"]},{"url":"https://github.com/nats-io/nats-server/pull/1053","label":"github.com/nats-io/nats-server/pull/1053","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory","FIX","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13126","label":"nvd.nist.gov/vuln/detail/CVE-2019-13126","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/nats-io/nats-server/pull/1441","label":"github.com/nats-io/nats-server/pull/1441","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/nats-io/nats-server/commit/07ef71ff98f45f8c2711be4aeaf484610d891dda","label":"github.com/nats-io/nats-server/commit/07ef71ff98f45f8c2711be4aeaf484610d891dda","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/nats-io/nats-server/commits/master","label":"github.com/nats-io/nats-server/commits/master","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://www.twistlock.com/labs-blog/finding-dos-vulnerability-nats-go-fuzz-cve-2019-13126","label":"www.twistlock.com/labs-blog/finding-dos-vulnerability-nats-go-fuzz-cve-2019-13126","hostname":"www.twistlock.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-jp4j-47f9-2vc3","label":"github.com/advisories/GHSA-jp4j-47f9-2vc3","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-QQJ3-X378-GGJ3","CGA-XVF5-H398-XXGJ"]},"timeline":[{"kind":"published","date":"2019-07-29T16:07:16.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T23:41:10.466Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:19:10.640Z","stale":false,"partial":false}}