USN-9187-1

Source
https://ubuntu.com/security/notices/USN-9187-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9187-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-9187-1
Upstream
CVE (5)
Related
Published
2026-11-23T17:32:05Z
Modified
2026-11-24T15:01:44Z
Summary
libssh vulnerabilities
Details

Haruto Kimura, Rinku Das, and Yi Lin discovered that libssh did not correctly handle SSH channel open messages advertising a zero maximum packet size. An authenticated user could possibly use this issue to cause libssh to use excessive resources, leading to a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (CVE-2026-59843)

Mikhail Ilin and Saransh Rana discovered that libssh did not correctly sanitize shell metacharacters when expanding usernames in ProxyCommand strings. An attacker could possibly use this issue to obtain sensitive information. (CVE-2026-59846)

Ben Smyth discovered that libssh incorrectly verified AES-GCM authentication tags when built with the OpenSSL backend. A remote attacker in a machine-in-the-middle position could possibly use this issue to modify encrypted traffic without detection. This issue only affected Ubuntu 20.04 LTS. (CVE-2026-59847)

It was discovered that libssh did not correctly handle SFTP server responses for unknown request IDs. A remote attacker controlling a malicious SFTP server could possibly use this issue to cause libssh to use excessive resources, leading to a denial of service. (CVE-2026-59848)

Zhou Qingyang discovered that libssh could invoke data callbacks on channels after they had been closed, leading to a use-after-free. A remote attacker could possibly use this issue to cause libssh to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (CVE-2026-59850)

References

Affected packages

Ubuntu:Pro:16.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh?arch=source&distro=esm-infra-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.6.3-4.3ubuntu0.6+esm6

Affected versions

0.*
0.6.3-3ubuntu3
0.6.3-4.1
0.6.3-4.2
0.6.3-4.2ubuntu1
0.6.3-4.3
0.6.3-4.3ubuntu0.1
0.6.3-4.3ubuntu0.2
0.6.3-4.3ubuntu0.5
0.6.3-4.3ubuntu0.6
0.6.3-4.3ubuntu0.6+esm1
0.6.3-4.3ubuntu0.6+esm2
0.6.3-4.3ubuntu0.6+esm3
0.6.3-4.3ubuntu0.6+esm4
0.6.3-4.3ubuntu0.6+esm5

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "libssh-4",
            "binary_version":  "0.6.3-4.3ubuntu0.6+esm6"
        },
        {
            "binary_name":  "libssh-gcrypt-4",
            "binary_version":  "0.6.3-4.3ubuntu0.6+esm6"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2026-59843",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-59846",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-59848",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-59850",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                    "source":  "NVD",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:Pro:16.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9187-1.json"

Ubuntu:Pro:18.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh?arch=source&distro=esm-infra%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.8.0~20170825.94fa1e38-1ubuntu0.7+esm8

Affected versions

0.*
0.7.5-1
0.8.0~20170825.94fa1e38-1
0.8.0~20170825.94fa1e38-1build1
0.8.0~20170825.94fa1e38-1ubuntu0.1
0.8.0~20170825.94fa1e38-1ubuntu0.2
0.8.0~20170825.94fa1e38-1ubuntu0.5
0.8.0~20170825.94fa1e38-1ubuntu0.6
0.8.0~20170825.94fa1e38-1ubuntu0.7
0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3
0.8.0~20170825.94fa1e38-1ubuntu0.7+esm4
0.8.0~20170825.94fa1e38-1ubuntu0.7+esm5
0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6
0.8.0~20170825.94fa1e38-1ubuntu0.7+esm7

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "libssh-4",
            "binary_version":  "0.8.0~20170825.94fa1e38-1ubuntu0.7+esm8"
        },
        {
            "binary_name":  "libssh-gcrypt-4",
            "binary_version":  "0.8.0~20170825.94fa1e38-1ubuntu0.7+esm8"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2026-59843",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-59846",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-59848",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-59850",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                    "source":  "NVD",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:Pro:18.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9187-1.json"

Ubuntu:Pro:20.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh?arch=source&distro=esm-infra%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.9.3-2ubuntu2.5+esm5

Affected versions

0.*
0.9.0-1ubuntu1
0.9.0-1ubuntu4
0.9.0-1ubuntu5
0.9.3-2ubuntu1
0.9.3-2ubuntu2
0.9.3-2ubuntu2.1
0.9.3-2ubuntu2.2
0.9.3-2ubuntu2.3
0.9.3-2ubuntu2.4
0.9.3-2ubuntu2.5
0.9.3-2ubuntu2.5+esm1
0.9.3-2ubuntu2.5+esm2
0.9.3-2ubuntu2.5+esm3
0.9.3-2ubuntu2.5+esm4

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "libssh-4",
            "binary_version":  "0.9.3-2ubuntu2.5+esm5"
        },
        {
            "binary_name":  "libssh-gcrypt-4",
            "binary_version":  "0.9.3-2ubuntu2.5+esm5"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2026-59843",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-59846",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-59847",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
                    "source":  "NVD",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-59848",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2026-59850",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                    "source":  "NVD",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:Pro:20.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9187-1.json"

Ubuntu:22.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.9.6-2ubuntu0.22.04.9

Affected versions

0.*
0.9.6-1
0.9.6-1build1
0.9.6-2
0.9.6-2build1
0.9.6-2ubuntu0.22.04.1
0.9.6-2ubuntu0.22.04.2
0.9.6-2ubuntu0.22.04.3
0.9.6-2ubuntu0.22.04.4
0.9.6-2ubuntu0.22.04.5
0.9.6-2ubuntu0.22.04.6
0.9.6-2ubuntu0.22.04.7
0.9.6-2ubuntu0.22.04.8

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "libssh-4",
            "binary_version":  "0.9.6-2ubuntu0.22.04.9"
        },
        {
            "binary_name":  "libssh-gcrypt-4",
            "binary_version":  "0.9.6-2ubuntu0.22.04.9"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [],
    "ecosystem":  "Ubuntu:22.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9187-1.json"

Ubuntu:24.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.10.6-2ubuntu0.6

Affected versions

0.*
0.10.5-3ubuntu1
0.10.5-3ubuntu2
0.10.6-2
0.10.6-2build1
0.10.6-2build2
0.10.6-2ubuntu0.1
0.10.6-2ubuntu0.2
0.10.6-2ubuntu0.3
0.10.6-2ubuntu0.4
0.10.6-2ubuntu0.5

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "libssh-4",
            "binary_version":  "0.10.6-2ubuntu0.6"
        },
        {
            "binary_name":  "libssh-gcrypt-4",
            "binary_version":  "0.10.6-2ubuntu0.6"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [],
    "ecosystem":  "Ubuntu:24.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9187-1.json"