{"api_version":"1","generated_at":"2026-04-23T07:56:25+00:00","cve":"CVE-2019-11840","urls":{"html":"https://cve.report/CVE-2019-11840","api":"https://cve.report/api/cve/CVE-2019-11840.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-11840","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-11840"},"summary":{"title":"CVE-2019-11840","description":"An issue was discovered in supplementary Go cryptography libraries, aka golang-googlecode-go-crypto, before 2019-03-20. A flaw was found in the amd64 implementation of golang.org/x/crypto/salsa20 and golang.org/x/crypto/salsa20/salsa. If more than 256 GiB of keystream is generated, or if the counter otherwise grows greater than 32 bits, the amd64 implementation will first generate incorrect output, and then cycle back to previously generated keystream. Repeated keystream bytes can lead to loss of confidentiality in encryption applications, or to predictability in CSPRNG applications.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-05-09 16:29:00","updated_at":"2023-11-07 03:03:00"},"problem_types":["CWE-330"],"metrics":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2020/10/msg00014.html","name":"[debian-lts-announce] 20201007 [SECURITY] [DLA 2402-1] golang-go.crypto security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2402-1] golang-go.crypto security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1691529","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1691529","refsource":"MISC","tags":["Issue Tracking","Vendor Advisory"],"title":"1691529 – (CVE-2019-11840) CVE-2019-11840 golang-googlecode-go-crypto: Keystream loop in amd64 assembly when overflowing 32-bit counter","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00015.html","name":"[debian-lts-announce] 20210117 [SECURITY] [DLA 2527-1] snapd security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2527-1] snapd security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://groups.google.com/forum/#%21msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ","name":"https://groups.google.com/forum/#%21msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ","refsource":"","tags":[],"title":"Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00029.html","name":"[debian-lts-announce] 20190630 [SECURITY] [DLA 1840-1] golang-go.crypto security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 1840-1] golang-go.crypto security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00017.html","name":"[debian-lts-announce] 20230616 [SECURITY] [DLA 3455-1] golang-go.crypto security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3455-1] golang-go.crypto security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00016.html","name":"[debian-lts-announce] 20201109 [SECURITY] [DLA 2442-1] obfs4proxy security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2442-1] obfs4proxy security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00030.html","name":"[debian-lts-announce] 20201118 [SECURITY] [DLA 2454-1] rclone security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2454-1] rclone security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/golang/go/issues/30965","name":"https://github.com/golang/go/issues/30965","refsource":"MISC","tags":["Third Party Advisory"],"title":"x/crypto/salsa20: keystream loop in amd64 implementation after 256GiB · Issue #30965 · golang/go · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://groups.google.com/forum/#!msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ","name":"https://groups.google.com/forum/#!msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ","refsource":"MISC","tags":["Mailing List","Third Party Advisory"],"title":"Google Groups","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d","name":"https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d","refsource":"MISC","tags":["Mailing List","Patch","Third Party Advisory"],"title":"b7391e95e576cacdcdd422573063bc057239113d - crypto - Git at Google","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-11840","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-11840","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"11840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"11840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"11840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"golang","cpe5":"crypto","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"11840","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"golang","cpe5":"crypto","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2019-11840","qid":"181874","title":"Debian Security Update for golang-go.crypto (DLA 3455-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-11840","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"An issue was discovered in supplementary Go cryptography libraries, aka golang-googlecode-go-crypto, before 2019-03-20. A flaw was found in the amd64 implementation of golang.org/x/crypto/salsa20 and golang.org/x/crypto/salsa20/salsa. If more than 256 GiB of keystream is generated, or if the counter otherwise grows greater than 32 bits, the amd64 implementation will first generate incorrect output, and then cycle back to previously generated keystream. Repeated keystream bytes can lead to loss of confidentiality in encryption applications, or to predictability in CSPRNG applications."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://groups.google.com/forum/#!msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ","refsource":"MISC","name":"https://groups.google.com/forum/#!msg/golang-announce/tjyNcJxb2vQ/n0NRBziSCAAJ"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1691529","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1691529"},{"url":"https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d","refsource":"MISC","name":"https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d"},{"url":"https://github.com/golang/go/issues/30965","refsource":"MISC","name":"https://github.com/golang/go/issues/30965"},{"refsource":"MLIST","name":"[debian-lts-announce] 20190630 [SECURITY] [DLA 1840-1] golang-go.crypto security update","url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00029.html"},{"refsource":"MLIST","name":"[debian-lts-announce] 20201007 [SECURITY] [DLA 2402-1] golang-go.crypto security update","url":"https://lists.debian.org/debian-lts-announce/2020/10/msg00014.html"},{"refsource":"MLIST","name":"[debian-lts-announce] 20201109 [SECURITY] [DLA 2442-1] obfs4proxy security update","url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00016.html"},{"refsource":"MLIST","name":"[debian-lts-announce] 20201118 [SECURITY] [DLA 2454-1] rclone security update","url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00030.html"},{"refsource":"MLIST","name":"[debian-lts-announce] 20210117 [SECURITY] [DLA 2527-1] snapd security update","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00015.html"},{"refsource":"MLIST","name":"[debian-lts-announce] 20230616 [SECURITY] [DLA 3455-1] golang-go.crypto security update","url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00017.html"}]}},"nvd":{"publishedDate":"2019-05-09 16:29:00","lastModifiedDate":"2023-11-07 03:03:00","problem_types":["CWE-330"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.2,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:golang:crypto:*:*:*:*:*:*:*:*","versionEndExcluding":"2019-03-20","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"11840","Ordinal":"150163","Title":"CVE-2019-11840","CVE":"CVE-2019-11840","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"11840","Ordinal":"1","NoteData":"An issue was discovered in supplementary Go cryptography libraries, aka golang-googlecode-go-crypto, before 2019-03-20. A flaw was found in the amd64 implementation of golang.org/x/crypto/salsa20 and golang.org/x/crypto/salsa20/salsa. If more than 256 GiB of keystream is generated, or if the counter otherwise grows greater than 32 bits, the amd64 implementation will first generate incorrect output, and then cycle back to previously generated keystream. Repeated keystream bytes can lead to loss of confidentiality in encryption applications, or to predictability in CSPRNG applications.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"11840","Ordinal":"2","NoteData":"2019-05-09","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"11840","Ordinal":"3","NoteData":"2021-01-17","Type":"Other","Title":"Modified"}]}}}