// For flags

CVE-2016-6313

libgcrypt: PRNG output is predictable

Severity Score

5.3
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Las funciones de mezcla en el generador de números aleatorios en Libgcrypt en versiones anteriores a 1.5.6, 1.6.x en versiones anteriores a 1.6.6 y 1.7.x en versiones anteriores a 1.7.3 y GnuPG en versiones anteriores a 1.4.21 hacen más fácil para atacantes obtener valores de 160 bits aprovechando el conocimiento de los 4640 bits previos.

A design flaw was found in the libgcrypt PRNG (Pseudo-Random Number Generator). An attacker able to obtain the first 580 bytes of the PRNG output could predict the following 20 bytes.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
High
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2016-07-26 CVE Reserved
  • 2016-08-18 CVE Published
  • 2023-11-08 EPSS Updated
  • 2024-08-06 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Gnupg
Search vendor "Gnupg"
Libgcrypt
Search vendor "Gnupg" for product "Libgcrypt"
<= 1.5.3
Search vendor "Gnupg" for product "Libgcrypt" and version " <= 1.5.3"
-
Affected
Gnupg
Search vendor "Gnupg"
Libgcrypt
Search vendor "Gnupg" for product "Libgcrypt"
1.6.0
Search vendor "Gnupg" for product "Libgcrypt" and version "1.6.0"
-
Affected
Gnupg
Search vendor "Gnupg"
Libgcrypt
Search vendor "Gnupg" for product "Libgcrypt"
1.6.1
Search vendor "Gnupg" for product "Libgcrypt" and version "1.6.1"
-
Affected
Gnupg
Search vendor "Gnupg"
Libgcrypt
Search vendor "Gnupg" for product "Libgcrypt"
1.6.2
Search vendor "Gnupg" for product "Libgcrypt" and version "1.6.2"
-
Affected
Gnupg
Search vendor "Gnupg"
Libgcrypt
Search vendor "Gnupg" for product "Libgcrypt"
1.6.3
Search vendor "Gnupg" for product "Libgcrypt" and version "1.6.3"
-
Affected
Gnupg
Search vendor "Gnupg"
Libgcrypt
Search vendor "Gnupg" for product "Libgcrypt"
1.6.4
Search vendor "Gnupg" for product "Libgcrypt" and version "1.6.4"
-
Affected
Gnupg
Search vendor "Gnupg"
Libgcrypt
Search vendor "Gnupg" for product "Libgcrypt"
1.6.5
Search vendor "Gnupg" for product "Libgcrypt" and version "1.6.5"
-
Affected
Gnupg
Search vendor "Gnupg"
Libgcrypt
Search vendor "Gnupg" for product "Libgcrypt"
1.7.0
Search vendor "Gnupg" for product "Libgcrypt" and version "1.7.0"
-
Affected
Gnupg
Search vendor "Gnupg"
Libgcrypt
Search vendor "Gnupg" for product "Libgcrypt"
1.7.1
Search vendor "Gnupg" for product "Libgcrypt" and version "1.7.1"
-
Affected
Gnupg
Search vendor "Gnupg"
Libgcrypt
Search vendor "Gnupg" for product "Libgcrypt"
1.7.2
Search vendor "Gnupg" for product "Libgcrypt" and version "1.7.2"
-
Affected
Debian
Search vendor "Debian"
Debian Linux
Search vendor "Debian" for product "Debian Linux"
8.0
Search vendor "Debian" for product "Debian Linux" and version "8.0"
-
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
12.04
Search vendor "Canonical" for product "Ubuntu Linux" and version "12.04"
lts
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
14.04
Search vendor "Canonical" for product "Ubuntu Linux" and version "14.04"
lts
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
16.04
Search vendor "Canonical" for product "Ubuntu Linux" and version "16.04"
lts
Affected
Gnupg
Search vendor "Gnupg"
Gnupg
Search vendor "Gnupg" for product "Gnupg"
<= 1.4.14
Search vendor "Gnupg" for product "Gnupg" and version " <= 1.4.14"
-
Affected