CVE-2019-11840

Summary

CVECVE-2019-11840
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-05-09 16:29:00 UTC
Updated2026-05-18 12:04:40 UTC
DescriptionAn issue was discovered in the supplementary Go cryptography library, golang.org/x/crypto, before v0.0.0-20190320223903-b7391e95e576. A flaw was found in the amd64 implementation of the golang.org/x/crypto/salsa20 and golang.org/x/crypto/salsa20/salsa packages. 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.

Risk And Classification

Primary CVSS: v3.1 5.9 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS: 0.017850000 probability, percentile 0.829800000 (date 2026-05-25)

Problem Types: CWE-330 | n/a


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
2.0[email protected]Primary4.3AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:N/AC:M/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Golang Crypto - All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
[SECURITY] [DLA 2402-1] golang-go.crypto security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
[SECURITY] [DLA 2442-1] obfs4proxy security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
1691529 – (CVE-2019-11840) CVE-2019-11840 golang-googlecode-go-crypto: Keystream loop in amd64 assembly when overflowing 32-bit counter af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Vendor Advisory
[SECURITY] [DLA 1840-1] golang-go.crypto security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
x/crypto/salsa20: keystream loop in amd64 implementation after 256GiB · Issue #30965 · golang/go · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Third Party Advisory
b7391e95e576cacdcdd422573063bc057239113d - crypto - Git at Google af854a3a-2127-422b-91ae-364da2661108 go.googlesource.com Mailing List, Patch, Third Party Advisory
[SECURITY] [DLA 2454-1] rclone security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
Google Groups af854a3a-2127-422b-91ae-364da2661108 groups.google.com Permissions Required
[SECURITY] [DLA 3455-1] golang-go.crypto security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Third Party Advisory
pkg.go.dev/vuln/GO-2022-0209 af854a3a-2127-422b-91ae-364da2661108 pkg.go.dev Third Party Advisory
[SECURITY] [DLA 2527-1] snapd security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
Google Groups MITRE groups.google.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 181874 Debian Security Update for golang-go.crypto (DLA 3455-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report