CVE-2024-39894: OpenSSH · Time-of-check Time-of-use (TOCTOU) Race Condition
Source CVE Database V5
Not known to be exploited · CVSS 7.5 High · fixed in 9.8 : patch affected systems soon.
Data as of 26 Oct 2026, 12:54 UTC
- EPSS
- 1.6% chance of exploitation in 30 days – higher than 76% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 9.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 2 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
If you cannot patch yet, consider minimizing exposure of affected OpenSSH versions and monitor for vendor updates. Avoid relying solely on echo-off password entry mechanisms in affected versions for sensitive authentication.
Description
OpenSSH versions 9.5 through 9.7 prior to 9.8 contain a timing attack vulnerability related to echo-off password entry, such as during su and sudo commands. This issue arises from an ObscureKeystrokeTiming logic error, potentially allowing attackers to infer sensitive keystroke information through timing analysis. The vulnerability is classified as high severity with a CVSS score of 7.5.
References
- openssh.com/txt/release-9.8 (opens in a new tab)
- lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.html (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/02/1 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/03/6 (opens in a new tab)
- security.netapp.com/advisory/ntap-20240712-0004/ (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/23/4 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/23/6 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/28/3 (opens in a new tab)
- crzphil.github.io/posts/ssh-obfuscation-bypass/ (opens in a new tab)
- news.ycombinator.com/item?id=41508530 (opens in a new tab)
- freebsd.org/security/advisories/FreeBSD-SA-25:01.openssh.asc (opens in a new tab)
- seclists.org/fulldisclosure/2024/Sep/33 (opens in a new tab)