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.
Published: 2026-11-05
Score: 8.1 High
EPSS: n/a
KEV: No
Impact: Unauthorized Authentication
Action: Apply Patch
AI Analysis

Impact

The vulnerability exists in sshd of OpenSSH versions prior to 10.6p2 running on Linux systems that use musl libc without PAM. A flaw in the handling of threshold for password hashes allows an input string between 256 and 1024 characters to be accepted as a valid password for some account configurations, effectively bypassing authentication. The failure results in an attacker gaining unrestricted access to the account without possessing the correct password, compromising confidentiality, integrity, and availability of the host.

Affected Systems

OpenBSD's OpenSSH implementation is affected. Any deployment of OpenSSH before version 10.6p2 on Linux with musl libc and no PAM, such as Alpine Linux, is vulnerable. This includes systems maintaining older OpenSSH packages and not applying the 10.6p2 update.

Risk and Exploitability

The CVSS base score is 8.1, indicating high severity, and the vulnerability is not listed in the CISA KEV catalog. While EPSS data is not available, the existence of an authentication bypass that works across a wide password length range suggests a substantial attack surface. An attacker with the ability to reach the SSH service can trivially supply a long password string to authenticate as a valid user. No special local privileges are needed, making the vulnerability remotely exploitable.

Generated by OpenCVE AI on November 5, 2026 at 17:43 UTC.

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.
  • Consider restricting 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 5, 2026 at 17:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 05 Nov 2026 18:30:00 +0000

Type Values Removed Values Added
References

Thu, 05 Nov 2026 18:00:00 +0000

Type Values Removed Values Added
Title OpenSSH Password Authentication Bypass on Musl Linux

Thu, 05 Nov 2026 17:30:00 +0000


Thu, 05 Nov 2026 16:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-11-05T17:18:17.809Z

Reserved: 2026-11-05T15:46:25.881Z

Link: CVE-2026-123158

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-05T16:17:47.110

Modified: 2026-11-05T18:17:07.827

Link: CVE-2026-123158

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T18:00:20Z

Weaknesses
  • CWE-394

    Unexpected Status Code or Return Value