Description
The kex_agree_methods function in libssh2 before 1.5.0 allows remote servers to cause a denial of service (crash) or have other unspecified impact via crafted length values in an SSH_MSG_KEXINIT packet.
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 | libssh2 | 1.4.3-4.1 | — |
| Debian 13 | libssh2 | 1.4.3-4.1 | — |
| Debian 12 | libssh2 | 1.4.3-4.1 | — |
| Debian 7 | libssh2 | 1.4.2-1.1+deb7u1 | DSA-3182-1 |
| Debian 6.0 | libssh2 | 1.2.6-1+deb6u1 | DLA-171-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | libssh2 | 1.4.3-2ubuntu0.2 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | libssh2 +2 | 1.4.3-10.el7 | RHSA-2015:2140 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | libssh2_org | 1.11.0-29.6.1 | SUSE-RU-2023:4066-1 |
| SLES 12 | libssh2_org | 1.4.3-11.1 | SUSE-SU-2015:0669-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | libssh2_org | 1.11.0-29.6.1 | SUSE-RU-2023:4066-1 |
| SLES for SAP 12 | libssh2_org | 1.4.3-11.1 | SUSE-SU-2015:0669-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libssh2_org | 1.7.0-1.5 | openSUSE-SU-2024:10190-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | libssh2 +2 | 1.4.3-10.el7 | ELSA-2015-2140 |
Advisories 7
- RHSA-2015:2140 Red Hat Security Advisory: libssh2 security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DLA-171-1 libssh2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3182-1 libssh2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-RU-2023:4066-1 Recommended update for libssh2_org SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10190-1 libssh2-1-1.7.0-1.5 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:0669-1 Security update for libssh2_org SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2015-2140 Low: libssh2 security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 23, 2015
References
- FEDORA-2015-3757 vendor-advisory
- MDVSA-2015:148 vendor-advisory
- 73061 vdb-entry
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- DSA-3182 vendor-advisory
- FEDORA-2015-3791 vendor-advisory
- FEDORA-2015-3797 vendor-advisory
- http://www.libssh2.org/adv_20150311.html