OpenSSH built against musl libc and running without PAM accepts any password between 257 and 1024 characters for accounts whose password field in /etc/shadow is exactly *. The accounts affected are those intentionally locked or configured for key-only authentication, including root on many Alpine cloud images, deploy users, and certain LDAP-mapped accounts.

The condition is present only on musl-based systems that do not use PAM for password verification. glibc systems, systems with UsePAM yes, Dropbear, and OpenBSD are unaffected. OpenSSH 10.6p2, released 5 November 2026, contains a workaround. Alpine has backported the fix across supported and several EOL branches.

all 2 comments

sorted by: hot top controversial new old
[–] 4 points 1 day ago

It says OpenWrt is affected but it also says Dropbear isn't affected. OpenWrt uses Dropbear by default. So stock OpenWrt is not affected?

  • source
  • [–] 3 points 1 day ago