*sshole: an over-long password opened disabled accounts on Alpine's OpenSSH

On musl systems without PAM, OpenSSH before 10.6p2 accepted any password longer than musl's crypt() limit for accounts whose hash is "*". How a 2016 fix and a C library error marker met, who is affected, and how to check.

ALT-69Analysis12 Nov 2026

  • Confirmed
  • Reported
  • Claimed
  • Our reading
Timeline
  1. 2016OpenSSH starts hashing passwords even for accounts with no usable hash, to stop username enumeration (CVE-2016-6210).
  2. 4 Nov 2026The OpenSSH fix lands.
  3. 5 Nov 2026Disclosure; OpenSSH 10.6p2 released; musl's maintainer posts the workaround.
musl crypt() password limit; anything longer returned the error marker "*"
256 bytesBleepingComputer
First OpenSSH release with the fix
10.6p2BleepingComputer; musl mailing list
Authentication tests the researcher ran with AI agents to find it
~17,600BleepingComputer

Why it worked

A locked account in /etc/shadow often holds a single "*" instead of a hash. Since 2016, OpenSSH hashes the submitted password even for such accounts, so that the time taken does not reveal which usernames exist. On glibc that hash never equals "*". On musl, crypt() signals failure by returning "*", and a password over 256 bytes fails. The failure value and the stored value were the same string.

musl's maintainer, Rich Felker, called it an erroneous use by the caller rather than a musl bug, and said the behaviour will very likely change in musl's next release cycle.

Who is affected

  • OpenSSH before 10.6p2, built against musl, with UsePAM no and PasswordAuthentication yes.
  • Alpine Linux by default, and custom OpenWrt, Buildroot or Yocto images with the same build options.
  • At least one account whose shadow field is "*". Accounts with real password hashes are not bypassed.
  • Not affected: Debian, Ubuntu, Fedora and other glibc systems, any build with PAM, and Dropbear.

Exploitation

The coverage we read describes the mechanism and gives log checks but does not confirm attacks in the wild. Details and a test page were published by the researcher at the time of disclosure, so assume the technique is known to attackers.

Our readingOur reading

Altumptic's interpretation of the sources below, kept apart from the facts.

  • Two correct pieces of code made one flaw: a timing fix in OpenSSH and an error convention in musl. Interface contracts between projects are part of the attack surface.
  • Key-only accounts were assumed safe because they had no password. The defence that actually held everywhere was PasswordAuthentication no.
  • The bug was found by automated agents running thousands of authentication cases. Expect more finds like this in old, well-read code.

What to do

  1. On Alpine and other musl systems, run apk upgrade openssh (or your build's equivalent) to reach 10.6p2 or later.
  2. Set PasswordAuthentication no in sshd_config and restart sshd, after confirming key login works.
  3. Search the logs for password logins to accounts that should not have one: grep "Accepted password" /var/log/messages, then check whether that account's shadow field is "*".
  4. Rebuild container and VM images based on Alpine, not just running hosts.

Evidence and sources

  1. BleepingComputer: OpenSSH flaw lets attackers log into password-disabled Linux accounts (5 Nov 2026)
  2. musl mailing list: Rich Felker on the OpenSSH authentication bypass (5 Nov 2026)

Altumptic has no involvement in these incidents and no non-public information about them. Figures are as reported by the sources above on the dates given.

Corrections

No corrections since publication on 12 Nov 2026. If something here is wrong, write to the lab through the security page; a correction will say what changed and when.

Cite this entry

Altumptic Lab (2026). ALT-69: *sshole: an over-long password opened disabled accounts on Alpine's OpenSSH. 12 Nov 2026. altumptic.com/research/openssh-musl-sshole-cve-2026-123158