Advisory

DEBIAN-CVE-2026-58051

Also known as: CVE-2026-58051

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-06-28 02:16 UTC
Modified
2026-11-11 09:47 UTC

Affected packages and fixes

libssh2

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.10.0-3+deb12u1 (ecosystem)

Fixed versions

1.10.0-3+deb12u1

Fix

  • Fixed version 1.10.0-3+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libssh2

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.11.1-1+deb13u2 (ecosystem)

Fixed versions

1.11.1-1+deb13u2

Fix

  • Fixed version 1.11.1-1+deb13u2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libssh2

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.11.1-6 (ecosystem)

Fixed versions

1.11.1-6

Fix

  • Fixed version 1.11.1-6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences