Bug 2493950 (CVE-2026-58051) - CVE-2026-58051 libssh2: libssh2: Denial of service or information disclosure via malformed SSH publickey response
Summary: CVE-2026-58051 libssh2: libssh2: Denial of service or information disclosure ...
Keywords:
Status: NEW
Alias: CVE-2026-58051
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2494413 2494414 2494415
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-28 03:01 UTC by OSIDB Bzimport
Modified: 2026-06-29 14:47 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-28 03:01:31 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.