Bug 2494415 - CVE-2026-58051 libssh2: libssh2: Denial of service or information disclosure via malformed SSH publickey response [fedora-all]
Summary: CVE-2026-58051 libssh2: libssh2: Denial of service or information disclosure ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: libssh2
Version: 45
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["f8c548b8-2b06-47d2-99d3-8...
Depends On:
Blocks: CVE-2026-58051
TreeView+ depends on / blocked
 
Reported: 2026-06-29 14:43 UTC by Srikanth Balasubramanian
Modified: 2026-08-17 15:04 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-06-29 14:43:05 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Aoife Moloney 2026-08-17 15:04:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


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