A security regression (CVE-2006-5051) was discovered in OpenSSH's server (sshd). There is a race condition which can lead sshd to handle some signals in an unsafe manner. An unauthenticated, remote attacker may be able to trigger it by failing to authenticate within a set time period.
Fix
Public exploits 98
- OpenSSH server (sshd) 9.8p1 - Race Condition (remote · linux) Exploit-DB · 2025-04-22
- 0x4D31/cve-2024-6387_hassh PoC on GitHub
- 4lxprime/regreSSHive PoC on GitHub
- 7etsuo/cve-2024-6387-poc PoC on GitHub
- ACHUX21/checker-CVE-2024-6387 PoC on GitHub
- AiGptCode/ssh_exploiter_CVE-2024-6387 PoC on GitHub
- Ap0dexMe0/CVE-2024-6387 PoC on GitHub
- BrandonLynch2402/cve-2024-6387-nuclei-template PoC on GitHub
- CiderAndWhisky/regression-scanner PoC on GitHub
- CognisysGroup/CVE-2024-6387-Checker PoC on GitHub
- DimaMend/cve-2024-6387-poc PoC on GitHub
- Doux-x/CVE-2024-6387-analysis PoC on GitHub
- FerasAlrimali/CVE-2024-6387-POC PoC on GitHub
- Karmakstylez/CVE-2024-6387 PoC on GitHub
- MrR0b0t19/CVE-2024-6387-Exploit-POC PoC on GitHub
- Mufti22/CVE-2024-6387-checkher PoC on GitHub
- OHHDamnBRO/Noregressh PoC on GitHub
- P4x1s/CVE-2024-6387 PoC on GitHub
- PrincipalAnthony/CVE-2024-6387-Updated-x64bit PoC on GitHub
- R4Tw1z/CVE-2024-6387 PoC on GitHub
- and 78 more
Each line links to the index that lists it, never to exploit code. Exploit-DB's "verified" and a Metasploit rank of good or better count as verified; a PoC-in-GitHub entry is a repository's claim.
Patch, vendor advisory and mitigation references on NVD 4
- http://www.openwall.com/lists/oss-security/2024/07/03/3 Mailing List, Patch
- https://github.com/openela-main/openssh/commit/e1f438970e5a337a17070a637c1b9e19697cad09 Patch
- https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041431.html Mailing List, Patch
- https://news.ycombinator.com/item?id=40843778 Issue Tracking, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
In the news 1
Change history 1
- First seenCVSS 8.1 · sonicwall, arista, canonicalNVD modified 2026-10-15 03:17
Affected (CPE criteria) 89
cpe:2.3:o:sonicwall:sma_6200_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:sonicwall:sma_7200_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:arista:eos:*:*:*:*:*:*:*:*cpe:2.3:o:canonical:ubuntu_linux:23.10:*:*:*:*:*:*:*cpe:2.3:o:canonical:ubuntu_linux:24.04:*:*:*:lts:*:*:*cpe:2.3:o:almalinux:almalinux:9.0:-:*:*:*:*:*:*cpe:2.3:o:sonicwall:sma_6210_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:sonicwall:sma_7210_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:sonicwall:sma_8200v_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:sonicwall:sra_ex_7000_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:a1k_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:a70_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:a90_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:a700s_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:8300_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:8700_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:a400_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:c400_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:a250_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:500f_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:c250_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:a800_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:c800_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:a900_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:a9500_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:c190_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:a150_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:a220_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:fas2720_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:fas2750_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:fas2820_firmware:-:*:*:*:*:*:*:*cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:*cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*cpe:2.3:a:openbsd:openssh:4.4:-:*:*:*:*:*:*cpe:2.3:a:openbsd:openssh:8.5:p1:*:*:*:*:*:*cpe:2.3:a:openbsd:openssh:8.6:-:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_eus:9.4:*:*:*:*:*:*:*- and 49 more
References 93
- https://access.redhat.com/errata/RHSA-2024:4312 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:4340 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:4389 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:4469 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:4474 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:4479 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:4484 Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2024-6387 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2294604 Third Party Advisory
- https://santandersecurityresearch.github.io/blog/sshing_the_masses.html Exploit, Third Party Advisory
- https://www.openssh.com/txt/release-9.8 Release Notes, Third Party Advisory
- https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt Exploit, Third Party Advisory
- http://seclists.org/fulldisclosure/2024/Jul/18 Mailing List
- http://seclists.org/fulldisclosure/2024/Jul/19 Mailing List
- http://seclists.org/fulldisclosure/2024/Jul/20 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/01/12 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/01/13 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/02/1 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/03/1 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/03/11 Exploit, Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/03/2 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/03/3 Mailing List, Patch
- http://www.openwall.com/lists/oss-security/2024/07/03/4 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/03/5 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/04/1 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/04/2 Exploit, Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/08/2 Exploit, Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/08/3 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/09/2 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/09/5 Exploit, Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/10/1 Exploit, Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/10/2 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/10/3 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/10/4 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/10/6 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/11/1 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/11/3 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/23/4 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/23/6 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/28/2 Mailing List
- http://www.openwall.com/lists/oss-security/2024/07/28/3 Mailing List
- https://access.redhat.com/errata/RHSA-2024:4312 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:4340 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:4389 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:4469 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:4474 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:4479 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:4484 Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2024-6387 Third Party Advisory
- https://archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/ Third Party Advisory
- https://arstechnica.com/security/2024/07/regresshion-vulnerability-in-openssh-gives-attackers-root-on-linux/ Press/Media Coverage, Third Party Advisory
- https://blog.qualys.com/vulnerabilities-threat-research/2024/07/01/regresshion-remote-unauthenticated-code-execution-vulnerability-in-openssh-server Press/Media Coverage, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2294604 Third Party Advisory
- https://explore.alas.aws.amazon.com/CVE-2024-6387.html Third Party Advisory
- https://forum.vmssoftware.com/viewtopic.php?f=8&t=9132 Issue Tracking
- https://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2024-002.txt.asc Release Notes
- https://github.com/AlmaLinux/updates/issues/629 Issue Tracking
- https://github.com/Azure/AKS/issues/4379 Issue Tracking
- https://github.com/PowerShell/Win32-OpenSSH/discussions/2248 Issue Tracking
- https://github.com/PowerShell/Win32-OpenSSH/issues/2249 Issue Tracking