All reports
Medium

libgcrypt: PRNG output is predictable

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2016-6313

Probability of exploitation in the next 30 days: 3.60%

FIRST EPSS · 2026-11-24

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.

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.