CVE-2017-15906
No exploitation reported by the sources we read.
- Published2017-10-26
- Fixed in7.6
- WeaknessCWE-732
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
The process_open function in sftp-server.c in OpenSSH before 7.6 does not properly prevent write operations in readonly mode, which allows attackers to create zero-length files.
Timeline
dates in UTC- 2017-10-2603:29CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.6 | < 7.6 | 7.6 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.7+ | ≥ 9.7 | no fix published | NVD |
| 9.6 | = 9.6 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.x | ≥ 6.0, ≤ 6.2 | no fix published | NVD |
| 9.7+ | ≥ 9.7 | no fix published | NVD |
18 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- opensshUbuntu:18.04:LTSall versions · fixed in 1:7.6p1-4
- opensshUbuntu:16.04:LTSall versions · fixed in 1:7.2p2-4ubuntu2.4
- opensshUbuntu:14.04:LTSall versions · fixed in 1:6.6p1-2ubuntu2.10
- opensshSUSE:Linux Enterprise Server for SAP Applications 12 SP3all versions · fixed in 7.2p2-74.11.1
- opensshSUSE:Linux Enterprise Server for SAP Applications 12 SP2all versions · fixed in 7.2p2-74.11.1
- opensshSUSE:Linux Enterprise Server for SAP Applications 12 SP1all versions · fixed in 6.6p1-54.15.2
- opensshSUSE:Linux Enterprise Server for SAP Applications 11 SP4all versions · fixed in 6.6p1-36.3.1and 1 other package
- opensshSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2all versions · fixed in 7.2p2-74.11.1
57 more package ranges on OSV.dev
Vendor advisories
openssh: Improper write operations in readonly mode allow for zero-length file creation
Red Hat Security Advisory: openssh security, bug fix, and enhancement update
Fix
- Update OpenSSH to 7.6
- Vendor fix Red Hat Product Security RHSA-2018:0980 · 129 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, the OpenSSH server daemon (sshd) will be restarted automatically.
Advisories and patches
- www.openssh.comRelease Notes · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-17
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-05-28
- CISA-ADPCVSS 3.15.32026-05-28
- NVDCVSS 3.15.3read 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- CISA-ADPweakness (CWE)CWE-7322026-05-28
- NVDweakness (CWE)CWE-732read 2026-10-23
- FIRST EPSSEPSS score3.4 %2026-11-16
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2017-7325same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-543w-q592-87phsame flawGitHub Advisory Database · CC-BY-4.0
- DLA-1500-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2017-0483advisory covering several CVEsMageia · LicenseRef-unstated
- MGASA-2018-0006advisory covering several CVEsMageia · LicenseRef-unstated
- RHSA-2018:0980advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2017:3230-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2275-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2685-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2719-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:3540-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-3538-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Published
- 2017-10-26
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-543w-q592-87ph
Frequently asked questions
What is CVE-2017-15906?
Is CVE-2017-15906 actively exploited?
What is the CVSS score for CVE-2017-15906?
Running OpenSSH? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-543w-q592-87ph
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0