OpenSSH testing finds incorrect password acceptance with musl and no PAM

The author of the sshole investigation reports that an OpenSSH build using musl without PAM accepted some login attempts it should have rejected. The author says roughly 17,600 unusual authentication cases were tested across builds using glibc or musl, with and without PAM and shadow support. The musl configuration without PAM was the one that produced unexpected acceptances.
The reported interaction centers on the * marker, which is used in password records to prevent any password from matching. Since August 2012, musl has also returned * when crypt() fails. Its subsequently added sha512crypt implementation rejects passwords longer than 256 bytes. An OpenSSH change introduced in 2016 to address username enumeration through response timing also made sshd hash passwords using another account’s salt, including for accounts marked with *.
According to the author, an account marked with * requires a failed login attempt first for the problem to occur; a fresh system with no passwords set is unaffected. Most distributions use PAM, which does not call crypt() for this marker. The report also connects the issue to Alpine 3.16 switching root to * in 2022 to preserve SSH key access. The supplied material identifies neither a fixed release nor a new CVE number.
Original source: sshhole.com ↗
Comments on source platforms
Rank is the maximum of the latest discussion counts. These are source metrics.
Hacker News
- Discussion 1 ↗: 128
Measured: 6 Nov 2026, 03:46 UTC - Discussion 2 ↗: 12
Measured: 6 Nov 2026, 04:03 UTC - Discussion 3 ↗: 745
Measured: 8 Nov 2026, 12:18 UTC - Discussion 4 ↗: 1
Measured: 6 Nov 2026, 23:05 UTC
Хабр
- Discussion ↗: 16
Measured: 6 Nov 2026, 11:24 UTC
TabNews
- Discussion ↗: 0
Measured: 6 Nov 2026, 14:31 UTC