نسخههای متأثر
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 reads an attacker-controlled 32-bit attribute count from a publickey-subsystem response and uses it in the allocation num_attrs * sizeof(libssh2_publickey_attribute) without bounds checking, so on 32-bit platforms the multiplication overflows to an undersized buffer. A malicious SSH server can then drive the attribute-parsing loop to write past the allocation, causing a heap buffer overflow 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/2205#discussion_r3523193089
- https://ubuntu.com/security/CVE-2026-58050
- https://ubuntu.com/security/notices/USN-8532-1
- https://ubuntu.com/security/notices/USN-8799-1
- https://www.cve.org/CVERecord?id=CVE-2026-58050
- https://www.vulncheck.com/advisories/libssh2-integer-overflow-in-publickey-subsystem-attribute-allocation

