Patchfirst
CVE-2026-123158 KEVPublic exploit High · 8.1 EPSS 95.5%

OpenBSD OpenSSH Unexpected Status Code or Return Value Vulnerability

Patch now:no fixed version in the CVE record or package advisories. Check the vendor advisory. References ↓

OpenBSD · OpenSSH

Summary

The flaw is in sshd in OpenSSH before 10.6p2 on Linux systems that use musl libc without PAM, such as Alpine Linux, where a missing workaround lets password hashes be misinterpreted during authentication. Remote, unauthenticated attackers can bypass password authentication on certain account configurations by submitting any password between 256 and 1024 characters, with no user interaction required and only network access to the sshd service needed.

Official description · NVD

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.

Breakdown
78.6 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
5/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 1 day after disclosure. Public exploit code (PoC-in-GitHub) was available the same day.

  1. DisclosedPublic exploit codePoC-in-GitHubday 0
  2. First seen exploitedVulnCheck KEV evidence+1 day
  3. Added to CISA KEVEU database agrees+4 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Valid Accounts T1078 Medium also Persistence, Privilege Escalation, Stealth
AI mapping from the description · how it is exploited

password auth bypass uses valid accounts

any password between 256 and 1024 characters succeeds
From the official description (NVD) Original (opens in a new tab) ↗

Credential AccessTA0006

Exploitation for Credential Access T1212 Medium
AI mapping from the description · primary impact

bypass yields access to credentials-protected accounts

password authentication bypass
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 61 general rules for its techniques

Rules for this CVE

0 that reference CVE-2026-123158 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

General rules for this CVE’s techniques

These detect the technique in general, not this specific vulnerability.

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Affected versions and fixes

as published in the CVE record

OpenBSD OpenSSH

Affected: < 10.6p2

What security researchers reported

Not named in any threat report yet

Also mentioned in 24 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

18 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close