CVE-2020-12062: openbsd openssh Improper Input Validation
Vulnerability summary
CVE-2020-12062 is a high (CVSS 7.5) Improper Input Validation vulnerability in openbsd openssh. EPSS estimates a 2.23% chance of exploitation in the next 30 days, higher than 83.3% of scored vulnerabilities.
Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 01-06-2020PublishedVulnerability first disclosed.
- 14-10-2026Last modifiedVulnerability information updated.
Description
The scp client in OpenSSH 8.2 incorrectly sends duplicate responses to the server upon a utimes system call failure, which allows a malicious unprivileged user on the remote server to overwrite arbitrary files in the client's download directory by creating a crafted subdirectory anywhere on the remote server. The victim must use the command scp -rp to download a file hierarchy containing, anywhere inside, this crafted subdirectory. NOTE: the vendor points out that "this attack can achieve no more than a hostile peer is already able to achieve within the scp protocol" and "utimes does not fail under normal circumstances.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
2.23%
Chance of exploitation in the next 30 days
Percentile
83%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.23% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu2 products
- opensshAll versions (No fix recorded)
- openssh-ssh1All versions (No fix recorded)
Debian1 product
- openssh< 1:8.3p1-1
Openbsd1 product
- openssh8.2
3 vendors · 4 products
References
8 links- www.openwall.com/lists/oss-security/2020/05/27/1X Refsource MISCREPORTMailing ListRelease NotesThird Party Advisory
- github.com/openssh/openssh-portable/commit/955854cafca88e0cdcd3d09ca1ad4ada465364a1X Refsource MISCPatchThird Party Advisory
- github.com/openssh/openssh-portable/commit/aad87b88fc2536b1ea023213729aaf4eaabe1894X Refsource MISCThird Party Advisory