{"id":"CLSA-2026-1789205759","summary":"Fix CVE(s): CVE-2026-58050, CVE-2026-66032","details":"   * SECURITY UPDATE: unchecked 32-bit attribute count from a publickey\n     subsystem response is multiplied by the attribute size without a\n     bounds check, so on 32-bit builds the product wraps to an undersized\n     allocation that the parsing loop then overflows\n     - debian/patches/CVE-2026-58050.patch: cap the attribute count at\n       1024 and fail with LIBSSH2_ERROR_OUT_OF_BOUNDARY before the\n       allocation, and zero-initialise the freshly reallocated list entry\n       so the new error path cannot free uninitialised attrs/packet\n       pointers in libssh2_publickey_list_free(), in\n       libssh2_publickey_list_fetch() in src/publickey.c\n     - CVE-2026-58050\n   * SECURITY UPDATE: double free in sftp_open() lets a malicious SSH\n     server corrupt the heap of an authenticated client opening an SFTP\n     session\n     - debian/patches/CVE-2026-66032.patch: set data to NULL after freeing\n       the SSH_FXP_STATUS response buffer on the FX_OK path, so the\n       if(badness) arm cannot free the same pointer a second time when the\n       follow-up sftp_packet_require() for SSH_FXP_HANDLE fails, in\n       sftp_open() in src/sftp.c\n     - CVE-2026-66032","modified":"2026-11-27T16:30:07.037220844Z","published":"2026-09-12T09:36:12Z","upstream":["CVE-2026-58050","CVE-2026-66032"],"references":[{"type":"ADVISORY","url":"https://errata.tuxcare.com/els_os/debian11els/CLSA-2026-1789205759.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58050"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66032"}],"affected":[{"package":{"name":"libssh2-1","ecosystem":"TuxCare:Debian:11","purl":"pkg:deb/tuxcare/libssh2-1?distro=debian-11"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.0-2+deb11u1+tuxcare.els2"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian11els/CLSA-2026-1789205759.json"}},{"package":{"name":"libssh2-1-dev","ecosystem":"TuxCare:Debian:11","purl":"pkg:deb/tuxcare/libssh2-1-dev?distro=debian-11"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.0-2+deb11u1+tuxcare.els2"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian11els/CLSA-2026-1789205759.json"}}],"schema_version":"1.9.2"}