VDB

CVE-2019-11840

CVE-2019-11840 PUBLISHED CVSS 5.900000095367432 MEDIUM

golang.org/x/crypto/salsa20/salsa uses insufficiently random values

Record from NVD · Published May 9, 2019

golang.org/x/crypto is fixed in 0.0.0-20190320223903-b7391e95e576 (Go Modules)

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.

EPSS 3.45% · 89.3th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
golang.org/x/cryptoGo Modules0.0.0-20190320223903-b7391e95e576

Risk scores

CVSS 3.1
5.900000095367432
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score
3.45%
89.3th percentile

Affected products

VendorProductVersions
golangcrypto
debiandebian_linux8.0, 9.0, 10.0

Timeline

  • May 9, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jan 20, 2026 CVE Updated
  • Mar 18, 2026 Security Advisory (10 in total, the first dated here)
  • Sep 15, 2026 Coalition ESS Score
  • Oct 19, 2026 Distribution Patch (7 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-11840
vulnetix vdb fixes CVE-2019-11840

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-11840/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›