CVE-2026-123158

openssh: OpenSSH: Password authentication bypass via password hash misinterpretation

Published Nov 5, 2026 CVSS 3.1 · 8.1 High EPSS 14.2% KEV · Listed
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.

Analysis

AI-generated

Technical impact

ssh daemon in OpenSSH versions before 10.6p2 running on Linux with musl libc and no PAM incorrectly interprets passwords between 256 and 1024 characters as valid password hashes; any password in that range is accepted for some account configurations, effectively bypassing authentication. The flaw allows an attacker to authenticate without knowing the real password, granting full access to the targeted account.

Affected Systems

OpenBSD’s OpenSSH code is affected. Any deployment of OpenSSH before 10.6p2 on Linux that uses musl libc and does not enable PAM, such as Alpine Linux, is vulnerable. Systems that have not applied the 10.6p2 update or use older OpenSSH packages are at risk.

Risk and Exploitability

The CVSS base score of 8.1 indicates high severity, and the vulnerability is listed in the CISA KEV catalog. The EPSS score of 14% indicates a moderate probability of exploitation in the wild, yet the authentication bypass presents a clear advantage to attackers. With remote access to the SSH service, an adversary can trivially supply a long password string between 256 and 1024 characters to authenticate as a valid user. No special privileges are needed, making the vulnerability remotely exploitable. The potential impacts on confidentiality, integrity, and availability are inferred because authentication bypass grants the attacker full access to the targeted account.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenSSH to version 10.6p2 or later, which contains the fix for the password length handling bug.
  • Disable password authentication in sshd configuration or enable PAM on systems using musl libc until the patch is applied.
  • Restrict the maximum password length to under 256 characters in sshd_config as a temporary measure to prevent accidental acceptance of valid long strings.

Generated by OpenCVE AI on November 25, 2026 at 17:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'active', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Alpinelinux
Alpinelinux alpine Linux
CPEs cpe:2.3:a:openbsd:openssh:10.6:-:*:*:*:*:*:*
cpe:2.3:a:openbsd:openssh:10.6:p1:*:*:*:*:*:*
cpe:2.3:o:alpinelinux:alpine_linux:*:*:*:*:*:*:*:*
Vendors & Products Alpinelinux
Alpinelinux alpine Linux
Type Values Removed Values Added
Metrics kev

{'dateAdded': '2026-11-09T00:00:00+00:00', 'dueDate': '2026-11-12T00:00:00+00:00'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title OpenSSH Password Authentication Bypass on Musl Linux openssh: OpenSSH: Password authentication bypass via password hash misinterpretation
Weaknesses CWE-303
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Title OpenSSH Password Authentication Bypass on Musl Linux
Type Values Removed Values Added
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.
First Time appeared Openbsd
Openbsd openssh
Weaknesses CWE-394
CPEs cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*
Vendors & Products Openbsd
Openbsd openssh
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-303

    Incorrect Implementation of Authentication Algorithm

  • CWE-394

    Unexpected Status Code or Return Value

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 10, 2026, 4:55 AM
Reserved
Nov 5, 2026, 3:46 PM
Status
Analyzed
Published
Nov 5, 2026, 4:17 PM
Modified
Nov 10, 2026, 1:48 PM
Severity
Important
Public date
Nov 5, 2026, 3:46 PM