Security

OpenSSH 'SSHole' flaw lets passwords of 257 to 1,024 characters log into passwordless accounts on musl Linux without PAM; fixed in OpenSSH 10.6p2

A long-standing OpenSSH flaw on musl Linux without PAM, such as default Alpine, lets 257 to 1,024 character passwords into passwordless accounts.

By ·

The flaw only applies to a specific setup, not to Linux in general. OpenSSH released Portable OpenSSH 10.6p2 on November 5, 2026 to fix an authentication bypass nicknamed SSHole, tracked as CVE-2026-123158 by some outlets. On Linux systems that use the musl C library and run sshd without PAM, such as Alpine's default OpenSSH package, a password of 257 to 1,024 characters is accepted for accounts that should not accept passwords at all, including root on some systems. The researcher's repository says the behavior dates back to 2016.

The essentials

How old is the bug?

The researcher, Özgün Kültekin of Wakefield, says in his repository that it has existed since 2016, and that the oldest version he tested, OpenSSH 7.5p1 on musl 1.1.16 from 2017, was also affected. iTnews notes the irony that a fix for a timing flaw with long passwords set up this bypass. Treat the exact start date as the researcher's finding.

Is it a CVE and how severe?

SecurityWeek and IONIX report CVE-2026-123158 with a CVSS 3.1 score of 8.1, while Orca Security described it as having no CVE assigned yet at the time it published. We did not reconcile the two. Miller also said the flaw is not in sshd itself but can be exploited through it; the 10.6p2 fix rejects stored password hashes shorter than four characters.

What is not established

Summary table

Summary table
PointWhat is stated as of November 7, 2026Source
Fixed inPortable OpenSSH 10.6p2, November 5, 2026IONIX
IdentifierCVE-2026-123158, CVSS 8.1, per SecurityWeek and IONIXSecurityWeek
TriggerPassword of 257 to 1,024 bytes on an account whose password field is an asteriskiTnews
Conditionsmusl libc, sshd without PAM, password authentication enabledIONIX
WorkaroundPasswordAuthentication no until patchedGitHub (oz9un/sshole)

FAQ

Are all Linux servers affected?

No. Coverage says it needs musl libc, sshd without PAM and password authentication on; most mainstream distributions use glibc.

Does key-only login protect me?

Disabling password authentication closes the path; the fix is still to update.

Is a patch available?

Yes, Portable OpenSSH 10.6p2; check your distribution for its patched package.

Method and limits

Sources checked on November 7, 2026. We read SecurityWeek, iTnews, the researcher's GitHub repository and IONIX as returned in search results; we did not test the flaw. This is not security advice for your systems; follow your vendor's guidance.

Sources

Spotted an error in this article? Report it · Our corrections policy

Rekha icon: a house drawn in a single stroke

From the same author Self-promotion

An Eulerian path, drawn with your finger

Rekha, the iPhone game by OrigoTech's author: connect every dot in a single stroke without tracing the same link twice, across 500 drawings that are all solvable.

The OrigoTech newsletter

A sourced weekly digest of AI tool news.

Read next