On November 5, 2026, the OpenSSH team shipped emergency release 10.6p2 after researcher Özgün Kültekin disclosed CVE-2026-123158 (CVSS 3.1: 8.1 High, CWE-394), widely tracked as SSHole. On Linux hosts compiled against musl libc without Pluggable Authentication Modules (UsePAM no), submitting an oversized password between 256 and 1024 bytes lets unauthenticated attackers log into accounts whose passwords are disabled with * in /etc/shadow. Within 58 minutes of the technical write-up going live on November 5, working proof-of-concept code appeared on GitHub, and by November 9 CISA added the defect to its Known Exploited Vulnerabilities catalog with mandatory BOD 26-04 forensic triage due by November 12.
Why Three Decoupled Choices Aligned into an Error Collision
Unlike memory corruption bugs, CVE-2026-123158 grew out of three reasonable engineering changes separated by fourteen years across different codebases:
- The
2012muslcrypt()safety cap: Developers ofmusl libccapped password hashing at256bytes to prevent CPU denial-of-service floods from giant login strings, returning a single asterisk (*) on error rather thanNULL. - The
2016OpenSSH timing defense (pick_salt): To stop username enumeration via response timing on locked accounts,openbsd-compat/xcrypt.cwalks/etc/passwdand shadow records viapick_salt()to borrow another valid local user's$-prefixed salt whenever the target account itself has no valid hash. - The
2022Alpine Linux key-only marker: Alpine switchedrootand key-only cloud accounts (including the defaultalpineuser across official cloud images from3.18.11through3.24.3) to store*in/etc/shadow, blocking normal passwords while preserving SSH public-key logins.
When sshd compiled against musl without PAM handles an account marked * while PasswordAuthentication yes stays enabled (the upstream default), an overlong string of 256–1024 characters exceeds musl's limit. Hashing returns *, and OpenSSH's equality check matched that error indicator against the * sentinel inside /etc/shadow.
Live Exploitation Telemetry and Patch Internals
Public scanning confirms how little time administrators receive when internet-facing management ports are exposed. In its official 10.6p2 release notes, OpenSSH observed that adversaries now discover or weaponize bugs nearly as quickly as defenders triage them. According to GreyNoise telemetry updated on December 3, 2026, automated sensors recorded:
| Metric Tracked Since November 5, 2026 | Observed Volume | Operational Meaning |
|---|---|---|
TCP port 22 SYN probes |
262M |
Constant global internet discovery |
Full TCP 22 handshakes |
200M |
Shodan-scale banner harvesting |
| Attempted SSH sessions | 196M |
Brute-force and overlong probes |
| Confirmed post-exploitation sessions | 67 (14 attacker IPs) |
Interactive shell commands executed |
Upstream commit 4353fdc43ef646c43a8dda7025cc1a898caf1482 in openssh-portable resolves the logic defect cleanly without touching musl: auth-passwd.c defines MIN_PASSWORD_HASH_LEN 4 and modifies sys_auth_passwd() so authentication fails unless strlen(pw_password) >= MIN_PASSWORD_HASH_LEN alongside strcmp(encrypted_password, pw_password) == 0. That single check rejects *, !, or x lock placeholders immediately before comparison.
Affected Linux Distributions and Verified Backports
Because mainstream server distributions such as Debian, Ubuntu, and RHEL link against glibc (whose crypt() returns NULL on failure) and enforce PAM, they remain unaffected. Exposure concentrates on compact containers, bastion images, and embedded routers built with musl:
- Alpine Linux branches (
3.16–3.24andedge): Updated packages ship asedge10.6_p2-r0,3.2410.3_p1-r2,3.2310.2_p1-r1,3.2210.0_p1-r11, and3.219.9_p2-r1, plus backports for3.16–3.20. - OpenWrt, Buildroot, and Yocto devices: Custom firmware bundles using OpenSSH
sshdwithout PAM must verify patched OpenSSH10.6p2+or vendor backports (Dropbearbuilds are separate, though management containers running OpenSSH remain vulnerable).
Note that setting PasswordAuthentication no in /etc/ssh/sshd_config neutralizes the immediate attack path, yet cloud-init drop-ins under /etc/ssh/sshd_config.d/*.conf frequently override main file defaults if not audited with sshd -T.
Removing TCP 22 Exposure with WireGuard Bastions
Upgrading OpenSSH 10.6p2 closes CVE-2026-123158, but any SSH port bound to 0.0.0.0:22 on a public VPS or edge router remains exposed to future pre-auth defects, parser crashes, and botnet probing. Removing TCP 22 from the public WAN interface completely changes the risk equation:
- Cryptographic pre-authentication over UDP: WireGuard implements the WireGuard Noise protocol handshake over stateless UDP packets and silently drops every unauthenticated packet before user-space daemons ever parse input.
- Socket binding inside the tunnel: Configure
ListenAddressin/etc/ssh/sshd_configsolely to the private WireGuard interface IP (or allow inbound TCP22exclusively on thewg0interface), isolating administration behind an authenticated VPNRice WireGuard peer list. - Router and container fleet hygiene: For remote offices running Alpine bastion containers or hardened OpenWrt routers, routing management sessions through an encrypted VPNRice tunnel prevents ISP inspection and stops internet scanners from ever reaching
sshd.
Immediate Hardening and BOD 26-04 Forensic Checklist
- Patch and inspect effective
sshdconfig: Runapk upgrade -U -aon Alpine hosts (verifying patched builds like10.3_p1-r2+), deploy vendor updates on OpenWrt/embedded images, restartsshd, and runsshd -T | grep -E 'passwordauthentication|usepam'to confirmpasswordauthentication no. - Execute CISA BOD 26-04 forensic triage: Any
musl-based host whose port22faced the public Internet between November 5, 2026 and patching must be audited for unexpected/root/.ssh/authorized_keysadditions, new cron entries, modified startup scripts, or unfamiliar authentication logs before returning to production. - Close public TCP
22behind WireGuard: Bind SSH strictly to private tunnel addresses and connect administration laptops only over VPNRice WireGuard tunnels with per-device Curve25519 keys.



