{
  "cveId": "CVE-2025-5372",
  "url": "https://patchblox.com/security/cve/CVE-2025-5372",
  "summary": "CVE-2025-5372 is fixed in 5 products on 1 platform, first by libssh-4 0.9.6-2ubuntu0.22.04.4, released June 24, 2025. It is not reported as exploited. Patch Radar priority: High.",
  "title": "Libssh: incorrect return code handling in ssh_kdf() in libssh",
  "description": "A flaw was found in libssh versions built with OpenSSL versions older than3.0, specifically in the ssh_kdf() function responsible for key derivation.Due to inconsistent interpretation of return values where OpenSSL uses 0 toindicate failure and libssh uses 0 for success\u2014the function may mistakenlyreturn a success status even when key derivation fails. This results inuninitialized cryptographic key buffers being used in subsequentcommunication, potentially compromising SSH sessions\u0027 confidentiality,integrity, and availability.",
  "published": "2025-06-24T17:00:00Z",
  "severity": "Moderate",
  "cvss": 8.8,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "cwe": "Incorrect Calculation",
  "epss": 0.00513,
  "epssPercentile": 0.43999,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-5372",
  "fixes": [
    {
      "platform": "linux",
      "product": "libssh",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "0.10.6-0\u002Bdeb12u2",
      "fix": "DEBIAN-CVE-2025-5372",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-5372",
      "released": "2025-07-04T06:15:24Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "0.11.2-1",
      "fix": "DEBIAN-CVE-2025-5372",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-5372",
      "released": "2025-07-04T06:15:24Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "Debian 14",
      "fixedVersion": "0.11.2-1",
      "fix": "DEBIAN-CVE-2025-5372",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-5372",
      "released": "2025-07-04T06:15:24Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "RHEL 8",
      "fixedVersion": "0:0.9.6-16.el8_10",
      "fix": "RHSA-2025:21977",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2025-21977",
      "released": "2025-11-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "almalinux 8",
      "fixedVersion": "0.9.6-16.el8_10",
      "fix": "ALSA-2025:21977",
      "url": "https://patchblox.com/security/fix/linux/alsa-2025-21977",
      "released": "2025-11-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "ol 8",
      "fixedVersion": "0:0.9.6-16.el8_10",
      "fix": "ELSA-2025-21977",
      "url": "https://patchblox.com/security/fix/linux/elsa-2025-21977",
      "released": "2025-11-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "0.9.8-150600.11.3.1",
      "fix": "SUSE-SU-2025:02229-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-02229-1",
      "released": "2025-07-04T16:02:31Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "rocky 8",
      "fixedVersion": "0:0.9.6-16.el8_10",
      "fix": "RLSA-2025:21977",
      "url": "https://patchblox.com/security/fix/linux/rlsa-2025-21977",
      "released": "2025-11-25T09:03:41Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "sles 15.6",
      "fixedVersion": "0.9.8-150600.11.3.1",
      "fix": "SUSE-SU-2025:02229-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-02229-1",
      "released": "2025-07-04T16:02:31Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "sles 15.7",
      "fixedVersion": "0.9.8-150600.11.3.1",
      "fix": "SUSE-SU-2025:02229-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-02229-1",
      "released": "2025-07-04T16:02:31Z"
    },
    {
      "platform": "linux",
      "product": "libssh-4",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "0.9.6-2ubuntu0.22.04.4",
      "fix": "libssh-4 0.9.6-2ubuntu0.22.04.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libssh-4-0.9.6-2ubuntu0.22.04.4",
      "released": "2025-06-24T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-4",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "0.10.6-2ubuntu0.1",
      "fix": "libssh-4 0.10.6-2ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-libssh-4-0.10.6-2ubuntu0.1",
      "released": "2025-06-24T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-4",
      "release": "Ubuntu 24.10 (oracular)",
      "fixedVersion": "0.10.6-3ubuntu1.1",
      "fix": "libssh-4 0.10.6-3ubuntu1.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-oracular-libssh-4-0.10.6-3ubuntu1.1",
      "released": "2025-06-25T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-4",
      "release": "Ubuntu 25.04 (plucky)",
      "fixedVersion": "0.11.1-1ubuntu0.1",
      "fix": "libssh-4 0.11.1-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-plucky-libssh-4-0.11.1-1ubuntu0.1",
      "released": "2025-06-25T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-config",
      "release": "RHEL 8",
      "fixedVersion": "0:0.9.6-16.el8_10",
      "fix": "RHSA-2025:21977",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2025-21977",
      "released": "2025-11-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-config",
      "release": "almalinux 8",
      "fixedVersion": "0.9.6-16.el8_10",
      "fix": "ALSA-2025:21977",
      "url": "https://patchblox.com/security/fix/linux/alsa-2025-21977",
      "released": "2025-11-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-config",
      "release": "ol 8",
      "fixedVersion": "0:0.9.6-16.el8_10",
      "fix": "ELSA-2025-21977",
      "url": "https://patchblox.com/security/fix/linux/elsa-2025-21977",
      "released": "2025-11-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-devel",
      "release": "RHEL 8",
      "fixedVersion": "0:0.9.6-16.el8_10",
      "fix": "RHSA-2025:21977",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2025-21977",
      "released": "2025-11-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-devel",
      "release": "almalinux 8",
      "fixedVersion": "0.9.6-16.el8_10",
      "fix": "ALSA-2025:21977",
      "url": "https://patchblox.com/security/fix/linux/alsa-2025-21977",
      "released": "2025-11-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-devel",
      "release": "ol 8",
      "fixedVersion": "0:0.9.6-16.el8_10",
      "fix": "ELSA-2025-21977",
      "url": "https://patchblox.com/security/fix/linux/elsa-2025-21977",
      "released": "2025-11-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-gcrypt-4",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "0.9.6-2ubuntu0.22.04.4",
      "fix": "libssh-gcrypt-4 0.9.6-2ubuntu0.22.04.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libssh-gcrypt-4-0.9.6-2ubuntu0.22.04.4",
      "released": "2025-06-24T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-gcrypt-4",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "0.10.6-2ubuntu0.1",
      "fix": "libssh-gcrypt-4 0.10.6-2ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-libssh-gcrypt-4-0.10.6-2ubuntu0.1",
      "released": "2025-06-24T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-gcrypt-4",
      "release": "Ubuntu 24.10 (oracular)",
      "fixedVersion": "0.10.6-3ubuntu1.1",
      "fix": "libssh-gcrypt-4 0.10.6-3ubuntu1.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-oracular-libssh-gcrypt-4-0.10.6-3ubuntu1.1",
      "released": "2025-06-25T00:00:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T00:53:09Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}