A flaw has been found in libssh in versions prior to 0.9.6. The SSH protocol keeps track of two shared secrets during the lifetime of the session. One of them is called secret_hash and the other session_id. Initially, both of them are the same, but after key re-exchange, previous session_id is kept and used as an input to new secret_hash. Historically, both of these buffers had shared length variable, which worked as long as these buffers were same. But the key re-exchange operation can also change the key exchange method, which can be based on hash of different size, eventually creating "secret_hash" of different size than the session_id has. This becomes an issue when the session_id memory is zeroed or when it is used again during second key re-exchange.
Conclusion & alert: CVE-2021-3634 is rated Low Risk (36.5/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.12%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-08 | 0.31% | 0.12% | -0.20% |
| 2 | 2026-03-03 | 0.12% | 0.31% | +0.20% |
| 3 | 2025-11-21 | — | 0.12% | — |
Full EPSS history (25 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
| 4.0 | 2.0 | MEDIUM |
|
8.0 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2021-3634: 1 source package rows (libssh); 16 state rows across 8 repos (3.11-main, 3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 9. | https://security.alpinelinux.org/vuln/CVE-2021-3634 |
debian
|
not yet assigned | CVE-2021-3634 not yet assigned priority: Debian including 1 source packages (libssh), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-3634 |
gentoo
|
high | CVE-2021-3634: 1 GLSA(s) (202312-05), 1 atom(s) (net-libs/libssh); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-3634 |
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2021-3634 |
suse
|
low | CVE-2021-3634 severity low: SUSE including 278 source package names (13.2-3.8.1:libssh-config-0.9.8-150200.13.3.1, 13.2-3.8.1:libssh4-0.9.8-150200.13.3.1, …), 500 product×package rows across 101 product lines (Container suse/ltss/sle12.5/sles12sp5, Container suse/sle-micro-rancher/5.2, … (101 product lines)): Known Affected 225, Fixed 186, Known Not Affected 89. | https://www.suse.com/security/cve/CVE-2021-3634/ |
ubuntu
|
medium | CVE-2021-3634 medium priority: Ubuntu including 1 source packages (libssh), 8 status rows across 8 suites (bionic, focal, hirsute, impish, jammy, trusty, upstream, xenial): released 5, not-affected 2, DNE 1. | https://ubuntu.com/security/CVE-2021-3634 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| libssh | libssh | >= 0.9.1, < 0.9.6 | cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* |
| redhat | virtualization | 4.0 | cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux | 8.0 | cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:-:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| debian | debian_linux | 11.0 | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
| fedoraproject | fedora | 33 | cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
| fedoraproject | fedora | 34 | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
| fedoraproject | fedora | 35 | cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
| oracle | mysql_workbench | <= 8.0.27 | cpe:2.3:a:oracle:mysql_workbench:*:*:*:*:*:*:*:* |
| netapp | cloud_backup | — | cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:* |