CVE-2026-123158
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.
What to do
This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2026-11-09). If you run an affected version, patch or mitigate now.
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | openssh-ssh1 | Fix pending | UBUNTU-CVE-2026-123158 | |
| Ubuntu 26.04 | openssh | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openssh-ssh1 | Will not fix openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support… | UBUNTU-CVE-2026-123158 | |
| Ubuntu 24.04 | openssh | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | openssh-ssh1 | Will not fix openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support… | UBUNTU-CVE-2026-123158 | |
| Ubuntu 22.04 | openssh | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | openssh-ssh1 | Will not fix openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support… | UBUNTU-CVE-2026-123158 | |
| Ubuntu 20.04 | openssh-ssh1 | Fix pending | UBUNTU-CVE-2026-123158 | |
| Ubuntu 18.04 | openssh-ssh1 | Fix pending | UBUNTU-CVE-2026-123158 | |
| Debian 14 | openssh | Fixed | 1:10.6p2-1 | DEBIAN-CVE-2026-123158 |
| Debian 14 | openssh-gssapi | Fixed | 1:10.6p2-1 | DEBIAN-CVE-2026-123158 |
| Debian 13 | openssh | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-123158 | |
| Debian 12 | openssh | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-123158 | |
| Red Hat Enterprise Linux 10 | openssh | Not affected | ||
| Red Hat Enterprise Linux 10 | openssh-askpass | Not affected | ||
| Red Hat Enterprise Linux 10 | openssh-clients | Not affected | ||
| Red Hat Enterprise Linux 10 | openssh-keycat | Not affected | ||
| Red Hat Enterprise Linux 10 | openssh-keysign | Not affected | ||
| Red Hat Enterprise Linux 10 | openssh-server | Not affected | ||
| Red Hat Enterprise Linux 9 | openssh | Not affected | ||
| Red Hat Enterprise Linux 9 | openssh-askpass | Not affected | ||
| Red Hat Enterprise Linux 9 | openssh-clients | Not affected | ||
| Red Hat Enterprise Linux 9 | openssh-keycat | Not affected | ||
| Red Hat Enterprise Linux 9 | openssh-server | Not affected | ||
| Red Hat Enterprise Linux 9 | pam_ssh_agent_auth | Not affected | ||
| Red Hat Enterprise Linux 8 | openssh | Not affected | ||
| Red Hat Enterprise Linux 8 | openssh-askpass | Not affected | ||
| Red Hat Enterprise Linux 8 | openssh-cavs | Not affected | ||
| Red Hat Enterprise Linux 8 | openssh-clients | Not affected | ||
| Red Hat Enterprise Linux 8 | openssh-keycat | Not affected | ||
| Red Hat Enterprise Linux 8 | openssh-ldap | Not affected | ||
| Red Hat Enterprise Linux 8 | openssh-server | Not affected | ||
| Red Hat Enterprise Linux 8 | pam_ssh_agent_auth | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-askpass | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-cavs | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-clients | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-keycat | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-ldap | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-server | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-server-sysvinit | Not affected | ||
| Red Hat Enterprise Linux 7 | pam_ssh_agent_auth | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh-askpass | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh-clients | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh-ldap | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh-server | Not affected | ||
| Red Hat Enterprise Linux 6 | pam_ssh_agent_auth | Not affected | ||
| Alpine Linux 3.24 | openssh | Fixed | 10.3_p1-r2 | ALPINE-CVE-2026-123158 |
| Alpine Linux 3.23 | openssh | Fixed | 10.2_p1-r1 | ALPINE-CVE-2026-123158 |
| Alpine Linux 3.22 | openssh | Fixed | 10.0_p1-r11 | ALPINE-CVE-2026-123158 |
| Alpine Linux 3.21 | openssh | Fixed | 9.9_p2-r1 | ALPINE-CVE-2026-123158 |
| Alpine Linux 3.20 | openssh | Fixed | 9.7_p1-r6 | ALPINE-CVE-2026-123158 |
| Alpine Linux 3.19 | openssh | Fixed | 9.6_p1-r3 | ALPINE-CVE-2026-123158 |
| Alpine Linux 3.18 | openssh | Fixed | 9.3_p2-r4 | ALPINE-CVE-2026-123158 |
| Alpine Linux 3.17 | openssh | Fixed | 9.1_p1-r7 | ALPINE-CVE-2026-123158 |
| Alpine Linux 3.16 | openssh | Fixed | 9.0_p1-r6 | ALPINE-CVE-2026-123158 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenBSD OpenSSH: affected: before 10.6p2; fixed in
10.6p2
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.