# CVE-2024-6387: Openssh: regresshion - race condition in ssh allows rce/dos

- Severity: High 8.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 99.5%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 11 links below, marked "exploit"
- Published: 2024-07-01T12:37:25.431Z
- Modified: 2026-11-23T15:17:12.687Z
- Weaknesses: CWE-362, CWE-364
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- OpenSSH: from 8.5p1 up to 9.7p1 (not affected: from 0:8.7p1-38.el9_4.1 before *; from 0:8.7p1-12.el9_0.1 before *; from 0:8.7p1-30.el9_2.4 before *)
- openshift/ose-rhel-coreos-9: no versions given (not affected: from 413.92.202407091321-0 before *; from 414.92.202407091253-0 before *; from 415.92.202407091355-0 before *; from 416.94.202407081958-0 before *)
- openshift/ose-rhel-coreos-8: no versions given
- sonicwall sma_6200_firmware: no versions given
- sonicwall sma_7200_firmware: no versions given
- arista eos: from 4.32.0 up to 4.32.1f
- canonical ubuntu_linux: 23.10; 24.04; 22.04; 22.10; 23.04
- almalinux almalinux: 9.0
- sonicwall sma_6210_firmware: no versions given
- sonicwall sma_7210_firmware: no versions given
- sonicwall sma_8200v_firmware: no versions given
- sonicwall sra_ex_7000_firmware: no versions given
- netapp a1k_firmware: no versions given
- netapp a70_firmware: no versions given
- netapp a90_firmware: no versions given
- netapp a700s_firmware: no versions given
- netapp 8300_firmware: no versions given
- netapp 8700_firmware: no versions given
- netapp a400_firmware: no versions given
- netapp c400_firmware: no versions given
- netapp a250_firmware: no versions given
- netapp 500f_firmware: no versions given
- netapp c250_firmware: no versions given
- netapp a800_firmware: no versions given
- netapp c800_firmware: no versions given
- netapp a900_firmware: no versions given
- netapp a9500_firmware: no versions given
- netapp c190_firmware: no versions given
- netapp a150_firmware: no versions given
- netapp a220_firmware: no versions given
- netapp fas2720_firmware: no versions given
- netapp fas2750_firmware: no versions given
- netapp fas2820_firmware: no versions given
- netapp bootstrap_os: no versions given
- apple macos: from 12.0 before 12.7.6; from 13.0 before 13.6.8; from 14.0 before 14.6
- openbsd openssh: before 4.4; from 8.6 up to 9.8; 4.4; 8.5; 8.6
- redhat openshift_container_platform: 4.0
- redhat enterprise_linux: 9.0
- redhat enterprise_linux_eus: 9.4
- redhat enterprise_linux_for_arm_64: 9.0_aarch64
- redhat enterprise_linux_for_arm_64_eus: 9.4_aarch64
- redhat enterprise_linux_for_ibm_z_systems: 9.0_s390x
- redhat enterprise_linux_for_ibm_z_systems_eus: 9.4_s390x
- redhat enterprise_linux_for_power_little_endian: 9.0_ppc64le
- redhat enterprise_linux_for_power_little_endian_eus: 9.4_ppc64le
- redhat enterprise_linux_server_aus: 9.4
- suse linux_enterprise_micro: 6.0
- debian debian_linux: 12.0
- amazon amazon_linux: 2023.0
- netapp active_iq_unified_manager: no versions given
- netapp e-series_santricity_os_controller: from 11.0.0 up to 11.70.2
- netapp ontap: 9
- netapp ontap_select_deploy_administration_utility: no versions given
- netapp ontap_tools: 9; 10
- freebsd freebsd: 13.2; 13.3; 14.0; 14.1
- netbsd netbsd: up to 10.0.0

## Every score

- redhat: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://santandersecurityresearch.github.io/blog/sshing_the_masses.html> (exploit, third-party-advisory)
- <https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt> (exploit, third-party-advisory)
- <https://www.vicarius.io/vsociety/posts/regresshion-an-openssh-regression-error-cve-2024-6387> (exploit, third-party-advisory)
- <https://www.exploit-db.com/exploits/52269> (exploit)
- <https://packetstorm.news/files/id/190587/> (exploit, broken-link)
- <http://www.openwall.com/lists/oss-security/2024/07/03/11> (exploit, 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/09/5> (exploit, mailing-list)
- <http://www.openwall.com/lists/oss-security/2024/07/10/1> (exploit, mailing-list)
- <https://github.com/zgzhang/cve-2024-6387-poc> (exploit, third-party-advisory)
- <https://access.redhat.com/errata/RHSA-2024:4312> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:4340> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:4389> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:4469> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:4474> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:4479> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:4484> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-6387> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2294604> (issue-tracking, third-party-advisory)
- <https://www.openssh.com/txt/release-9.8> (release-notes, third-party-advisory)
- <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/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/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/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://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://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)
- <https://github.com/microsoft/azurelinux/issues/9555> (issue-tracking)
- <https://github.com/openela-main/openssh/commit/e1f438970e5a337a17070a637c1b9e19697cad09> (patch)
- <https://github.com/oracle/oracle-linux/issues/149> (issue-tracking)
- <https://github.com/rapier1/hpn-ssh/issues/87> (issue-tracking)
- <https://lists.almalinux.org/archives/list/announce@lists.almalinux.org/thread/23BF5BMGFVEVUI2WNVAGMLKT557EU7VY/> (third-party-advisory)
- <https://lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.html> (mailing-list, release-notes)
- <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)
- and 21 more: see the JSON

## Sources

- CVE List: [CVE-2024-6387](https://www.cve.org/CVERecord?id=CVE-2024-6387), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2024-6387](https://nvd.nist.gov/vuln/detail/CVE-2024-6387), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2024-6387 · Whole record: https://cve.day/CVE-2024-6387.json · Rebuilt by cve.day 2026-11-25T22:58:42.354Z
