نسخههای متأثر
Ubuntu22.04:LTS/libssh2
- نسخههای متأثر
- <1.10.0-3ubuntu0.1
- نسخهٔ اصلاحشده
- 1.10.0-3ubuntu0.1
Ubuntu24.04:LTS/libssh2
- نسخههای متأثر
- <1.11.0-4.1ubuntu0.24.04.3
- نسخهٔ اصلاحشده
- 1.11.0-4.1ubuntu0.24.04.3
Ubuntu25.10/libssh2
- نسخههای متأثر
- *
- نسخهٔ اصلاحشده
- اعلام نشده
Ubuntu26.04:LTS/libssh2
- نسخههای متأثر
- <1.11.1-1ubuntu0.26.04.3
- نسخهٔ اصلاحشده
- 1.11.1-1ubuntu0.26.04.3
UbuntuPro:14.04:LTS/libssh2
- نسخههای متأثر
- <1.4.3-2ubuntu0.2+esm4
- نسخهٔ اصلاحشده
- 1.4.3-2ubuntu0.2+esm4
UbuntuPro:16.04:LTS/libssh2
- نسخههای متأثر
- <1.5.0-2ubuntu0.1+esm3
- نسخهٔ اصلاحشده
- 1.5.0-2ubuntu0.1+esm3
UbuntuPro:18.04:LTS/libssh2
- نسخههای متأثر
- <1.8.0-1ubuntu0.1+esm1
- نسخهٔ اصلاحشده
- 1.8.0-1ubuntu0.1+esm1
UbuntuPro:20.04:LTS/libssh2
- نسخههای متأثر
- <1.8.0-2.1ubuntu0.1+esm1
- نسخهٔ اصلاحشده
- 1.8.0-2.1ubuntu0.1+esm1
شرح آسیبپذیری
libssh2 through 1.11.1 grows its publickey list with SSH2_REALLOC but does not zero-initialize new entries before parsing populates them, so a parse failure reaching the cleanup path leaves libssh2_publickey_list_free operating on an uninitialized entry. A malicious SSH server offering the publickey subsystem can use a malformed response to make cleanup free an uninitialized, attacker-influenceable attrs pointer in a connecting libssh2 client.
پیوندها
- https://github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-poc
- https://github.com/libssh2/libssh2/blob/master/src/publickey.c
- https://github.com/libssh2/libssh2/pull/2202
- https://ubuntu.com/security/CVE-2026-58051
- https://ubuntu.com/security/notices/USN-8532-1
- https://ubuntu.com/security/notices/USN-8799-1
- https://www.cve.org/CVERecord?id=CVE-2026-58051
- https://www.vulncheck.com/advisories/libssh2-free-of-uninitialized-pointer-in-publickey-list-cleanup

