Skip to content
Fencer Intel
medium 5.3

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 libgcrypt
    affected: 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_8
    +6 more products
    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
    fixed: vendor fix RHSA-2016:2674

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-09).

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

Sources

Fencer Intel 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.