Advisory

UBUNTU-CVE-2026-0968

Also known as: CVE-2026-0968

Summary

The record has no summary.

Details

A flaw was found in libssh in which a malicious SFTP (SSH File Transfer Protocol) server can exploit this by sending a malformed 'longname' field within an SSH_FXP_NAME message during a file listing operation. This missing null check can lead to reading beyond allocated memory on the heap. This can cause unexpected behavior or lead to a denial of service (DoS) due to application crashes.

Severity

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

Dates

Published
2026-02-13 00:00 UTC
Modified
2026-04-22 16:17 UTC

Affected packages and fixes

libssh

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

0.9.6-2ubuntu0.22.04.6

Fix

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

libssh

Debian packages (deb) · Ubuntu 24.04

Affected

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

Fixed versions

0.10.6-2ubuntu0.3

Fix

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

Affected

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

Fixed versions

0.11.2-1ubuntu0.2

Fix

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