NEWSFEVER
Technology worth discussing24 / 7 · RU + EN
Back to feedCybersecurity

OpenSSH testing finds incorrect password acceptance with musl and no PAM

The sshole author reports an authentication failure involving the * account marker and crypt() error handling.

Published: 5 Nov 2026, 22:00 UTC
A conceptual server vault with an asterisk-shaped lock and a ribbon of password dots passing through two matching mechanisms.
Illustration accompanying a report of incorrect password validation in OpenSSH 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

Хабр

TabNews