CVE-2024-6387: OpenSSH · Signal Handler Race Condition
Affects OpenSSHSource GCVE Database
Mentioned vulnerabilities
Public exploit available (Exploit-DB) · CVSS 8.1 High.
Data as of 6 Nov 2026, 21:51 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 8.1 |
|---|
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 1 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
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
Timeline
CVE ID reserved
by Red Hat, Inc.
, 4 days before disclosure
CVE published
on cve.org
, t = 0
First Exploit-DB entry (opens in a new tab)
OpenSSH server (sshd) 9.8p1 - Race Condition
, 295 days after disclosure
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 6 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| OpenSSH | Affected
| Fixed in– |
AI-suggested
A security update fixing this vulnerability is available from Red Hat and other OpenSSH maintainers. Users should apply the official patches promptly. Refer to the Red Hat advisory RHSA-2024:4312 and the linked update instructions at https://access.redhat.com/articles/11258. Since this is a security regression, upgrading to the fixed OpenSSH version or applying vendor-provided patches is the recommended mitigation.
Description
CVE-2024-6387 is a race condition vulnerability in OpenSSH server (sshd) signal handling, reintroducing a security regression from CVE-2006-5051. An unauthenticated remote attacker may trigger unsafe signal handling by failing to authenticate within a set time. This can lead to potential remote code execution. The issue affects OpenSSH version 8.5p1. A security update is available from Red Hat and other vendors to address this flaw.
Reports on CVE-2024-6387
References
- access.redhat.com/errata/RHSA-2024:4312 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:4340 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:4389 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:4469 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:4474 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:4479 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:4484 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2024-6387 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2294604 (opens in a new tab)
- santandersecurityresearch.github.io/blog/sshing_the_masses.html (opens in a new tab)
- openssh.com/txt/release-9.8 (opens in a new tab)
- qualys.com/2024/07/01/cve-2024-6387/regresshion.txt (opens in a new tab)
- vicarius.io/vsociety/posts/regresshion-an-openssh-regression-error-cve-2024-6387 (opens in a new tab)
- exploit-db.com/exploits/52269 (opens in a new tab)
- packetstorm.news/files/id/190587/ (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/01/12 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/01/13 (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/1 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/03/11 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/03/2 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/03/3 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/03/4 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/03/5 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/04/1 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/04/2 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/08/2 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/08/3 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/09/2 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/09/5 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/10/1 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/10/2 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/10/3 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/10/4 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/10/6 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/11/1 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/11/3 (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/2 (opens in a new tab)
- openwall.com/lists/oss-security/2024/07/28/3 (opens in a new tab)
- archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/ (opens in a new tab)
- arstechnica.com/security/2024/07/regresshion-vulnerability-in-openssh-gives-attackers-root-on-linux/ (opens in a new tab)
- blog.qualys.com/vulnerabilities-threat-research/2024/07/01/regresshion-remote-unauthenticated-code-execution-vulnerability-in-openssh-server (opens in a new tab)
- explore.alas.aws.amazon.com/CVE-2024-6387.html (opens in a new tab)
- forum.vmssoftware.com/viewtopic.php?f=8&t=9132 (opens in a new tab)
- ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2024-002.txt.asc (opens in a new tab)
- github.com/AlmaLinux/updates/issues/629 (opens in a new tab)
- github.com/Azure/AKS/issues/4379 (opens in a new tab)
- github.com/PowerShell/Win32-OpenSSH/discussions/2248 (opens in a new tab)
- github.com/PowerShell/Win32-OpenSSH/issues/2249 (opens in a new tab)
- github.com/microsoft/azurelinux/issues/9555 (opens in a new tab)
- github.com/openela-main/openssh/commit/e1f438970e5a337a17070a637c1b9e19697cad09 (opens in a new tab)
- github.com/oracle/oracle-linux/issues/149 (opens in a new tab)
- github.com/rapier1/hpn-ssh/issues/87 (opens in a new tab)
- github.com/zgzhang/cve-2024-6387-poc (opens in a new tab)
- lists.almalinux.org/archives/list/announce@lists.almalinux.org/thread/23BF5BMGFVEVUI2WNVAGMLKT557EU7VY/ (opens in a new tab)
- lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.html (opens in a new tab)
- lists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041431.html (opens in a new tab)
- news.ycombinator.com/item?id=40843778 (opens in a new tab)
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0010 (opens in a new tab)
- security-tracker.debian.org/tracker/CVE-2024-6387 (opens in a new tab)
- security.netapp.com/advisory/ntap-20240701-0001/ (opens in a new tab)
- sig-security.rocky.page/issues/CVE-2024-6387/ (opens in a new tab)
- stackdiary.com/openssh-race-condition-in-sshd-allows-remote-code-execution/ (opens in a new tab)
- ubuntu.com/security/CVE-2024-6387 (opens in a new tab)
- ubuntu.com/security/notices/USN-6859-1 (opens in a new tab)
- akamai.com/blog/security-research/2024-openssh-vulnerability-regression-what-to-know-and-do (opens in a new tab)
- arista.com/en/support/advisories-notices/security-advisory/19904-security-advisory-0100 (opens in a new tab)
- freebsd.org/security/advisories/FreeBSD-SA-24:04.openssh.asc (opens in a new tab)
- splunk.com/en_us/blog/security/cve-2024-6387-regresshion-vulnerability.html (opens in a new tab)
- suse.com/security/cve/CVE-2024-6387.html (opens in a new tab)
- theregister.com/2024/07/01/regresshion_openssh/ (opens in a new tab)
- support.apple.com/kb/HT214119 (opens in a new tab)
- support.apple.com/kb/HT214118 (opens in a new tab)
- support.apple.com/kb/HT214120 (opens in a new tab)
- seclists.org/fulldisclosure/2024/Jul/20 (opens in a new tab)
- seclists.org/fulldisclosure/2024/Jul/18 (opens in a new tab)
- seclists.org/fulldisclosure/2024/Jul/19 (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-446545.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-082556.html (opens in a new tab)