# CVE-2024-6387: RedHat Openssh: CVE-2024-6387  Remote Code Execution Due To A Race Condition In Signal Handling

CVE-2024-6387 is fixed in 21 products on 2 platforms, first by ALAS2023-2024-649, released June 26, 2024. It is not reported as exploited. Patch Radar priority: Urgent.

- Web page: https://patchblox.com/security/cve/CVE-2024-6387
- Priority: Urgent
- CVSS: 8.1 (Critical)
- EPSS: 0.9951
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 26, 2024
- Weakness: Signal Handler Race Condition
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-6387

## Description

This is a vulnerability in open source code and Apple Software is among the affected projects. The

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| macOS | Monterey | 12.7.6 | [Monterey 12.7.6](https://patchblox.com/security/data/fix/macos/monterey-12.7.6.md) | Jul 29, 2024 |
| macOS | Sonoma | 14.6 | [Sonoma 14.6](https://patchblox.com/security/data/fix/macos/sonoma-14.6.md) | Jul 29, 2024 |
| macOS | Ventura | 13.6.8 | [Ventura 13.6.8](https://patchblox.com/security/data/fix/macos/ventura-13.6.8.md) | Jul 29, 2024 |
| Linux | openssh Debian 12.15 (bookworm) | 1:9.2p1-2+deb12u3 | [DSA-5724-1](https://patchblox.com/security/data/fix/linux/dsa-5724-1.md) | Jul 1, 2024 |
| Linux | openssh Debian 13.5 (trixie) | 1:9.7p1-7 | [DEBIAN-CVE-2024-6387](https://patchblox.com/security/data/fix/linux/debian-cve-2024-6387.md) | Jul 1, 2024 |
| Linux | openssh Debian 14 | 1:9.7p1-7 | [DEBIAN-CVE-2024-6387](https://patchblox.com/security/data/fix/linux/debian-cve-2024-6387.md) | Jul 1, 2024 |
| Linux | openssh RHEL 9 | 0:8.7p1-38.el9_4.1 | [RHSA-2024:4312](https://patchblox.com/security/data/fix/linux/rhsa-2024-4312.md) | Jul 3, 2024 |
| Linux | openssh almalinux 9 | 8.7p1-38.el9_4.1 | [ALSA-2024:4312](https://patchblox.com/security/data/fix/linux/alsa-2024-4312.md) | Jul 3, 2024 |
| Linux | openssh amzn 2023 | 8.7p1-8.amzn2023.0.11 | [ALAS2023-2024-649](https://patchblox.com/security/data/fix/linux/alas2023-2024-649.md) | Jun 26, 2024 |
| Linux | openssh ol 9 | 0:8.7p1-38.0.2.el9_4.1 | [ELSA-2024-4312](https://patchblox.com/security/data/fix/linux/elsa-2024-4312.md) | Jul 4, 2024 |
| Linux | openssh opensuse-leap 15.6 | 9.6p1-150600.6.3.1 | [SUSE-SU-2024:2275-2](https://patchblox.com/security/data/fix/linux/suse-su-2024-2275-2.md) | Jul 3, 2024 |
| Linux | openssh sles 15.6 | 9.6p1-150600.6.3.1 | [SUSE-SU-2024:2275-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2275-1.md) | Jul 3, 2024 |
| Linux | openssh-askpass RHEL 9 | 0:8.7p1-38.el9_4.1 | [RHSA-2024:4312](https://patchblox.com/security/data/fix/linux/rhsa-2024-4312.md) | Jul 3, 2024 |
| Linux | openssh-askpass almalinux 9 | 8.7p1-38.el9_4.1 | [ALSA-2024:4312](https://patchblox.com/security/data/fix/linux/alsa-2024-4312.md) | Jul 3, 2024 |
| Linux | openssh-askpass ol 9 | 0:8.7p1-38.0.2.el9_4.1 | [ELSA-2024-4312](https://patchblox.com/security/data/fix/linux/elsa-2024-4312.md) | Jul 4, 2024 |
| Linux | openssh-askpass-gnome opensuse-leap 15.6 | 9.6p1-150600.6.3.1 | [SUSE-SU-2024:2275-2](https://patchblox.com/security/data/fix/linux/suse-su-2024-2275-2.md) | Jul 3, 2024 |
| Linux | openssh-askpass-gnome sles 15.6 | 9.6p1-150600.6.3.1 | [SUSE-SU-2024:2275-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-2275-1.md) | Jul 3, 2024 |
| Linux | openssh-client Ubuntu 22.04.1 LTS (jammy) | 1:8.9p1-3ubuntu0.10 | [openssh-client 1:8.9p1-3ubuntu0.10](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-openssh-client-1-8.9p1-3ubuntu0.10.md) | Jun 30, 2024 |
| Linux | openssh-client Ubuntu 24.04.5 LTS (noble) | 1:9.6p1-3ubuntu13.3 | [openssh-client 1:9.6p1-3ubuntu13.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-openssh-client-1-9.6p1-3ubuntu13.3.md) | Jun 30, 2024 |
| Linux | openssh-clients RHEL 9 | 0:8.7p1-38.el9_4.1 | [RHSA-2024:4312](https://patchblox.com/security/data/fix/linux/rhsa-2024-4312.md) | Jul 3, 2024 |
| Linux | openssh-clients almalinux 9 | 8.7p1-38.el9_4.1 | [ALSA-2024:4312](https://patchblox.com/security/data/fix/linux/alsa-2024-4312.md) | Jul 3, 2024 |
| Linux | openssh-clients amzn 2023 | 8.7p1-8.amzn2023.0.11 | [ALAS2023-2024-649](https://patchblox.com/security/data/fix/linux/alas2023-2024-649.md) | Jun 26, 2024 |
| Linux | openssh-clients ol 9 | 0:8.7p1-38.0.2.el9_4.1 | [ELSA-2024-4312](https://patchblox.com/security/data/fix/linux/elsa-2024-4312.md) | Jul 4, 2024 |
| Linux | openssh-clients-debuginfo amzn 2023 | 8.7p1-8.amzn2023.0.11 | [ALAS2023-2024-649](https://patchblox.com/security/data/fix/linux/alas2023-2024-649.md) | Jun 26, 2024 |
| Linux | openssh-debuginfo amzn 2023 | 8.7p1-8.amzn2023.0.11 | [ALAS2023-2024-649](https://patchblox.com/security/data/fix/linux/alas2023-2024-649.md) | Jun 26, 2024 |
| Linux | openssh-debugsource amzn 2023 | 8.7p1-8.amzn2023.0.11 | [ALAS2023-2024-649](https://patchblox.com/security/data/fix/linux/alas2023-2024-649.md) | Jun 26, 2024 |
| Linux | openssh-keycat RHEL 9 | 0:8.7p1-38.el9_4.1 | [RHSA-2024:4312](https://patchblox.com/security/data/fix/linux/rhsa-2024-4312.md) | Jul 3, 2024 |
| Linux | openssh-keycat almalinux 9 | 8.7p1-38.el9_4.1 | [ALSA-2024:4312](https://patchblox.com/security/data/fix/linux/alsa-2024-4312.md) | Jul 3, 2024 |
| Linux | openssh-keycat amzn 2023 | 8.7p1-8.amzn2023.0.11 | [ALAS2023-2024-649](https://patchblox.com/security/data/fix/linux/alas2023-2024-649.md) | Jun 26, 2024 |
| Linux | openssh-keycat ol 9 | 0:8.7p1-38.0.2.el9_4.1 | [ELSA-2024-4312](https://patchblox.com/security/data/fix/linux/elsa-2024-4312.md) | Jul 4, 2024 |
| Linux | openssh-keycat-debuginfo amzn 2023 | 8.7p1-8.amzn2023.0.11 | [ALAS2023-2024-649](https://patchblox.com/security/data/fix/linux/alas2023-2024-649.md) | Jun 26, 2024 |
| Linux | openssh-server RHEL 9 | 0:8.7p1-38.el9_4.1 | [RHSA-2024:4312](https://patchblox.com/security/data/fix/linux/rhsa-2024-4312.md) | Jul 3, 2024 |
| Linux | openssh-server Ubuntu 22.04.1 LTS (jammy) | 1:8.9p1-3ubuntu0.10 | [openssh-server 1:8.9p1-3ubuntu0.10](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-openssh-server-1-8.9p1-3ubuntu0.10.md) | Jun 30, 2024 |
| Linux | openssh-server Ubuntu 24.04.5 LTS (noble) | 1:9.6p1-3ubuntu13.3 | [openssh-server 1:9.6p1-3ubuntu13.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-openssh-server-1-9.6p1-3ubuntu13.3.md) | Jun 30, 2024 |
| Linux | openssh-server almalinux 9 | 8.7p1-38.el9_4.1 | [ALSA-2024:4312](https://patchblox.com/security/data/fix/linux/alsa-2024-4312.md) | Jul 3, 2024 |
| Linux | openssh-server amzn 2023 | 8.7p1-8.amzn2023.0.11 | [ALAS2023-2024-649](https://patchblox.com/security/data/fix/linux/alas2023-2024-649.md) | Jun 26, 2024 |
| Linux | openssh-server ol 9 | 0:8.7p1-38.0.2.el9_4.1 | [ELSA-2024-4312](https://patchblox.com/security/data/fix/linux/elsa-2024-4312.md) | Jul 4, 2024 |
| Linux | openssh-server-debuginfo amzn 2023 | 8.7p1-8.amzn2023.0.11 | [ALAS2023-2024-649](https://patchblox.com/security/data/fix/linux/alas2023-2024-649.md) | Jun 26, 2024 |
| Linux | openssh-sftp-server Ubuntu 22.04.1 LTS (jammy) | 1:8.9p1-3ubuntu0.10 | [openssh-sftp-server 1:8.9p1-3ubuntu0.10](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-openssh-sftp-server-1-8.9p1-3ubuntu0.10.md) | Jun 30, 2024 |
| Linux | openssh-sftp-server Ubuntu 24.04.5 LTS (noble) | 1:9.6p1-3ubuntu13.3 | [openssh-sftp-server 1:9.6p1-3ubuntu13.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-openssh-sftp-server-1-9.6p1-3ubuntu13.3.md) | Jun 30, 2024 |
| Linux | openssh-tests Ubuntu 22.04.1 LTS (jammy) | 1:8.9p1-3ubuntu0.10 | [openssh-tests 1:8.9p1-3ubuntu0.10](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-openssh-tests-1-8.9p1-3ubuntu0.10.md) | Jun 30, 2024 |
| Linux | openssh-tests Ubuntu 24.04.5 LTS (noble) | 1:9.6p1-3ubuntu13.3 | [openssh-tests 1:9.6p1-3ubuntu13.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-openssh-tests-1-9.6p1-3ubuntu13.3.md) | Jun 30, 2024 |
| Linux | pam_ssh_agent_auth RHEL 9 | 0:0.10.4-5.38.el9_4.1 | [RHSA-2024:4312](https://patchblox.com/security/data/fix/linux/rhsa-2024-4312.md) | Jul 3, 2024 |
| Linux | pam_ssh_agent_auth almalinux 9 | 0.10.4-5.38.el9_4.1 | [ALSA-2024:4312](https://patchblox.com/security/data/fix/linux/alsa-2024-4312.md) | Jul 3, 2024 |
| Linux | pam_ssh_agent_auth amzn 2023 | 0.10.4-4.8.amzn2023.0.11 | [ALAS2023-2024-649](https://patchblox.com/security/data/fix/linux/alas2023-2024-649.md) | Jun 26, 2024 |
| Linux | pam_ssh_agent_auth ol 9 | 0:0.10.4-5.38.0.2.el9_4.1 | [ELSA-2024-4312](https://patchblox.com/security/data/fix/linux/elsa-2024-4312.md) | Jul 4, 2024 |
| Linux | pam_ssh_agent_auth-debuginfo amzn 2023 | 0.10.4-4.8.amzn2023.0.11 | [ALAS2023-2024-649](https://patchblox.com/security/data/fix/linux/alas2023-2024-649.md) | Jun 26, 2024 |
| Linux | ssh Ubuntu 22.04.1 LTS (jammy) | 1:8.9p1-3ubuntu0.10 | [ssh 1:8.9p1-3ubuntu0.10](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ssh-1-8.9p1-3ubuntu0.10.md) | Jun 30, 2024 |
| Linux | ssh Ubuntu 24.04.5 LTS (noble) | 1:9.6p1-3ubuntu13.3 | [ssh 1:9.6p1-3ubuntu13.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ssh-1-9.6p1-3ubuntu13.3.md) | Jun 30, 2024 |
| Linux | ssh-askpass-gnome Ubuntu 22.04.1 LTS (jammy) | 1:8.9p1-3ubuntu0.10 | [ssh-askpass-gnome 1:8.9p1-3ubuntu0.10](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ssh-askpass-gnome-1-8.9p1-3ubuntu0.10.md) | Jun 30, 2024 |
| Linux | ssh-askpass-gnome Ubuntu 24.04.5 LTS (noble) | 1:9.6p1-3ubuntu13.3 | [ssh-askpass-gnome 1:9.6p1-3ubuntu13.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ssh-askpass-gnome-1-9.6p1-3ubuntu13.3.md) | Jun 30, 2024 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
