Description
A vulnerability was found in libssh's server-side state machine before versions 0.7.6 and 0.8.4. A malicious client could create channels without first performing authentication, resulting in unauthorized access.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| [UNKNOWN] | libssh | 0.7.6, 0.8.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libssh | 0.8.4-1 | — |
| Debian 13 | libssh | 0.8.4-1 | — |
| Debian 12 | libssh | 0.8.4-1 | — |
| Debian 9 | libssh | 0.7.3-2+deb9u1 | DSA-4322-1 |
| Debian 8 | libssh | 0.6.3-4+deb8u3 | DLA-1548-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libssh | 0.8.0~20170825.94fa1e38-1ubuntu0.1 | USN-3795-1 |
| Ubuntu 16.04 LTS | libssh | 0.6.3-4.3ubuntu0.1 | USN-3795-1 |
| Ubuntu 14.04 LTS | libssh | 0.6.1-0ubuntu3.4 | USN-3795-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhel Extras Other 7 | cockpit +6 | 176-4.el7 | RHBA-2018:3712 |
| Red Hat Rhel Extras Other 7 | libssh +1 | 0.7.1-7.el7 | RHBA-2018:3712 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | libssh | 0.7.5-6.3.1 | SUSE-SU-2018:3162-1 |
| SLES 12 SP3 | libssh | 0.6.3-12.6.1 | SUSE-SU-2018:3253-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libssh | 0.9.6-1.2 | openSUSE-SU-2024:10998-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libssh | 0.7.6-r0 | — |
| Alpine v3.23 | libssh | 0.7.6-r0 | — |
| Alpine v3.22 | libssh | 0.7.6-r0 | — |
| Alpine v3.21 | libssh | 0.7.6-r0 | — |
| Alpine v3.20 | libssh | 0.7.6-r0 | — |
Show 15 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libssh | 0.7.6-r0 | — |
| Alpine v3.18 | libssh | 0.7.6-r0 | — |
| Alpine v3.17 | libssh | 0.7.6-r0 | — |
| Alpine v3.16 | libssh | 0.7.6-r0 | — |
| Alpine v3.15 | libssh | 0.7.6-r0 | — |
| Alpine v3.14 | libssh | 0.7.6-r0 | — |
| Alpine v3.13 | libssh | 0.7.6-r0 | — |
| Alpine v3.12 | libssh | 0.7.6-r0 | — |
| Alpine v3.11 | libssh | 0.7.6-r0 | — |
| Alpine v3.10 | libssh | 0.7.6-r0 | — |
| Alpine v3.9 | libssh | 0.7.6-r0 | — |
| Alpine v3.8 | libssh | 0.7.6-r0 | — |
| Alpine v3.7 | libssh | 0.7.6-r0 | — |
| Alpine v3.6 | libssh | 0.7.6-r0 | — |
| Alpine v3.5 | libssh | 0.7.6-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
libssh Authentication Bypass Scanner
auxiliary/scanner/ssh/libssh_auth_bypass
Exploit-DB 2
- LibSSH 0.7.6 / 0.8.4 - Unauthorized Access EDB-46307 · remote · Oct 20, 2018 · verified
- libSSH - Authentication Bypass EDB-45638 · remote · Oct 18, 2018
GitHub 39 repositories · most starred shown
-
blacknbunny/CVE-2018-10933 ★ 498 · Oct 17, 2018
Spawn to shell without any credentials by using CVE-2018-10933 (LibSSH)
-
jobroche/libssh-scanner ★ 235 · Oct 17, 2018
Script to identify hosts vulnerable to CVE-2018-10933
-
SoledaD208/CVE-2018-10933 ★ 126 · Oct 17, 2018
CVE-2018-10933 very simple POC
-
hackerhouse-opensource/cve-2018-10933 ★ 110 · Oct 18, 2018
cve-2018-10933 libssh authentication bypass
-
jas502n/CVE-2018-10933 ★ 22 · Oct 20, 2018
libssh CVE-2018-10933
-
kn6869610/CVE-2018-10933 ★ 14 · Oct 17, 2018
Leveraging it is a simple matter of presenting the server with the SSH2_MSG_USERAUTH_SUCCESS message, which shows that the login already occurred without a problem. The server expects the message SSH…
-
Virgula0/POC-CVE-2018-10933 ★ 11 · Oct 20, 2018
LibSSH Authentication Bypass Exploit using RCE
-
marco-lancini/hunt-for-cve-2018-10933 ★ 10 · Oct 18, 2018
Hunt for and Exploit the libSSH Authentication Bypass (CVE-2018-10933)
-
nikhil1232/LibSSH-Authentication-Bypass ★ 6 · Dec 19, 2018
LibSSH Authentication Bypass CVE-2018-10933
-
HSw109/CVE-2018-10933 ★ 4 · Apr 1, 2024
Education purpose for CVE-2018-10933
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 11
- WID-SEC-2022-1696 Oracle MySQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 13, 2026
- RHBA-2018:3712 Red Hat Bug Fix Advisory: cockpit bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- USN-3795-1 libssh vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4322-1 libssh - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1548-1 libssh - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2018:3253-1 Security update for libssh SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10998-1 libssh-config-0.9.6-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3162-1 Security update for libssh SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-1051 libssh: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · May 7, 2024
- ICSA-21-007-01 Hitachi ABB Power Grids FOX615 Multiservice-Multiplexer CISA ICS & IT advisories · Jan 7, 2021
- ICSA-20-294-02 Hitachi ABB Power Grids XMC20 Multiservice-Multiplexer CISA ICS & IT advisories · Oct 20, 2020
References
- USN-3795-1 vendor-advisory
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- USN-3795-2 vendor-advisory
- DSA-4322 vendor-advisory
- 45638 exploit
- https://www.libssh.org/security/advisories/CVE-2018-10933.txt
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10933
- 105677 vdb-entry
- [debian-lts-announce] 20181018 [SECURITY] [DLA 1548-1] libssh security update mailing-list
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0016
- https://security.netapp.com/advisory/ntap-20190118-0002/