bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-58051

8.3high

libssh21.11.1 · 1.11.0in 4 of 4 releases

Reach libssh2 · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

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.

Published 2026-06-28NVD

CVSS 4.0Network · no privileges · no user interaction

How it is reached

Attack vector
Network
Attack complexity
High
Attack requirements
None
Privileges required
None
User interaction
None

What it costs

Confidentiality
None
Integrity
Low
Availability
High

What it costs other systems

Confidentiality
None
Integrity
None
Availability
None

CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

References 4
Review Av26.10.0x86_64Not exposedAccepted by a member, 2026-11-12. The vulnerable code is present and unfixed: output/build/libssh2-1.11.1/src/publickey.c grows the key list with LIBSSH2_REALLOC without zeroing (lines 960-975) and err_exit (1213-1220) calls libssh2_publickey_list_free on it; none of the 10 Buildroot patches address this (0009 is CVE-2026-66034, a different bounds check).This build follows it · open the review →

Members of Kernel Kit decide. Sign in if you are one.