On July 1, 2024, Qualys’s Threat Research Unit disclosed RegreSSHion, a signal-handler race condition in OpenSSH’s server component, sshd. The flaw could enable unauthenticated remote code execution and potential root access on glibc-based Linux systems. It affected upstream OpenSSH versions 8.5p1, released March 3, 2021, through 9.7p1, released March 11, 2024; Qualys said it identified more than 14 million public-facing OpenSSH instances that were potentially vulnerable. Windows and OpenBSD systems were not affected.
The vulnerability was a regression of CVE-2006-5051, reintroduced in OpenSSH 8.5p1 after a directive that converted unsafe signal-handler behavior into a safe _exit(1) call was accidentally removed. When an attacker failed authentication until the default 120-second LoginGraceTime expired, SIGALRM could invoke unsafe memory-management and logging functions, creating an exploitable race. Qualys reported notifying OpenSSH developers on May 19, 2024, and OpenWall on June 20; OpenSSH released 9.8/9.8p1 on July 1. Distributions may have backported fixes, so package version numbers alone did not establish exposure.