CVE-2016-6313 json
The mixing functions in the random number generator in Libgcrypt before 1.5.6, 1.6.x before 1.6.6, and 1.7.x before 1.7.3 and GnuPG before…
published 2016-12-13 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-7242
- cvss
- 5.3
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.6%
- EPSS 3.6% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
The mixing functions in the random number generator in Libgcrypt before 1.5.6, 1.6.x before 1.6.6, and 1.7.x before 1.7.3 and GnuPG before 1.4.21 make it easier for attackers to obtain the values of 160 bits by leveraging knowledge of the previous 4640 bits.
Patch / fix
- gnupg1 Debian 14, Debian 13, Debian 12 1.4.21-1
- libgcrypt20 Debian 14, Debian 13, Debian 12 1.7.3-1
debian advisories DEBIAN-CVE-2016-6313
- gnupg Ubuntu 14.04 LTS 1.4.16-1ubuntu2.4
- gnupg Ubuntu 16.04 LTS 1.4.20-1ubuntu3.1
- libgcrypt11 Ubuntu 14.04 LTS 1.5.3-2ubuntu4.4
- libgcrypt20 Ubuntu 16.04 LTS 1.6.5-2ubuntu0.2
ubuntu advisories UBUNTU-CVE-2016-6313
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libgcrypt RHEL 6 1.4.5-12.el6_8
- libgcrypt RHEL 7 1.5.3-13.el7_3.1
red hat advisories RHSA-2016:2674
- libgcrypt SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 1.5.0-0.22.1
- libgcrypt SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +1 more 1.6.1-16.33.1
suse advisories SUSE-SU-2016:2346-1SUSE-SU-2016:2345-1
- libgcrypt openSUSE Tumbleweed 1.7.3-1.3
opensuse advisories openSUSE-SU-2024:10037-1
- libgcrypt Alpine 3.4 1.7.0-r1
alpine advisories ALPINE-CVE-2016-6313
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-6313 updated cvss 4.8
libgcrypt: PRNG output is predictable
-
Red Hat Enterprise Linux 5 libgcryptaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) libgcrypt 1.5.3-13.el7_3.1 Red Hat Enterprise Linux Client Optional (v. 7) libgcrypt-devel 1.5.3-13.el7_3.1, libgcrypt-debuginfo 1.5.3-13.el7_3.1 Red Hat Enterprise Linux ComputeNode (v. 7) libgcrypt 1.5.3-13.el7_3.1 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libgcrypt-devel 1.5.3-13.el7_3.1, libgcrypt-debuginfo 1.5.3-13.el7_3.1 Red Hat Enterprise Linux Desktop (v. 6) libgcrypt 1.4.5-12.el6_8 Red Hat Enterprise Linux Desktop Optional (v. 6) libgcrypt-devel 1.4.5-12.el6_8, libgcrypt-debuginfo 1.4.5-12.el6_8fixed: vendor fix RHSA-2016:2674
+6 more productsfewer
Red Hat Enterprise Linux HPC Node (v. 6) libgcrypt 1.4.5-12.el6_8 Red Hat Enterprise Linux HPC Node Optional (v. 6) libgcrypt-devel 1.4.5-12.el6_8, libgcrypt-debuginfo 1.4.5-12.el6_8 Red Hat Enterprise Linux Server (v. 6) libgcrypt 1.4.5-12.el6_8 Red Hat Enterprise Linux Server (v. 7) libgcrypt 1.5.3-13.el7_3.1 Red Hat Enterprise Linux Workstation (v. 6) libgcrypt 1.4.5-12.el6_8 Red Hat Enterprise Linux Workstation (v. 7) libgcrypt 1.5.3-13.el7_3.1
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.60% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
debian.org
/security/2016/dsa-3650
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/201612-01
vendor-advisory
-
ubuntu.com
/usn/USN-3064-1
vendor-advisory, third-party-advisory
-
debian.org
/security/2016/dsa-3649
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/201610-04
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2674.html
vendor-advisory
-
ubuntu.com
/usn/USN-3065-1
vendor-advisory, third-party-advisory
-
lists.gnupg.org
/pipermail/gnupg-announce/2016q3/000395.html
mailing-list, vendor-advisory
-
securitytracker.com
/id/1036635
vdb-entry
- git.gnupg.org /cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=blob_plain%3Bf=NEWS
-
securityfocus.com
/bid/92527
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2016-6313
- NVD CVE-2016-6313
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.