Advisory

UBUNTU-CVE-2026-3731

Also known as: CVE-2026-3731

Summary

The record has no summary.

Details

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.

Severity

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

Dates

Published
2026-03-08 11:15 UTC
Modified
2026-10-27 04:17 UTC

Affected packages and fixes

libssh

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.9.6-2ubuntu0.22.04.7 (ecosystem)

Fixed versions

0.9.6-2ubuntu0.22.04.7

Fix

  • Fixed version 0.9.6-2ubuntu0.22.04.7
    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.

libssh

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 0.10.6-2ubuntu0.4 (ecosystem)

Fixed versions

0.10.6-2ubuntu0.4

Fix

  • Fixed version 0.10.6-2ubuntu0.4
    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.

libssh

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 0.11.2-1ubuntu0.3 (ecosystem)

Fixed versions

0.11.2-1ubuntu0.3

Fix

  • Fixed version 0.11.2-1ubuntu0.3
    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.

libssh

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 0.11.3-1ubuntu2 (ecosystem)

Fixed versions

0.11.3-1ubuntu2

Fix

  • Fixed version 0.11.3-1ubuntu2
    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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences