CVE-2026-123158
Analyzed Analyzed - Analysis Complete

Password Authentication Bypass in OpenSSH with musl libc

Vulnerability report for CVE-2026-123158, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-05

Last updated on: 2026-11-10

Assigner: MITRE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-05
Last Modified
2026-11-10
Generated
2026-11-14
AI Q&A
2026-11-05
EPSS Evaluated
2026-11-13
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
openbsd openssh to 10.6 (exc)
openbsd openssh 10.6
openbsd openssh 10.6

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-394 The product does not properly check when a function or operation returns a value that is legitimate for the function, but is not expected by the product.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is an authentication bypass vulnerability in OpenSSH affecting systems using musl libc without PAM, such as Alpine Linux. It allows attackers to gain unauthorized access by sending a password between 256 and 1024 characters long. The issue occurs because musl libc's crypt() function misinterprets long strings as password hashes, bypassing authentication checks for locked accounts.

Detection Guidance

To detect this vulnerability, check if your system uses musl libc without PAM, such as Alpine Linux. Verify OpenSSH version with `ssh -V`. If using Alpine Linux, check the openssh-server package version with `apk info openssh-server`. Test authentication by attempting to log in with a password longer than 256 characters.

Impact Analysis

If you use Alpine Linux or another musl libc-based system without PAM, attackers could exploit this to gain unauthorized SSH access to accounts, even those with locked passwords. This could lead to data theft, system compromise, or further network infiltration. The vulnerability requires only a long password attempt to succeed.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements under GDPR and HIPAA. Organizations using affected systems may face compliance violations, data breach notifications, and potential fines if exploited.

Mitigation Strategies

Immediately update OpenSSH to version 10.6p2 or later. Alternatively, disable password authentication by editing /etc/ssh/sshd_config and setting `PasswordAuthentication no`, then restart the SSH service with `service sshd restart` or equivalent.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-123158. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...