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.
{
"cna_assigner": "mitre",
"cwe_ids": [
"CWE-394"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123158.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "10.6p2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "10.6p2"
}
],
"source": "CPE_FIELD",
"strategy": "CPEApplicability"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "10.6p2"
}
],
"source": "DESCRIPTION"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"fixed": "4353fdc43ef646c43a8dda7025cc1a898caf1482"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-123158.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"299274535873357919814061000225503595385",
"246061632972874211613635601499433260763",
"182378301817581421523619250332030347761",
"318011153068161088951412578136943724818",
"55899977705282811633425266200951472356",
"36562908044271608149576910740238067149",
"61627067735937385258010081808534619152",
"30209854689963476302298641117150984353",
"213724054118603080501697524117232632247",
"132559710136112694186929626686841657749",
"93216560223540617855735496598438447995",
"292275490248108786245723196605504990612",
"215202054095599041132152339011171193965",
"291771041752777532886078754654901384802",
"326906850988560835071308195230344132605",
"164685616268765845636288971588000901968",
"190820618413795042449286668290111729425",
"189260965603741422949216815677805969967",
"132829589594568239824844633161178775831",
"79304961031213980929124617259500513897"
],
"threshold": 0.9
},
"id": "CVE-2026-123158-099849b0",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/openssh/openssh-portable/commit/4353fdc43ef646c43a8dda7025cc1a898caf1482",
"target": {
"file": "auth-passwd.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "7908451215502949527849171087239029348",
"length": 623
},
"id": "CVE-2026-123158-3b9af67e",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/openssh/openssh-portable/commit/4353fdc43ef646c43a8dda7025cc1a898caf1482",
"target": {
"file": "openbsd-compat/xcrypt.c",
"function": "pick_salt"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "302591427691734518700903337846613876089",
"length": 747
},
"id": "CVE-2026-123158-471857f9",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/openssh/openssh-portable/commit/4353fdc43ef646c43a8dda7025cc1a898caf1482",
"target": {
"file": "openbsd-compat/port-uw.c",
"function": "sys_auth_passwd"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"131243414084843808353199017336204382716",
"51599825052669336441509801383779356786",
"282462581230683315432047941305519908376",
"292275490248108786245723196605504990612",
"215202054095599041132152339011171193965",
"319587074968861296130439563270605754759",
"171233612556882632417917085929662389351",
"145780049850554113636689747415823210062",
"19661048765142007294786029065919718766",
"35604775349993073434164538963954248345",
"254802836512702398545398687199623181343",
"34838260737518689265743910974709179539",
"285508486553029525457858858675055825307",
"52235735116808839859091927384691735052",
"76073649212343075344696152771504005840",
"116253335203111912097272351507465743166"
],
"threshold": 0.9
},
"id": "CVE-2026-123158-5e0ae7cf",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/openssh/openssh-portable/commit/4353fdc43ef646c43a8dda7025cc1a898caf1482",
"target": {
"file": "openbsd-compat/port-uw.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "120754960102051773840336165303348176111",
"length": 464
},
"id": "CVE-2026-123158-73008821",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/openssh/openssh-portable/commit/4353fdc43ef646c43a8dda7025cc1a898caf1482",
"target": {
"file": "auth-passwd.c",
"function": "sys_auth_passwd"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"16838443053258748048098277689984865139",
"135407971627325661684567236449926362398",
"198455317463077157823534067256434336010",
"197335363101614841482134729204797440244",
"272484076610990118560756951786370814883",
"203161309424969270012874692069694827806",
"80521320566523701244988850689177406731",
"132829416642861596024108317655167594053",
"31101129509597632757883379272268899485",
"254808784906561128650700666828265621996",
"70436856183389868918661734590414052830",
"161234759517520647248482501126807530531",
"42536073633678216794501509550883617180",
"109388128052665260361439665827095668367",
"203927310892268213340004390942418595033",
"282935975051340330596140153437839812762",
"7965885211369386998511704656760054191",
"274194219527338060622750801612369490034",
"136584274834943319667197962747982595542",
"217091438975255666339539175757287922928",
"326550963709329893083470680984191268404",
"184080311427808386004829028998863473622",
"102316881203632837619141561513132624013",
"302766150959126891513506725869053321014",
"220212570246724356461205414892283497085",
"191866248399808183760280496014976513708"
],
"threshold": 0.9
},
"id": "CVE-2026-123158-745699f2",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/openssh/openssh-portable/commit/4353fdc43ef646c43a8dda7025cc1a898caf1482",
"target": {
"file": "openbsd-compat/xcrypt.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "229959672299385289727190592129481811016",
"length": 610
},
"id": "CVE-2026-123158-da913785",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/openssh/openssh-portable/commit/4353fdc43ef646c43a8dda7025cc1a898caf1482",
"target": {
"file": "openbsd-compat/xcrypt.c",
"function": "shadow_pw"
}
}
]
"2026-11-07T07:12:13Z"