CVE-2019-11840

medium
Published 2019-05-09 · Modified 2026-02-04
CVSS v3
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v2
4.3
VIR risk
5.9

Description

An 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.

Predictions

Exploit likelihood
69%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2019-11840

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://go.googlesource.com/crypto/+/b7391e95e576cacdcdd422573063bc057239113d

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://bugzilla.redhat.com/show_bug.cgi?id=1691529

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed1:0.0~git20200221.2aa609c-1
debian debianbullseyefixed1:0.0~git20200221.2aa609c-1
debian debianforkyfixed1:0.0~git20200221.2aa609c-1
debian debiansidfixed1:0.0~git20200221.2aa609c-1
debian debiantrixiefixed1:0.0~git20200221.2aa609c-1
debian debian8.0affected
debian debian9.0affected
debian debian10.0affected

Package impact

EcosystemPackageVulnerableFixed
golang Gogolang.org/x/crypto<0.0.0-20190320223903-b7391e95e5760.0.0-20190320223903-b7391e95e576

Application impact

VendorProductVersionsFixed
golangcrypto-

References

CWEs

CWE-330

Verify integrity in audit chain (admin only). AS-IS.