{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2026-123158 in the wild since at least 9 Nov 2026.","exposure":"","fix":"Upgrade to a fixed version. US federal agencies must fix it by 12 Nov 2026.","what":"CVE-2026-123158 (SSHole) is a high-severity vulnerability in OpenSSH, published on 5 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-123158 (SSHole) and fix it if it is affected.\n\nWhat it is: CVE-2026-123158 (SSHole) is a high-severity vulnerability in OpenSSH, published on 5 Nov 2026. \nExploitation: Yes. Attackers have exploited CVE-2026-123158 in the wild since at least 9 Nov 2026.\n\nAffected product: OpenSSH. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-123158/ (Markdown: https://insights.sbomify.com/CVE-2026-123158/index.md)","id":"CVE-2026-123158","markdown":"https://insights.sbomify.com/CVE-2026-123158/index.md","name":"CVE-2026-123158 (SSHole)","record":{"aliases":["ALPINE-CVE-2026-123158","AZL-112871","BELL-CVE-2026-123158","DEBIAN-CVE-2026-123158","ECHO-fc8a-d0e0-9786","GHSA-4fcc-vm97-gx3x","UBUNTU-CVE-2026-123158"],"analysis":null,"analysis_generated_by":null,"assigner":"mitre","cpe":[{"name":"OpenBSD OpenSSH","product":"openssh","vendor":"openbsd"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-394","name":"Unexpected Status Code or Return Value"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-11-05","github_poc":38,"max_poc_stars":9,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-11-05T22:51:12Z","kind":"github_poc","ref":"https://github.com/gabrielunknown/CVE-2026-123158_SSHole","stars":9,"title":"CVE-2026-123158 SSHole — OpenSSH authentication bypass via musl crypt() overflow on Alpine Linux (Exploit PoC)"},{"date":"2026-11-06T08:01:34Z","kind":"github_poc","ref":"https://github.com/Maalfer/CVE-2026-123158","stars":4,"title":"Exploit para explotar la vulnerabilidad CVE-2026-123158 (conocida como sshole)."},{"date":"2026-11-05T20:09:29Z","kind":"github_poc","ref":"https://github.com/coboliqcom/cve-2026-123158-sshole-safe-rust","stars":1,"title":null},{"date":"2026-11-05T20:13:50Z","kind":"github_poc","ref":"https://github.com/ashrafzaryouh/CVE-2026-123158","stars":1,"title":"CVE-2026-123158"},{"date":"2026-11-05T21:32:16Z","kind":"github_poc","ref":"https://github.com/rothoma2/cve-2026-123158-sshole","stars":1,"title":"Scanner CVE-2026-123158 *SSHHole"},{"date":"2026-11-05T22:49:05Z","kind":"github_poc","ref":"https://github.com/ersinkoc/sshole-check","stars":1,"title":"Audit \u0026 interim mitigation for CVE-2026-123158 (*SSHole) — OpenSSH password bypass on musl/Alpine — across Docker containers, images and host"},{"date":"2026-11-06T10:53:29Z","kind":"github_poc","ref":"https://github.com/HackSpeak/CVE-2026-123158","stars":1,"title":"OpenSSH + musl password authentication bypass (sshole) checker: local precondition audit + remote verification; for authorized testing"},{"date":"2026-11-06T17:32:09Z","kind":"github_poc","ref":"https://github.com/crash00xd/CVE-2026-123158_SSHRole_PoC","stars":1,"title":"Prova de conceito para exploração da vulnerabilidade CVE-2026-123158."}],"tier":"exploited"},"has_fix":true,"headline":"OpenBSD OpenSSH Unexpected Status Code or Return Value","id":"CVE-2026-123158","indexable":true,"kev":{"dateAdded":"2026-11-09","dueDate":"2026-11-12","knownRansomwareCampaignUse":"Unknown","product":"OpenSSH","requiredAction":"Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). 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.","vendorProject":"OpenBSD","vulnerabilityName":"OpenBSD OpenSSH Unexpected Status Code or Return Value Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"openbsd:openssh","products":["openbsd:openssh"],"type":null,"year":"2026"},"n_packages":0,"n_references":8,"next":{"headline":"Insufficient Input Validation Vulnerability in NETGEAR Orbi RBR350","id":"CVE-2026-123178"},"nickname":"SSHole","packages":[],"prev":{"headline":"Gdb: gdb: stack buffer overflow in parse_tsv_definition via stale rs-\u003ebuf tail","id":"CVE-2026-123151"},"products":["OpenSSH"],"published":"2026-11-05","related":[{"cvss_score":10,"headline":"The SSH1 PAM challenge response authentication in OpenSSH 3.7.1 and 3.7.1p1, when Privilege Separation is disabled, does not check the resul","id":"CVE-2003-0786","kev_date_added":null,"published":"2003-09-25"},{"cvss_score":10,"headline":"A \"buffer management error\" in buffer_append_space of buffer.c for OpenSSH before 3.7 may allow remote attackers to execute arbitrary code b","id":"CVE-2003-0693","kev_date_added":null,"published":"2003-09-17"},{"cvss_score":10,"headline":"Buffer overflow in sshd in OpenSSH 2.3.1 through 3.3 may allow remote attackers to execute arbitrary code via a large number of responses du","id":"CVE-2002-0640","kev_date_added":null,"published":"2003-04-02"},{"cvss_score":10,"headline":"CORE SDI SSH1 CRC-32 compensation attack detector allows remote attackers to execute arbitrary commands on an SSH server or client via an integer overflow.","id":"CVE-2001-0144","kev_date_added":null,"published":"2001-05-07"},{"cvss_score":10,"headline":"Format string vulnerabilities in OpenBSD ssh program (and possibly other BSD-based operating systems) allow attackers to gain root privileges.","id":"CVE-2000-0999","kev_date_added":null,"published":"2000-11-29"},{"cvss_score":10,"headline":"OpenSSH does not properly drop privileges when the UseLogin option is enabled, which allows local users to execute arbitrary commands by pro","id":"CVE-2000-0525","kev_date_added":null,"published":"2000-10-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-11-10","vendors":["OpenBSD"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-123158/"}