cve.bz

CVE-2026-123158 (SSHole) OpenBSD OpenSSH Unexpected Status Code or Return Value Vulnerability

8.1 highKEVExploit referenceEPSS 14%Fix available

Known as SSHole

High (8.1) in OpenBSD OpenSSH. In CISA KEV since 2026-11-09. EPSS 14% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
14% (down from 19% a week ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-25. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2026-11-09, due 2026-11-12
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2026-11-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-394 Unexpected Status Code or Return Value
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
Assigned by
mitre (CNA)
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-123158 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-123158?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-123158?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-123158 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenBSD OpenSSHbefore 10.6p2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13opensshno fix listedDEBIAN-CVE-2026-123158
Debian14openssh, openssh-gssapi1:10.6p2-1DEBIAN-CVE-2026-123158
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 moreopenssh-ssh1no fix listedUBUNTU-CVE-2026-123158
Alpinev3.16openssh9.0_p1-r6ALPINE-CVE-2026-123158
Alpinev3.17openssh9.1_p1-r7ALPINE-CVE-2026-123158
Alpinev3.18openssh9.3_p2-r4ALPINE-CVE-2026-123158
Alpinev3.19openssh9.6_p1-r3ALPINE-CVE-2026-123158
Alpinev3.20openssh9.7_p1-r6ALPINE-CVE-2026-123158
Alpinev3.21openssh9.9_p2-r1ALPINE-CVE-2026-123158
Alpinev3.22openssh10.0_p1-r11ALPINE-CVE-2026-123158
Alpinev3.23openssh10.2_p1-r1ALPINE-CVE-2026-123158
Alpinev3.24openssh10.3_p1-r2ALPINE-CVE-2026-123158
Azure Linux3opensshno fix listedAZL-112871
Alpaquita23openssh9.1_p1-r17BELL-CVE-2026-123158
Alpaquita25, streamopenssh10.6_p2-r0BELL-CVE-2026-123158
BellSoft Hardened Containers23openssh9.1_p1-r17BELL-CVE-2026-123158
BellSoft Hardened Containers25, streamopenssh10.6_p2-r0BELL-CVE-2026-123158

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

Red Hat products are not affected by this vulnerability. This issue specifically requires OpenSSH to be compiled and executed against the musl C library (musl libc) without PAM enabled. Red Hat Enterprise Linux and all Red Hat product builds link OpenSSH against the GNU C Library (glibc) and use PAM by default.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10opensshNot affected
Red Hat Enterprise Linux 6opensshNot affected
Red Hat Enterprise Linux 7opensshNot affected
Red Hat Enterprise Linux 8opensshNot affected
Red Hat Enterprise Linux 9opensshNot affected
Red Hat Hardened ImagesopenshellNot affected
Red Hat Hardened ImagesopensshNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-123158.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • gabrielunknown/CVE-2026-123158_SSHole Harbor Check: matches CVE 11 stars, Python, created
    CVE-2026-123158 SSHole — OpenSSH authentication bypass via musl crypt() overflow on Alpine Linux (Exploit PoC)
  • Maalfer/CVE-2026-123158 Harbor Check: matches CVE 5 stars, Python, created
    Exploit para explotar la vulnerabilidad CVE-2026-123158 (conocida como sshole).
  • gotr00t0day/CVE-2026-123158 Harbor Check: matches CVE 3 stars, Python, created
    SSHole - OpenSSH Auth Bypass
  • zanarelkov/CVE-2026-123158_SSHole_PoC Harbor Check: matches CVE 3 stars, Python, created
    CVE-2026-123158 SSHole PoC
  • akarkode/alpine-openssh-sshole-auth-bypass Harbor Check: matches CVE 2 stars, created
    Vulnerability research, PoC reproduction lab, and technical analysis for Alpine Linux OpenSSH authentication bypass (CVE-2026-123158 / ssho…
32 more

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET POLICY OpenSSH Vulnerable Version Banner Observed (CVE-2026-123158) sid 2072752

History

  1. Analyzed by the NVD
  2. EPSS rose to 17% (10% or more)

Changes since this site first stored the record. The same for every record: /api/public/changes.

References

Check your stackJSON