Skip to content
Heist/ feed
Back to feed
UnratedFix available

libssh: Fix of 2 CVEs

Type: advisorySources: OSV

- CVE-2025-4878: initialize pointers and properly check the return value of ssh_pki_import_privkey_file() in privatekey_from_file(), so a missing key file no longer leaves an uninitialized key in use - CVE-2026-59846: validate usernames and reject shell metacharacters before they are expanded into a shell-evaluated ProxyCommand

Products
libssh, libssh-config, libssh-devel
Affected versions
Not specified
Fixed versions
0.10.4-8.el9_2.tuxcare.els15
CVEs
CVE-2025-4878, CVE-2026-59846
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 10:43 UTC · Revision 1

Source evidence

libssh: Fix of 2 CVEs

core-osv · Original source

Published 18 Aug 2026, 12:38 UTC

- CVE-2025-4878: initialize pointers and properly check the return value of ssh_pki_import_privkey_file() in privatekey_from_file(), so a missing key file no longer leaves an uninitialized key in use - CVE-2026-59846: validate usernames and reject shell metacharacters before they are expanded into a shell-evaluated ProxyCommand

osv:CLSA-2026-1787056678

libssh

Fixed versions: 0.10.4-8.el9_2.tuxcare.els15

libssh-config

Fixed versions: 0.10.4-8.el9_2.tuxcare.els15

libssh-devel

Fixed versions: 0.10.4-8.el9_2.tuxcare.els15

Complete source record
{
  "id": "cc9614ece15427871e71e21b26cfcc9cc0dff082ebd70d3b02f8862233eb603b",
  "url": "https://osv.dev/vulnerability/CLSA-2026-1787056678",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "libssh: Fix of 2 CVEs",
    "summary": "- CVE-2025-4878: initialize pointers and properly check the return value of ssh_pki_import_privkey_file() in privatekey_from_file(), so a missing key file no longer leaves an uninitialized key in use - CVE-2026-59846: validate usernames and reject shell metacharacters before they are expanded into a shell-evaluated ProxyCommand",
    "evidence": "osv:CLSA-2026-1787056678",
    "products": [
      {
        "name": {
          "value": "libssh",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.10.4-8.el9_2.tuxcare.els15",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libssh-config",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.10.4-8.el9_2.tuxcare.els15",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libssh-devel",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.10.4-8.el9_2.tuxcare.els15",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2026-1787056678",
      "aliases": [
        "CLSA-2026-1787056678"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.10.4-8.el9_2.tuxcare.els15"
                }
              ]
            }
          ],
          "package": {
            "name": "libssh",
            "purl": "pkg:rpm/tuxcare/libssh?distro=almalinux-9.2",
            "ecosystem": "TuxCare:AlmaLinux:9.2"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1787056678.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.10.4-8.el9_2.tuxcare.els15"
                }
              ]
            }
          ],
          "package": {
            "name": "libssh-config",
            "purl": "pkg:rpm/tuxcare/libssh-config?distro=almalinux-9.2",
            "ecosystem": "TuxCare:AlmaLinux:9.2"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1787056678.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.10.4-8.el9_2.tuxcare.els15"
                }
              ]
            }
          ],
          "package": {
            "name": "libssh-devel",
            "purl": "pkg:rpm/tuxcare/libssh-devel?distro=almalinux-9.2",
            "ecosystem": "TuxCare:AlmaLinux:9.2"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2026-1787056678.json"
          }
        }
      ],
      "modified": "2026-10-26T09:30:31.730554291Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-4878",
        "CVE-2026-59846"
      ],
      "references": [
        "https://errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1787056678.html",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-4878",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-59846"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-4878",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2026-59846",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 447109,
  "published_at": "2026-08-18T12:38:09+00:00"
}