{
  "document": {
    "aggregate_severity": {
      "text": "Important"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      },
      {
        "category": "details",
        "text": "CVE-2025-5318: fix out-of-bounds read in sftp_handle function",
        "title": "Details"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/almalinux9.2esu/advisories/2025/clsa-2025_1757691233.json"
      },
      {
        "category": "self",
        "summary": "https://cve.tuxcare.com/els/releases/CLSA-2025:1757691233",
        "url": "https://cve.tuxcare.com/els/releases/CLSA-2025:1757691233"
      }
    ],
    "tracking": {
      "current_release_date": "2026-02-16T09:37:30Z",
      "generator": {
        "date": "2026-02-16T09:37:30Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CLSA-2025:1757691233",
      "initial_release_date": "2025-09-12T15:34:25Z",
      "revision_history": [
        {
          "date": "2025-09-12T15:34:25Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-02-16T09:37:30Z",
          "number": "2",
          "summary": "Update document"
        }
      ],
      "status": "final",
      "version": "2"
    },
    "title": "libssh: Fix of CVE-2025-5318"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "AlmaLinux 9.2",
                "product": {
                  "name": "AlmaLinux 9.2",
                  "product_id": "AlmaLinux-9.2",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:almalinux:almalinux:9.2:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "AlmaLinux"
          }
        ],
        "category": "vendor",
        "name": "AlmaLinux OS Foundation"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libssh-config-0:0.10.4-8.el9.tuxcare.els4.noarch",
                "product": {
                  "name": "libssh-config-0:0.10.4-8.el9.tuxcare.els4.noarch",
                  "product_id": "libssh-config-0:0.10.4-8.el9.tuxcare.els4.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/libssh-config@0.10.4-8.el9.tuxcare.els4?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libssh-0:0.10.4-8.el9.tuxcare.els4.i686",
                "product": {
                  "name": "libssh-0:0.10.4-8.el9.tuxcare.els4.i686",
                  "product_id": "libssh-0:0.10.4-8.el9.tuxcare.els4.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/libssh@0.10.4-8.el9.tuxcare.els4?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libssh-devel-0:0.10.4-8.el9.tuxcare.els4.i686",
                "product": {
                  "name": "libssh-devel-0:0.10.4-8.el9.tuxcare.els4.i686",
                  "product_id": "libssh-devel-0:0.10.4-8.el9.tuxcare.els4.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/libssh-devel@0.10.4-8.el9.tuxcare.els4?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libssh-0:0.10.4-8.el9.tuxcare.els4.x86_64",
                "product": {
                  "name": "libssh-0:0.10.4-8.el9.tuxcare.els4.x86_64",
                  "product_id": "libssh-0:0.10.4-8.el9.tuxcare.els4.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/libssh@0.10.4-8.el9.tuxcare.els4?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libssh-devel-0:0.10.4-8.el9.tuxcare.els4.x86_64",
                "product": {
                  "name": "libssh-devel-0:0.10.4-8.el9.tuxcare.els4.x86_64",
                  "product_id": "libssh-devel-0:0.10.4-8.el9.tuxcare.els4.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/libssh-devel@0.10.4-8.el9.tuxcare.els4?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-config-0:0.10.4-8.el9.tuxcare.els4.noarch as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:libssh-config-0:0.10.4-8.el9.tuxcare.els4.noarch"
        },
        "product_reference": "libssh-config-0:0.10.4-8.el9.tuxcare.els4.noarch",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-0:0.10.4-8.el9.tuxcare.els4.i686 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:libssh-0:0.10.4-8.el9.tuxcare.els4.i686"
        },
        "product_reference": "libssh-0:0.10.4-8.el9.tuxcare.els4.i686",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-0:0.10.4-8.el9.tuxcare.els4.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:libssh-0:0.10.4-8.el9.tuxcare.els4.x86_64"
        },
        "product_reference": "libssh-0:0.10.4-8.el9.tuxcare.els4.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-devel-0:0.10.4-8.el9.tuxcare.els4.i686 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:libssh-devel-0:0.10.4-8.el9.tuxcare.els4.i686"
        },
        "product_reference": "libssh-devel-0:0.10.4-8.el9.tuxcare.els4.i686",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-devel-0:0.10.4-8.el9.tuxcare.els4.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:libssh-devel-0:0.10.4-8.el9.tuxcare.els4.x86_64"
        },
        "product_reference": "libssh-devel-0:0.10.4-8.el9.tuxcare.els4.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2025-5318",
      "cwe": {
        "id": "CWE-125",
        "name": "Out-of-bounds Read"
      },
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in the libssh library in versions less than 0.11.2. An out-of-bounds read can be triggered in the sftp_handle function due to an incorrect comparison check that permits the function to access memory beyond the valid handle list and to return an invalid pointer, which is used in further processing. This vulnerability allows an authenticated remote attacker to potentially read unintended memory regions, exposing sensitive information or affect service behavior.",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "AlmaLinux-9.2:libssh-0:0.10.4-8.el9.tuxcare.els4.i686",
          "AlmaLinux-9.2:libssh-0:0.10.4-8.el9.tuxcare.els4.x86_64",
          "AlmaLinux-9.2:libssh-config-0:0.10.4-8.el9.tuxcare.els4.noarch",
          "AlmaLinux-9.2:libssh-devel-0:0.10.4-8.el9.tuxcare.els4.i686",
          "AlmaLinux-9.2:libssh-devel-0:0.10.4-8.el9.tuxcare.els4.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2025-5318"
        }
      ],
      "release_date": "2025-06-24T00:00:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2025-09-12T15:33:55.415955Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2025:1757691233",
          "product_ids": [
            "AlmaLinux-9.2:libssh-0:0.10.4-8.el9.tuxcare.els4.i686",
            "AlmaLinux-9.2:libssh-0:0.10.4-8.el9.tuxcare.els4.x86_64",
            "AlmaLinux-9.2:libssh-config-0:0.10.4-8.el9.tuxcare.els4.noarch",
            "AlmaLinux-9.2:libssh-devel-0:0.10.4-8.el9.tuxcare.els4.i686",
            "AlmaLinux-9.2:libssh-devel-0:0.10.4-8.el9.tuxcare.els4.x86_64"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2025:1757691233"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "products": [
            "AlmaLinux-9.2:libssh-0:0.10.4-8.el9.tuxcare.els4.i686",
            "AlmaLinux-9.2:libssh-0:0.10.4-8.el9.tuxcare.els4.x86_64",
            "AlmaLinux-9.2:libssh-config-0:0.10.4-8.el9.tuxcare.els4.noarch",
            "AlmaLinux-9.2:libssh-devel-0:0.10.4-8.el9.tuxcare.els4.i686",
            "AlmaLinux-9.2:libssh-devel-0:0.10.4-8.el9.tuxcare.els4.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    }
  ]
}