CVEfocus › CVE database › CVE-2016-6313

CVE-2016-6313

CVSS 5.3 MediumEPSS 3.6% (higher than 90% of CVEs)Published 2016-12-13Updated 2024-08-06Assigner: redhat

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.

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
1Fix pending
1Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04gnupgFixed1.4.20-1ubuntu3.1UBUNTU-CVE-2016-6313
Ubuntu 16.04gnupg2Not affected
vulnerable_code_not_present
Ubuntu 16.04libgcrypt20Fixed1.6.5-2ubuntu0.2UBUNTU-CVE-2016-6313
Ubuntu 14.04gnupgFixed1.4.16-1ubuntu2.4UBUNTU-CVE-2016-6313
Ubuntu 14.04gnupg2Not affected
vulnerable_code_not_present
Ubuntu 14.04libgcrypt11Fixed1.5.3-2ubuntu4.4UBUNTU-CVE-2016-6313
Ubuntu 14.04libgcrypt20Fix pending
Debian 14gnupg1Fixed1.4.21-1DEBIAN-CVE-2016-6313
Debian 14libgcrypt20Fixed1.7.3-1DEBIAN-CVE-2016-6313
Debian 13gnupg1Fixed1.4.21-1DEBIAN-CVE-2016-6313
Debian 13libgcrypt20Fixed1.7.3-1DEBIAN-CVE-2016-6313
Debian 12gnupg1Fixed1.4.21-1DEBIAN-CVE-2016-6313
Debian 12libgcrypt20Fixed1.7.3-1DEBIAN-CVE-2016-6313
Red Hat Enterprise Linux 7libgcryptFixed0:1.5.3-13.el7_3.1RHSA-2016:2674
Red Hat Enterprise Linux 7libgcrypt-develFixed0:1.5.3-13.el7_3.1RHSA-2016:2674
Red Hat Enterprise Linux 6libgcryptFixed0:1.4.5-12.el6_8RHSA-2016:2674
Red Hat Enterprise Linux 6libgcrypt-develFixed0:1.4.5-12.el6_8RHSA-2016:2674
Red Hat Enterprise Linux 5libgcryptWill not fix
Will not fix
Alpine Linux 3.4libgcryptFixed1.7.0-r1ALPINE-CVE-2016-6313

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.