Description
sshd in OpenSSH before 10.6p2 on Linux, when musl libc is used without PAM, lacks a workaround for a password authentication bypass (related to misinterpretation of whether a string is intended to be a password hash). For some configurations of accounts, any password between 256 and 1024 characters succeeds. An example of a platform using musl libc without PAM is Alpine Linux.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenBSD | OpenSSH | < 10.6p2 | 10.6p2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openssh +1 | 1:10.6p2-1 | — |
| Debian 13 | openssh | No fix yet | — |
| Debian 12 | openssh | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | openssh-ssh1 | No fix yet | — |
| Ubuntu 26.04 LTS | openssh-ssh1 | No fix yet | — |
| Ubuntu 24.04 LTS | openssh-ssh1 | No fix yet | — |
| Ubuntu 22.04 LTS | openssh-ssh1 | No fix yet | — |
| Ubuntu 20.04 LTS | openssh-ssh1 | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | openssh-ssh1 | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | openssh | 10.3_p1-r2 | — |
| Alpine v3.23 | openssh | 10.2_p1-r1 | — |
| Alpine v3.22 | openssh | 10.0_p1-r11 | — |
| Alpine v3.21 | openssh | 9.9_p2-r1 | — |
| Alpine v3.20 | openssh | 9.7_p1-r6 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | openssh | 9.6_p1-r3 | — |
| Alpine v3.18 | openssh | 9.3_p2-r4 | — |
| Alpine v3.17 | openssh | 9.1_p1-r7 | — |
| Alpine v3.16 | openssh | 9.0_p1-r6 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | openssh | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 38 repositories · most starred shown
-
gabrielunknown/CVE-2026-123158_SSHole ★ 9 · Nov 5, 2026
CVE-2026-123158 SSHole — OpenSSH authentication bypass via musl crypt() overflow on Alpine Linux (Exploit PoC)
-
Maalfer/CVE-2026-123158 ★ 4 · Nov 6, 2026
Exploit para explotar la vulnerabilidad CVE-2026-123158 (conocida como sshole).
-
Galaxy-sc/CVE-2026-123158 ★ 1 · Nov 8, 2026
-
HackSpeak/CVE-2026-123158 ★ 1 · Nov 6, 2026
OpenSSH + musl password authentication bypass (sshole) checker: local precondition audit + remote verification; for authorized testing
-
halilkirazkaya/CVE-2026-123158 ★ 1 · Nov 6, 2026
sshole (CVE-2026-123158): OpenSSH password bypass on alpine Linux
-
crash00xd/CVE-2026-123158_SSHRole_PoC ★ 1 · Nov 6, 2026
Prova de conceito para exploração da vulnerabilidade CVE-2026-123158.
-
ersinkoc/sshole-check ★ 1 · Nov 5, 2026
Audit & interim mitigation for CVE-2026-123158 (*SSHole) — OpenSSH password bypass on musl/Alpine — across Docker containers, images and host
-
ashrafzaryouh/CVE-2026-123158 ★ 1 · Nov 5, 2026
CVE-2026-123158
-
rothoma2/cve-2026-123158-sshole ★ 1 · Nov 5, 2026
Scanner CVE-2026-123158 *SSHHole
-
coboliqcom/cve-2026-123158-sshole-safe-rust ★ 1 · Nov 5, 2026
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- WID-SEC-2026-4365 OpenSSH: Schwachstelle ermöglicht Erlangen von Administratorrechten BSI CERT-Bund (WID) · Nov 10, 2026
- NCSC-2026-0469 Kwetsbaarheid verholpen in OpenSSH door OpenSSH Project NCSC-NL (Netherlands) · Nov 6, 2026
References
- https://www.openssh.org/releasenotes.html#10.6p2
- https://github.com/openssh/openssh-portable/commit/4353fdc43ef646c43a8dda7025cc1a898caf1482
- https://news.ycombinator.com/item?id=50377976
- https://news.ycombinator.com/item?id=50378228
- https://marc.info/?l=openssh-unix-dev&m=179388064263131&w=2
- https://hachyderm.io/@damienmiller/117563026759098135
- https://github.com/predkambrij/sshhole-repro
- https://github.com/leonjza/sshhole-lab