Home / Red Hat / Red Hat Enterprise Linux 9 / CVE-2024-6387
CVE-2024-6387: is it exploited, and which versions of Red Hat Enterprise Linux 9 are affected and fixed?
CVE-2024-6387 is a signal Handler Race Condition vulnerability in Red Hat Enterprise Linux 9. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: OpenSSH from 8.5p1 through 9.7p1 and Red Hat OpenShift Container Platform 4 all versions (the record names no range) (CVE record by redhat). Fixed in 0:8.7p1-38.el9_4.1, 0:8.7p1-12.el9_0.1, 0:8.7p1-30.el9_2.4, 413.92.202407091321-0 and 2 more (CVE record by redhat). Severity: High (8.1, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 28, 2026, 18:35 UTC and NVD November 23, 2026, 16:08 UTC.
What is CVE-2024-6387?
Openssh: regresshion - race condition in ssh allows rce/dos
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.
From the CVE record by redhat, last updated November 23, 2026, 14:06 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OpenSSH | from 8.5p1 through 9.7p1 | ||
| Red Hat | Red Hat Enterprise Linux 9 openssh | all versions (default) | 0:8.7p1-38.el9_4.1 |
| Red Hat | Red Hat Enterprise Linux 9 openssh | all versions (default) | 0:8.7p1-38.el9_4.1 |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions openssh | all versions (default) | 0:8.7p1-12.el9_0.1 |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support openssh | all versions (default) | 0:8.7p1-30.el9_2.4 |
| Red Hat | Red Hat OpenShift Container Platform 4.13 openshift/ose-rhel-coreos-9 | all versions (default) | 413.92.202407091321-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.14 openshift/ose-rhel-coreos-9 | all versions (default) | 414.92.202407091253-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.15 openshift/ose-rhel-coreos-9 | all versions (default) | 415.92.202407091355-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.16 openshift/ose-rhel-coreos-9 | all versions (default) | 416.94.202407081958-0 |
| Red Hat | Red Hat Ceph Storage 5 openssh | not stated | |
| Red Hat | Red Hat Ceph Storage 6 openssh | not stated | |
| Red Hat | Red Hat Ceph Storage 7 openssh | not stated | |
| Red Hat | Red Hat Enterprise Linux 10 openssh | not stated | |
| Red Hat | Red Hat Enterprise Linux 6 openssh | not stated | |
| Red Hat | Red Hat Enterprise Linux 7 openssh | not stated | |
| Red Hat | Red Hat Enterprise Linux 8 openssh | not stated | |
| Red Hat | Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8 | all versions (the record names no range) |
As the CVE record by redhat states it, last updated November 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| sonicwall | sma 6200 firmware | all versions | operating system |
| sonicwall | sma 7200 firmware | all versions | operating system |
| arista | eos | from 4.32.0 through 4.32.1f | operating system |
| canonical | ubuntu linux | 23.10 | operating system |
| canonical | ubuntu linux | 24.04 | operating system |
| almalinux | almalinux | 9.0 | operating system |
| sonicwall | sma 6210 firmware | all versions | operating system |
| sonicwall | sma 7210 firmware | all versions | operating system |
| sonicwall | sma 8200v firmware | all versions | operating system |
| sonicwall | sra ex 7000 firmware | all versions | operating system |
| netapp | a1k firmware | all versions | operating system |
| netapp | a70 firmware | all versions | operating system |
| netapp | a90 firmware | all versions | operating system |
| netapp | a700s firmware | all versions | operating system |
| netapp | 8300 firmware | all versions | operating system |
| netapp | 8700 firmware | all versions | operating system |
| netapp | a400 firmware | all versions | operating system |
| netapp | c400 firmware | all versions | operating system |
| netapp | a250 firmware | all versions | operating system |
| netapp | 500f firmware | all versions | operating system |
| netapp | c250 firmware | all versions | operating system |
| netapp | a800 firmware | all versions | operating system |
| netapp | c800 firmware | all versions | operating system |
| netapp | a900 firmware | all versions | operating system |
| netapp | a9500 firmware | all versions | operating system |
NVD analysis (status Modified), last modified November 23, 2026, 15:17 UTC.
How severe is CVE-2024-6387?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | redhat |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-6387 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, July 2, 2024)
- EPSS
- 99.5% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-364 Signal Handler Race Condition
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Is there a workaround? (from the CVE record)
The below process can protect against a Remote Code Execution attack by disabling the LoginGraceTime parameter on Red Hat Enterprise Linux 9. However, the sshd server is still vulnerable to a Denial of Service if an attacker exhausts all the connections. 1) As root user, open the /etc/ssh/sshd_config 2) Add or edit the parameter configuration: ~~~ LoginGraceTime 0 ~~~ 3) Save and close the file 4) Restart the sshd daemon: ~~~ systemctl restart sshd.service ~~~ Setting LoginGraceTime to 0 disables the SSHD server's ability to drop connections if authentication is not completed within the specified timeout. If this mitigation is implemented, it is highly recommended to use a tool like 'fail2ban' alongside a firewall to monitor log files and manage connections appropriately. If any of the mitigations mentioned above is used, please note that the removal of LoginGraceTime parameter from sshd_config is not automatic when the updated package is installed.
Where are the vendor advisories and references?
- RHSA-2024:4312 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4340 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4389 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4469 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4474 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4479 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:4484 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-6387 vdb-entry, x_refsource_REDHAT
- RHBZ#2294604 issue-tracking, x_refsource_REDHAT
- https://santandersecurityresearch.github.io/blog/sshing_the_masses.html
- https://www.openssh.com/txt/release-9.8
- https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt
- https://www.vicarius.io/vsociety/posts/regresshion-an-openssh-regression-error-cve-2024-6387
- https://www.exploit-db.com/exploits/52269
- https://packetstorm.news/files/id/190587/
- http://www.openwall.com/lists/oss-security/2024/07/01/12 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/01/13 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/02/1 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/03/1 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/03/11 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/03/2 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/03/3 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/03/4 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/03/5 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/04/1 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/04/2 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/08/2 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/08/3 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/09/2 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/09/5 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/10/1 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/10/2 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/10/3 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/10/4 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/10/6 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/11/1 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/11/3 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/23/4 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/23/6 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/28/2 x_transferred
- http://www.openwall.com/lists/oss-security/2024/07/28/3 x_transferred
- https://archlinux.org/news/the-sshd-service-needs-to-be-restarted-after-upgrading-to-openssh-98p1/ x_transferred
- https://arstechnica.com/security/2024/07/regresshion-vulnerability-in-openssh-gives-attackers-root-on-linux/ x_transferred
- https://blog.qualys.com/vulnerabilities-threat-research/2024/07/01/regresshion-remote-unauthenticated-code-execution-vulnerability-in-openssh-server x_transferred
- https://explore.alas.aws.amazon.com/CVE-2024-6387.html x_transferred
- https://forum.vmssoftware.com/viewtopic.php?f=8&t=9132 x_transferred
- https://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2024-002.txt.asc x_transferred
- https://github.com/AlmaLinux/updates/issues/629 x_transferred
- https://github.com/Azure/AKS/issues/4379 x_transferred
- https://github.com/PowerShell/Win32-OpenSSH/discussions/2248 x_transferred
- https://github.com/PowerShell/Win32-OpenSSH/issues/2249 x_transferred
- https://github.com/microsoft/azurelinux/issues/9555 x_transferred
- https://github.com/openela-main/openssh/commit/e1f438970e5a337a17070a637c1b9e19697cad09 x_transferred
- https://github.com/oracle/oracle-linux/issues/149 x_transferred
- https://github.com/rapier1/hpn-ssh/issues/87 x_transferred
- https://github.com/zgzhang/cve-2024-6387-poc x_transferred
- https://lists.almalinux.org/archives/list/[email protected]/thread/23BF5BMGFVEVUI2WNVAGMLKT557EU7VY/ x_transferred
- https://lists.mindrot.org/pipermail/openssh-unix-announce/2024-July/000158.html x_transferred
- https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-July/041431.html x_transferred
- https://news.ycombinator.com/item?id=40843778 x_transferred
Who found and reported it?
- Red Hat would like to thank Qualys Threat Research Unit (TRU) (Qualys) for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 27, 2024
- Published
- July 1, 2024, 12:37 UTC
- CVE record updated
- November 23, 2026, 14:06 UTC by redhat
- NVD
- Modified, last modified November 23, 2026, 15:17 UTC
- Last checked
- CVE list November 28, 2026, 18:35 UTC; NVD November 23, 2026, 16:08 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat Enterprise Linux 9?
- Oct 3, 2023CVE-2023-4911 Red Hat Enterprise Linux 8: heap buffer overflow exploited
- Dec 3, 2026CVE-2026-119584 Red Hat Directory Server 11: memory leak
- Dec 3, 2026CVE-2026-118472 Red Hat Directory Server 11: NULL pointer dereference (crash)
- Dec 3, 2026CVE-2026-137818 Red Hat Enterprise Linux 10: denial of service (uncontrolled resource consumption)
- Dec 3, 2026CVE-2026-118469 Red Hat Directory Server 11: integer underflow
- Dec 2, 2026CVE-2026-142107 Red Hat Enterprise Linux 10: out-of-bounds write (memory corruption)
- Dec 2, 2026CVE-2026-142105 Red Hat Enterprise Linux 10: denial of service (resources allocated without limits)
- Dec 2, 2026CVE-2026-115220 Red Hat Enterprise Linux 10.2 Extended Update Support: link following (a symlink lets an attacker reach other files)
Every CVE in Red Hat Enterprise Linux 9
Questions about CVE-2024-6387
Is CVE-2024-6387 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 99.5% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Red Hat Enterprise Linux 9 are affected by CVE-2024-6387?
OpenSSH from 8.5p1 through 9.7p1 and Red Hat OpenShift Container Platform 4 all versions (the record names no range), per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2024-6387?
0:8.7p1-38.el9_4.1, 0:8.7p1-12.el9_0.1, 0:8.7p1-30.el9_2.4, 413.92.202407091321-0, 414.92.202407091253-0 and 415.92.202407091355-0, per the CVE record by redhat. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-6387?
High (8.1, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2024-6387?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.