The RAND_bytes function in libssh before 0.6.3, when forking is enabled, does not…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · None · None
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 12
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* | up to 0.6.2 | Vulnerable | libssh |
| cpe:2.3:a:libssh:libssh:0.4.7:*:*:*:*:*:*:* | 0.4.7 | Vulnerable | libssh |
| cpe:2.3:a:libssh:libssh:0.4.8:*:*:*:*:*:*:* | 0.4.8 | Vulnerable | libssh |
| cpe:2.3:a:libssh:libssh:0.5.0:*:*:*:*:*:*:* | 0.5.0 | Vulnerable | libssh |
| cpe:2.3:a:libssh:libssh:0.5.0:rc1:*:*:*:*:*:* | 0.5.0 rc1 | Vulnerable | libssh |
| cpe:2.3:a:libssh:libssh:0.5.1:*:*:*:*:*:*:* | 0.5.1 | Vulnerable | libssh |
| cpe:2.3:a:libssh:libssh:0.5.2:*:*:*:*:*:*:* | 0.5.2 | Vulnerable | libssh |
| cpe:2.3:a:libssh:libssh:0.5.3:*:*:*:*:*:*:* | 0.5.3 | Vulnerable | libssh |
| cpe:2.3:a:libssh:libssh:0.5.4:*:*:*:*:*:*:* | 0.5.4 | Vulnerable | libssh |
| cpe:2.3:a:libssh:libssh:0.5.5:*:*:*:*:*:*:* | 0.5.5 | Vulnerable | libssh |
- cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* Versions up to 0.6.2 Vulnerable ·libssh
- cpe:2.3:a:libssh:libssh:0.4.7:*:*:*:*:*:*:* Versions 0.4.7 Vulnerable ·libssh
- cpe:2.3:a:libssh:libssh:0.4.8:*:*:*:*:*:*:* Versions 0.4.8 Vulnerable ·libssh
- cpe:2.3:a:libssh:libssh:0.5.0:*:*:*:*:*:*:* Versions 0.5.0 Vulnerable ·libssh
- cpe:2.3:a:libssh:libssh:0.5.0:rc1:*:*:*:*:*:* Versions 0.5.0 rc1 Vulnerable ·libssh
- cpe:2.3:a:libssh:libssh:0.5.1:*:*:*:*:*:*:* Versions 0.5.1 Vulnerable ·libssh
- cpe:2.3:a:libssh:libssh:0.5.2:*:*:*:*:*:*:* Versions 0.5.2 Vulnerable ·libssh
- cpe:2.3:a:libssh:libssh:0.5.3:*:*:*:*:*:*:* Versions 0.5.3 Vulnerable ·libssh
- cpe:2.3:a:libssh:libssh:0.5.4:*:*:*:*:*:*:* Versions 0.5.4 Vulnerable ·libssh
- cpe:2.3:a:libssh:libssh:0.5.5:*:*:*:*:*:*:* Versions 0.5.5 Vulnerable ·libssh
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2014-0017
- 2026-10-03 Alias added: GHSA-mw96-qp3x-6qgr
References
More Libssh vulnerabilities
- TI-2018-07745 Improper authentication in [UNKNOWN] libssh CVSS 3.0CRITICAL 9.1
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2012-03902 Multiple integer overflows in libssh before 0.5.3 allow remote attackers to cause a… CVSS 2.0HIGH 7.5
- TI-2019-11093 OS command injection in Red Hat libssh CVSS 3.1HIGH 8.8
- TI-2026-00732 Libssh: libssh: denial of service via zero-length input in ssh_get_hexa() CVSS 3.1HIGH 8.2
- TI-2012-03900 Multiple buffer overflows in libssh before 0.5.3 allow remote attackers to cause a denial… CVSS 2.0HIGH 7.5
Sources
- CVE-2014-0017 · CVE Program
- CVE-2014-0017 · NVD
- FIRST EPSS
- GHSA-mw96-qp3x-6qgr · GitHub Advisory Database · CC BY 4.0
- CVE-2014-0017 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences