CVE-2016-6313
Summary
| CVE | CVE-2016-6313 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2016-12-13 20:59:04 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.0 5.3 MEDIUM from [email protected]
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS: 0.031770000 probability, percentile 0.870500000 (date 2026-05-11)
Problem Types: CWE-200 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 5.3 | MEDIUM | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| 2.0 | [email protected] | Primary | 5 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
NoneAvailability
NoneAV:N/AC:L/Au:N/C:P/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Canonical | Ubuntu Linux | 12.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 14.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 16.04 | All | All | All |
| Operating System | Debian | Debian Linux | 8.0 | All | All | All |
| Application | Gnupg | Gnupg | All | All | All | All |
| Application | Gnupg | Libgcrypt | 1.6.0 | All | All | All |
| Application | Gnupg | Libgcrypt | 1.6.1 | All | All | All |
| Application | Gnupg | Libgcrypt | 1.6.2 | All | All | All |
| Application | Gnupg | Libgcrypt | 1.6.3 | All | All | All |
| Application | Gnupg | Libgcrypt | 1.6.4 | All | All | All |
| Application | Gnupg | Libgcrypt | 1.6.5 | All | All | All |
| Application | Gnupg | Libgcrypt | 1.7.0 | All | All | All |
| Application | Gnupg | Libgcrypt | 1.7.1 | All | All | All |
| Application | Gnupg | Libgcrypt | 1.7.2 | All | All | All |
| Application | Gnupg | Libgcrypt | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| GnuPG and Libgcrypt CVE-2016-6313 Local Predictable Random Number Generator Weakness | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | Third Party Advisory, VDB Entry |
| USN-3065-1: Libgcrypt vulnerability | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | Third Party Advisory |
| Debian -- Security Information -- DSA-3649-1 gnupg | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | Third Party Advisory |
| Debian -- Security Information -- DSA-3650-1 libgcrypt20 | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | Third Party Advisory |
| [Announce] Security fixes for Libgcrypt and GnuPG 1.4 [CVE-2016-6316] | af854a3a-2127-422b-91ae-364da2661108 | lists.gnupg.org | Mailing List, Vendor Advisory |
| libgcrypt: Multiple vulnerabilities (GLSA 201610-04) — Gentoo Security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| GnuPG: RNG output is predictable (GLSA 201612-01) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | |
| git.gnupg.org Git | af854a3a-2127-422b-91ae-364da2661108 | git.gnupg.org | |
| GnuPG Flaw in Random Number Generator Mixing Functions Lets Users Predict Some Output - SecurityTracker | af854a3a-2127-422b-91ae-364da2661108 | www.securitytracker.com | |
| USN-3064-1: GnuPG vulnerability | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | Third Party Advisory |
| CONFIRM:https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=blob_plain;f=NEWS | MITRE | git.gnupg.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.