{
  "cveId": "CVE-2025-5351",
  "url": "https://patchblox.com/security/cve/CVE-2025-5351",
  "summary": "CVE-2025-5351 is fixed in 7 products on 1 platform, first by libssh-4 0.10.6-2ubuntu0.1, released June 24, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "Libssh: double free vulnerability in libssh key export functions",
  "description": "A flaw was found in the key export functionality of libssh. The issueoccurs in the internal function responsible for converting cryptographickeys into serialized formats. During error handling, a memory structure isfreed but not cleared, leading to a potential double free issue if anadditional failure occurs later in the function. This condition may resultin heap corruption or application instability in low-memory scenarios,posing a risk to system reliability where key export operations areperformed.",
  "published": "2025-06-24T17:00:00Z",
  "severity": "Moderate",
  "cvss": 6.5,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "cwe": "Double Free",
  "epss": 0.0063,
  "epssPercentile": 0.50465,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-5351",
  "fixes": [
    {
      "platform": "linux",
      "product": "libssh",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "0.10.6-0\u002Bdeb12u2",
      "fix": "DEBIAN-CVE-2025-5351",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-5351",
      "released": "2025-07-04T09:15:37Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "0.11.2-1",
      "fix": "DEBIAN-CVE-2025-5351",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-5351",
      "released": "2025-07-04T09:15:37Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "Debian 14",
      "fixedVersion": "0.11.2-1",
      "fix": "DEBIAN-CVE-2025-5351",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-5351",
      "released": "2025-07-04T09:15:37Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "RHEL 9",
      "fixedVersion": "0:0.10.4-18.el9",
      "fix": "RHSA-2026:18683",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2026-18683",
      "released": "2026-05-27T17:40:12Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "almalinux 9",
      "fixedVersion": "0.10.4-18.el9",
      "fix": "ALSA-2026:18683",
      "url": "https://patchblox.com/security/fix/linux/alsa-2026-18683",
      "released": "2026-05-19T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "amzn 2023",
      "fixedVersion": "0.10.6-1.amzn2023.0.2",
      "fix": "ALAS2023-2025-1155",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1155",
      "released": "2025-08-18T23:13:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "ol 9",
      "fixedVersion": "0:0.10.4-18.el9",
      "fix": "ELSA-2026-18683",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-18683",
      "released": "2026-06-12T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh",
      "release": "rocky 9",
      "fixedVersion": "0:0.10.4-18.el9",
      "fix": "RLSA-2026:18683",
      "url": "https://patchblox.com/security/fix/linux/rlsa-2026-18683",
      "released": "2026-05-28T15:43:06Z"
    },
    {
      "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 9",
      "fixedVersion": "0:0.10.4-18.el9",
      "fix": "RHSA-2026:18683",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2026-18683",
      "released": "2026-05-27T17:40:12Z"
    },
    {
      "platform": "linux",
      "product": "libssh-config",
      "release": "almalinux 9",
      "fixedVersion": "0.10.4-18.el9",
      "fix": "ALSA-2026:18683",
      "url": "https://patchblox.com/security/fix/linux/alsa-2026-18683",
      "released": "2026-05-19T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-config",
      "release": "amzn 2023",
      "fixedVersion": "0.10.6-1.amzn2023.0.2",
      "fix": "ALAS2023-2025-1155",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1155",
      "released": "2025-08-18T23:13:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-config",
      "release": "ol 9",
      "fixedVersion": "0:0.10.4-18.el9",
      "fix": "ELSA-2026-18683",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-18683",
      "released": "2026-06-12T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "0.10.6-1.amzn2023.0.2",
      "fix": "ALAS2023-2025-1155",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1155",
      "released": "2025-08-18T23:13:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-debugsource",
      "release": "amzn 2023",
      "fixedVersion": "0.10.6-1.amzn2023.0.2",
      "fix": "ALAS2023-2025-1155",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1155",
      "released": "2025-08-18T23:13:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-devel",
      "release": "RHEL 9",
      "fixedVersion": "0:0.10.4-18.el9",
      "fix": "RHSA-2026:18683",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2026-18683",
      "released": "2026-05-27T17:40:12Z"
    },
    {
      "platform": "linux",
      "product": "libssh-devel",
      "release": "almalinux 9",
      "fixedVersion": "0.10.4-18.el9",
      "fix": "ALSA-2026:18683",
      "url": "https://patchblox.com/security/fix/linux/alsa-2026-18683",
      "released": "2026-05-19T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-devel",
      "release": "amzn 2023",
      "fixedVersion": "0.10.6-1.amzn2023.0.2",
      "fix": "ALAS2023-2025-1155",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1155",
      "released": "2025-08-18T23:13:00Z"
    },
    {
      "platform": "linux",
      "product": "libssh-devel",
      "release": "ol 9",
      "fixedVersion": "0:0.10.4-18.el9",
      "fix": "ELSA-2026-18683",
      "url": "https://patchblox.com/security/fix/linux/elsa-2026-18683",
      "released": "2026-06-12T00: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-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}