High8.1

CVE-2026-123158: OpenBSD OpenSSH Unexpected Status Code or Return Value Vulnerability

OpenBSD OpenSSH on Linux contains an unexpected status code or return value vulnerability that could allow for authentication bypass.

Added to the CISA KEV catalog: November 9, 2026

Overview

OpenSSH's sshd can be made to accept a wrong password on Linux systems that use musl libc and run without PAM, with Alpine Linux as the common example. For certain account configurations, a password between 256 and 1024 characters is accepted as correct, giving a remote attacker an SSH login as that account without its real password. Releases before 10.6p2 are affected. According to the OpenSSH developers, non-Linux systems, glibc Linux, and PAM-based password authentication are not.

Vulnerability details

Affected vendor

OpenBSD

Affected product

OpenSSH

Weakness type (CWE)

CWE-394

The weakness is classed as an unexpected status code or return value (CWE-394). On musl libc without PAM, sshd checks a password by running it through the libc crypt-style hashing and comparing the result. The check misinterprets whether the stored string is a real password hash, so for some account configurations the comparison succeeds for an overlong input. The OpenSSH developers place the root cause outside sshd, in libc behavior, and the 10.6p2 release adds a workaround inside sshd. Third-party commentary points to a pick_salt() cache and explicit_bzero() interaction, but the fetched evidence does not explain it.


The attack is inbound. The attacker submits SSH password authentication attempts with a crafted password of 256 to 1024 characters against a reachable sshd, possibly repeating the attempt, since a third-party comment mentions a two-attempt requirement. Success yields an SSH login with that account's privileges. Several preconditions limit reach: OpenSSH before 10.6p2, Linux with musl libc, PAM not used for password authentication, PasswordAuthentication turned on, and an account in an affected configuration. One commenter cites locked service accounts. Whether root is affected is not stated.

Severity and impact

8.1

High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack vector

Network

Attack complexity

High

Privileges required

None

User interaction

None

Scope

Unchanged

Confidentiality impact

High

Integrity impact

High

Availability impact

High

Exploitation status

This vulnerability is confirmed as actively exploited in the wild — it is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

Known ransomware campaign use

Unknown

Detection and monitoring

  • Review sshd auth logs for 'Accepted password' events on locked, service, or key-only accounts that should never authenticate by password. Any such success on a musl, no-PAM host is a strong indicator of this bypass.
  • Inventory exposure: find hosts running OpenSSH before 10.6p2 where the libc is musl, sshd is not linked against libpam, and 'sshd -T' reports passwordauthentication yes. These hosts are the vulnerable population.

Remediation

Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see References) guidance and CISA’s “Forensics Triage Requirements” (see References). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

Federal (FCEB) remediation due date

November 12, 2026

Additional hardening

  • Upgrade OpenSSH to 10.6p2 or later, which adds the sshd workaround, or install the patched OpenSSH package from the distribution, such as the updated Alpine Linux release. See the vendor advisory in References.
  • Set PasswordAuthentication no in sshd_config on musl systems without PAM and require public key authentication. The OpenSSH developers advise this or disabling SSH on affected hosts immediately.
  • Restrict SSH reachability with firewall rules, a VPN, or a bastion host so only known administrative source ranges can reach port 22, especially on embedded and container images built on Alpine.
  • Triage hosts that were exposed before patching: review auth logs for password logins to locked or service accounts, check authorized_keys files and new accounts or persistence, and rotate credentials and keys if suspicious logins appear.

Key dates

Published (NVD)

November 5, 2026

Added to CISA KEV

November 9, 2026

Remediation deadline

November 12, 2026

Last updated

November 10, 2026

Frequently Asked Questions

Yes, if OpenBSD OpenSSH runs inside your authorization boundary. CVE-2026-123158 is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, and its remediation deadline of November 12, 2026 has already passed. An unpatched KEV in a FedRAMP-authorized boundary is an assessor finding, and an overdue one is already visible to your assessor and sponsoring agency. You need to remediate it now or formally document the mitigation and the reason for the delay.

Knox does not patch your software. Under the FedRAMP shared-responsibility model, remediating OpenBSD OpenSSH is your responsibility. Knox provides the pre-authorized, single-tenant boundary where you apply the fix, along with continuous compliance monitoring and audit-artifact coverage that help you document the remediation for your next assessment. The fix is yours to apply, but you do not carry the compliance burden alone while you apply it.

Knox's automated continuous monitoring platform watches your environment for newly disclosed vulnerabilities and compliance issues, including ones like CVE-2026-123158. Exposure surfaces during ongoing monitoring, so you are not waiting for an assessor to raise it at review time.

Knox runs a FedRAMP-as-a-Service platform. It gives SaaS vendors a pre-authorized cloud boundary on AWS, Azure, and GCP. Your application inherits 60-80% of the required security controls. You reach FedRAMP authorization in about 90 days for roughly 90% less than the traditional $3.5M path. Book a meeting and Knox will map your path to authorization.

Because the November 12, 2026 deadline for CVE-2026-123158 has passed, an unremediated instance is already a Plan of Action and Milestones (POA&M) item. A growing POA&M list turns a routine continuous-monitoring review into a difficult conversation with your agency. Closing the item and documenting why the deadline slipped keeps your authorization clean and the agency relationship intact.

Access Continuous Compliance

We never compromise on security. Meet with our team to discuss scope, readiness, and map your company’s accelerated path to government certification.

Please see our Privacy Policy for details on how we will handle this information.

Submit
Submit