Advisory

DEBIAN-CVE-2026-58050

Also known as: CVE-2026-58050

Summary

The record has no summary.

Details

libssh2 through 1.11.1 reads an attacker-controlled 32-bit attribute count from a publickey-subsystem response and uses it in the allocation num_attrs * sizeof(libssh2_publickey_attribute) without bounds checking, so on 32-bit platforms the multiplication overflows to an undersized buffer. A malicious SSH server can then drive the attribute-parsing loop to write past the allocation, causing a heap buffer overflow in a connecting libssh2 client.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-06-28 02:16 UTC
Modified
2026-10-26 11: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