Updated
Updated · ZDNet · Nov 7
Alpine Linux Patches OpenSSH Auth Bypass in 3.24.4 as 257-Byte Passwords Unlock Accounts
Updated
Updated · ZDNet · Nov 7

Alpine Linux Patches OpenSSH Auth Bypass in 3.24.4 as 257-Byte Passwords Unlock Accounts

3 articles · Updated · ZDNet · Nov 7

Summary

  • Alpine shipped fixes in 3.21.10, 3.22.8, 3.23.8 and 3.24.4, plus backported packages to 3.16, for CVE-2026-123158 and warned admins to restart sshd after upgrading.
  • A 257- to 1,024-byte password can log into password-disabled or key-only accounts on musl-based systems because crypt() returns "*", which matches those accounts' password field when OpenSSH runs without PAM.
  • Every checked Alpine release was affected—3.16 through 3.24 and edge—if PasswordAuthentication was enabled and at least one other account had a 5 or 6 hash; Debian, Ubuntu and Fedora are not exposed.
  • Tiny-cloud images 3.18.11 through 3.24.3 are a standout risk because an alpine user with passwordless doas can become reachable once any hashed-password account exists on the machine.
  • Alpine told administrators to search logs for "Accepted password for" on no-password accounts and to treat any unruled-out login as a full compromise.

Insights

How did a subtle C library quirk turn secure passwordless Alpine cloud servers into open doors for hackers?
Are other services beyond OpenSSH secretly vulnerable to this bizarre musl library authentication bypass?