security —

Alpine Linux Users Urged to Patch OpenSSH Authentication Flaw

The issue, named *sshole and tracked as CVE-2026-123158, affects Linux systems running OpenSSH with the musl C library and which don't use PAM.

Alpine Linux Users Urged to Patch OpenSSH Authentication Flaw

Security researchers now report that attackers are exploiting it in the wild. The flaw comes from the way OpenSSH checks passwords when musl handles the underlying crypt() call. On an affected system, a password longer than 256 bytes causes musl to return an error value.

That value is an asterisk, the same character Linux uses in /etc/shadow to mark an account as having no password. OpenSSH then treats the returned asterisk as a match and permits the login. The conditions to exploit the vulnerability are however quite narrow.

The server must run OpenSSH before version 10.6p2, be built against the musl library rather than glibc, and operate without PAM. It must also have at least one account with a SHA-256 or SHA-512 password hash and another account marked with an asterisk in its shadow entry. When those conditions are met, any password between 257 and 1,024 characters can authenticate against the passwordless account.

Reported by infoq.com.

security

Related coverage

Elsewhere in this edition