AI-Generated · qwen3.8:latest

SSHHole: A 256-Byte Password That Unlocked Accounts With No Password

OpenSSH shipped an emergency fix for a password-authentication bypass on musl-based Linux systems that collided three older design decisions into a single login hole.

On November 5, 2026, the OpenSSH project released version 10.6p2 to close a password authentication bypass that let an attacker with a username and a long enough password log into accounts that had no password set at all. The flaw, tracked as CVE-2026-123158 with a CVSS score of 8.1, required three conditions to be met simultaneously: a musl-linked sshd, a system not using PAM for credential checks, and a target account whose shadow entry was the asterisk that denotes “no password” — a combination most acutely present in Alpine Linux’s default openssh-server package. No in-the-wild exploitation has been reported, and glibc-based distributions like Debian, Ubuntu, and Fedora, along with any system that routes authentication through PAM or uses Dropbear instead of OpenSSH, are unaffected.

The mechanism is a collision of three changes that each made sense when they landed. In 2012, musl’s crypt() implementation was modified to reject passwords longer than 256 bytes and return the literal string an asterisk on failure. In 2016, OpenSSH made a change to its response to failed authentication attempts specifically to reduce username enumeration, which meant sshd would compare a supplied password against the stored field even when that field was the asterisk placeholder. And in the 3.16 release cycle, Alpine Linux’s default root account configuration used that same asterisk in the shadow file, reachable on some cloud images through a passwordless doas path to full root. None of those three decisions was wrong in isolation; together they meant that an attacker sending a password between 257 and 1,024 bytes would trigger musl’s error return, sshd would compare the returned asterisk against the stored asterisk, and the comparison would succeed. The Hacker News’ coverage of the release notes that OpenSSH itself maintains the root cause lies outside sshd and describes its fix as a workaround rather than a correction of a bug in its own code.

The scope is narrower than the initial reporting might suggest, but the affected class is specific enough to matter. OX Security’s technical analysis lays out per-branch fixed-version numbers for Alpine from 3.16 through the edge repository, and flags OpenWrt, Buildroot, and Yocto as additional platforms where musl-linked ssd instances without PAM may be in production. The attack surface is not “any Linux box”; it is any box where someone chose musl for its small footprint in an embedded or container context and then left the default authentication path intact. For the key-only users who never set a UNIX password and rely entirely on SSH keys, the asterisk in their shadow entry was never meant to be a credential — it was a tombstone saying “there is nothing here to verify.” The bug made that tombstone accidentally become a valid credential for anyone who could guess the username and send a 257-byte string.

A small timing wrinkle in the reporting is worth noting. The Hacker News, writing on the day of the 10.6p2 release, stated that no CVE identifier had been assigned to the flaw as of that date. OX Security, whose post carries the CVE in its headline, assigns CVE-2026-123158. The two are not in conflict: the CVE was evidently assigned in the gap between OpenSSH’s initial release and the broader security-writeup cycle, which is standard practice when a vendor ships a fix before the Mitre coordination window closes.

OpenSSH lead Damien Miller, speaking through the project’s release notes, said the team shipped the fix within days of the report. He also offered a note on process that reads less like boilerplate and more like a team adjusting to a new tempo in how vulnerabilities surface: Miller explained that the project now treats long embargoes as actively dangerous, on the grounds that AI agents increasingly rediscover the same class of bugs within hours of a public disclosure, so a window that once gave vendors weeks of quiet now compresses to a matter of days. Özgün Kültekin of Wakefield is credited with discovering the flaw.

What makes this bug structurally different from a typical off-by-one or buffer overflow is that there is no single line of code to point at. The vulnerability exists in the agreement between three independently maintained components — a libc function’s error return value, a daemon’s comparison logic, and a distribution’s default account configuration — each of which is doing something defensible. Fixing it in one place without touching the others would have changed behavior in a way that could have broken legitimate workflows, which is presumably why OpenSSH describes its own patch as a workaround and leaves the deeper question of whether musl’s crypt() should return a sentinel value that sshd can distinguish from a stored asterisk to the broader ecosystem. The 10.6p2 release stops the bleeding. The question of whether the three-way contract between those components gets formally documented and tested as a unit is a slower conversation, and one that a 2012 libc change, a 2016 authentication tweak, and a 2022 distribution default made into a 2026 emergency.

The practical guidance for anyone running an affected system is straightforward and was stated in the release notes: set PasswordAuthentication to no immediately, and apply the updated OpenSSH package for your Alpine branch or equivalent musl-based build. For the large majority of production Linux servers on glibc with PAM in the path, this is a story to note and move past. But for the smaller, often-overlooked population of embedded gateways, CI runners, and container hosts that chose Alpine or Buildroot for their footprint and never thought about what sat between a network listener and a password hash, the window in which that asterisk was a valid credential was real, and it was open since 2016.

Sources