CVE-2024-6387: Openssh: regresshion - race condition in ssh allows rce/dos
Vulnerability summary
CVE-2024-6387 is a high (CVSS 8.1) Signal Handler Race Condition vulnerability in almalinux. EPSS estimates a 99.51% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 9 public exploits are recorded.
Public exploit (exploit-database, 22-04-2025)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 01-07-2024PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · AlpineEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
99.51%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 99.51% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
9 foundExploit Reference (santandersecurityresearch.github.io)
Maturity: unknown
Exploit Reference (qualys.com)
Maturity: unknown
Exploit Reference (vicarius.io)
Maturity: unknown
Show all 9 exploits
Exploit Reference (openwall.com)
Maturity: unknown
Exploit Reference (openwall.com)
Maturity: unknown
Exploit Reference (openwall.com)
Maturity: unknown
Exploit Reference (openwall.com)
Maturity: unknown
Exploit Reference (openwall.com)
Maturity: unknown
OpenSSH server (sshd) 9.8p1 - Race Condition
Maturity: poc
Weaknesses
CWE · root cause- CWE-364Signal Handler Race ConditionThe product uses a signal handler that introduces a race condition.
- CWE-362Concurrent Execution using Shared Resource with Improper SynchronizationThe product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat24 products
- enterprise_linux9.0
- enterprise_linux_eus9.4
- enterprise_linux_for_arm_649.0_aarch64
- enterprise_linux_for_arm_64_eus9.4_aarch64
- enterprise_linux_for_ibm_z_systems9.0_s390x
Sonicwall6 products
Opensuse3 products
- openssh-askpass-gnome&distro=openSUSE Leap 15.6< 9.6p1-150600.6.3.1
- openssh&distro=openSUSE Leap 15.6< 9.6p1-150600.6.3.1
- openssh&distro=openSUSE Tumbleweed< 9.6p1-10.1
Suse3 products
- openssh-askpass-gnome&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP6< 9.6p1-150600.6.3.1
- openssh&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6< 9.6p1-150600.6.3.1
- linux_enterprise_micro6.0
Debian2 products
- openssh< 1:9.2p1-2+deb12u3 | < 1:9.7p1-7
- debian_linux12.0
Almalinux1 product
- almalinux9.0
Alpine1 product
- openssh≥ 8.6, < 9.1_p1-r6 | ≥ 8.6, < 9.3_p2-r2 | ≥ 8.6, < 9.6_p1-r1 | ≥ 8.6, < 9.7_p1-r4 | ≥ 8.6, < 9.8_p1-r0
Amazon1 product
- amazon_linux2023.0
Apple1 product
- macos≥ 12.0, < 12.7.6 | ≥ 13.0, < 13.6.8 | ≥ 14.0, < 14.6
Arista1 product
- eos≥ 4.32.0, ≤ 4.32.1f
Canonical1 product
- ubuntu_linuxEOL23.10 | 24.04 | 22.04 | 22.10 | 23.04
Freebsd1 product
- freebsdEOL13.2 | 13.2:p1 | 13.2:p10 | 13.2:p11 | 13.2:p2 | 13.2:p3 | 13.2:p4 | 13.2:p5 | 13.2:p6 | 13.2:p7 | 13.2:p8 | 13.2:p9 | 13.3 | 13.3:p1 | 13.3:p2 | 13.3:p3 | 14.0 | 14.0:beta5 | 14.0:p1 | 14.0:p2 | 14.0:p3 | 14.0:p4 | 14.0:p5 | 14.0:p6 | 14.0:p7 | 14.0:rc3 | 14.0:rc4-p1 | 14.1 | 14.1:p1
Mageia1 product
- openssh< 9.3p1-2.2.mga9
Netbsd1 product
- netbsd≤ 10.0.0
Openbsd1 product
- openssh< 4.4 | ≥ 8.6, ≤ 9.8 | 4.4 | 8.5:p1 | 8.6
Ubuntu1 product
- openssh< 1:8.9p1-3ubuntu0.10 | < 1:9.6p1-3ubuntu13.3
17 vendors · 76 products
References
97 links- access.redhat.com/errata/RHSA-2024:4312Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2024:4340Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2024:4389Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2294604Issue TrackingX Refsource REDHATREPORTThird Party Advisory
Show all 97 references
- www.vicarius.io/vsociety/posts/regresshion-an-openssh-regression-error-cve-2024-6387ExploitThird Party Advisory
- packetstorm.news/files/id/190587/Broken Link
- archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/X TransferredThird Party Advisory
- arstechnica.com/security/2024/07/regresshion-vulnerability-in-openssh-gives-attackers-root-on-linux/X TransferredPress/Media CoverageThird Party Advisory
- blog.qualys.com/vulnerabilities-threat-research/…X TransferredPress/Media CoverageThird Party Advisory
- lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.htmlX TransferredMailing ListRelease Notes
- stackdiary.com/openssh-race-condition-in-sshd-allows-remote-code-execution/X TransferredPress/Media CoverageThird Party Advisory
- www.akamai.com/blog/security-research/2024-openssh-vulnerability-regression-what-to-know-and-doX TransferredThird Party Advisory
- www.arista.com/en/support/advisories-notices/security-advisory/19904-security-advisory-0100X TransferredThird Party Advisory
- www.splunk.com/en_us/blog/security/cve-2024-6387-regresshion-vulnerability.htmlX TransferredThird Party Advisory
- www.theregister.com/2024/07/01/regresshion_openssh/X TransferredPress/Media CoverageThird Party Advisory