nday
CVE-2025-5318

Libssh: out-of-bounds read in sftp_handle()

Red Hat / Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.2 Advanced Update Support, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On, Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support +19

Divulgation : . nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

out-of-bounds read
CWE-125, stated by the CNA redhat et NVD, republishing [email protected]
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N (CVSS 3.1) from the CNA redhat
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N (CVSS 3.1) from the CNA redhat
OpenShift
affected products in the CVE record: Red Hat · Red Hat OpenShift Container Platform 4.12, Red Hat · Red Hat OpenShift Container Platform 4.13, Red Hat · Red Hat OpenShift Container Platform 4.14, Red Hat · Red Hat OpenShift Container Platform 4.15, Red Hat · Red Hat OpenShift Container Platform 4.16, Red Hat · Red Hat OpenShift Container Platform 4.17, Red Hat · Red Hat OpenShift Container Platform 4.18, Red Hat · Red Hat OpenShift Container Platform 4.19, Red Hat · Red Hat OpenShift Container Platform 4.20CPE names NVD's analysts give as vulnerable: a:redhat:openshift_container_platform
virtualization / containers
affected products in the CVE record: Red Hat · Red Hat OpenShift Container Platform 4.12, Red Hat · Red Hat OpenShift Container Platform 4.13, Red Hat · Red Hat OpenShift Container Platform 4.14, Red Hat · Red Hat OpenShift Container Platform 4.15, Red Hat · Red Hat OpenShift Container Platform 4.16, Red Hat · Red Hat OpenShift Container Platform 4.17, Red Hat · Red Hat OpenShift Container Platform 4.18, Red Hat · Red Hat OpenShift Container Platform 4.19, Red Hat · Red Hat OpenShift Container Platform 4.20CPE names NVD's analysts give as vulnerable: a:redhat:openshift_container_platformthe product type of OpenShift in nday's product registry
étape actuelle
DIS
divulgation
CVSS
5.4 MEDIUM v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2025-06-24T14:10Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

CVSS 3.1 vector from the CVE record, scored by the CNA redhat.

Journal des événements

+DISdivulgation

Fiche CVE publiée par redhat. CVSS 5.4, gravité moyenne.

source cvelist · importé en masse par nday le · brut
{
  "id": 3436,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-5318",
  "occurred_at": "2025-06-24T14:10:07.188Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
      "version": "3.1",
      "base_score": 5.4,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-03-18T20:41:38.314148Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-06-24T14:10:07.188Z",
    "assigner_short_name": "redhat"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.