CVE-2024-6387
HIGH PRIORITYOpenSSH Server (sshd) Signal Handler Race Condition (regreSSHion)
Is OpenBSD OpenSSH affected by CVE-2024-6387?
CVE-2024-6387 affects OpenBSD OpenSSH but is not currently listed in the CISA Known Exploited Vulnerabilities catalog, so active exploitation is not confirmed by CISA. It is documented here as an on-demand NIST NVD record for stack matching and patch tracking.
Affected products published by NIST NVD (1 vulnerable CPE entry): openbsd openssh.
Published CPE version bounds mark releases below 9.8p1 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-123158Same productOpenBSD OpenSSH
OpenBSD OpenSSH Unexpected Status Code or Return Value Vulnerability
- CVE-2020-7247Same vendorOpenBSD OpenSMTPD
OpenSMTPD Remote Code Execution Vulnerability
- CVE-2022-2586Neighboring entryLinux Kernel
Linux Kernel Use-After-Free Vulnerability
- CVE-2024-20399Neighboring entryCisco NX-OS
Cisco NX-OS Command Injection Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
A signal handler race condition was found in OpenSSH's server (sshd), where a client does not authenticate within LoginGraceTime seconds (120 by default) and sshd's SIGALRM handler is called asynchronously, invoking functions that are not async-signal-safe such as syslog().
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
A signal handler race condition was found in OpenSSH's server (sshd), where a client does not authenticate within LoginGraceTime seconds (120 by default) and sshd's SIGALRM handler is called asynchronously, invoking functions that are not async-signal-safe such as syslog().
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
Not currently listed in the CISA KEV catalog. Active exploitation is not confirmed.
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of OpenSSH has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- SSH daemon surface (OpenBSD OpenSSH): inspect SSH authentication and session logs (`/var/log/auth.log`, `/var/log/secure`, `journalctl -u sshd`) alongside network metadata (`Zeek ssh.log`, `conn.log`, Suricata SSH signatures) for repeated pre-auth handshakes, unexpected authentication status returns, or anomalous session establishment on TCP :22.
- Audit SSH exposure (`ss -tulpn`) and enforce connection throttling (`MaxStartups`, `PerSourceMaxStartups`), key-based authentication, or private WireGuard tunnel access.
- Inventory all hosts running OpenBSD OpenSSH and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Not available
SCORING & VECTOR TELEMETRY
Score synchronized from the NIST NVD CVE 2.0 feed (NIST NVD or assigning CNA/ADP).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class: