CVE-2014-0017
The RAND_bytes function in libssh before 0.6.3, when forking is enabled, does not properly reset the state of the OpenSSL pseudo-random number generator (PRNG), which causes the state to be shared between children processes and allows local users to obtain sensitive information by leveraging a pid collision.
View on NVDSeverity
N/A
EPSS
Probability of exploitation (next 30 days): 0.0009 (0.1%)
Percentile: 24.8%
EPSS: 2026-05-06
Affects
libssh:libsshTechnical description
The RAND_bytes function in libssh before 0.6.3, when forking is enabled, does not properly reset the state of the OpenSSL pseudo-random number generator (PRNG), which causes the state to be shared between children processes and allows local users to obtain sensitive information by leveraging a pid collision.
Published: 3/14/2014, 3:55:05 PM
Last modified: 5/6/2026, 10:30:45 PM
References
- http://lists.opensuse.org/opensuse-updates/2014-03/msg00036.html
- http://lists.opensuse.org/opensuse-updates/2014-03/msg00040.html
- http://secunia.com/advisories/57407
- http://www.debian.org/security/2014/dsa-2879
- http://www.libssh.org/2014/03/04/libssh-0-6-3-security-release/
- http://www.openwall.com/lists/oss-security/2014/03/05/1
- http://www.ubuntu.com/usn/USN-2145-1
- https://bugzilla.redhat.com/show_bug.cgi?id=1072191