CVE-2025-15382
JSON

5.1medium

Client SCP Request Triggers Buffer Overread by 1 Byte

Severity
5.1medium CVSS:4.0 by wolfSSL
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
wolfSSL

Description

A heap buffer over-read vulnerability exists in the wolfSSH_CleanPath() function in wolfSSH. An authenticated remote attacker can trigger the issue via crafted SCP path input containing '/./' sequences, resulting in a heap over read by 1 byte.

Affected

Product or packageVersionsReported by
wolfSSL wolfSSHfrom 1.4.12 before 1.4.21CVE List
wolfssh wolfsshfrom 1.4.12 before 1.4.22NVD

All scores

wolfSSL5.1medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

A heap buffer over-read vulnerability exists in the wolfSSH_CleanPath() function in wolfSSH. An authenticated remote attacker can trigger the issue via crafted SCP path input containing '/./' sequences, resulting in a heap over read by 1 byte.

NVD (es)

Existe una vulnerabilidad de lectura excesiva de búfer en el heap en la función wolfSSH_CleanPath() de wolfSSH. Un atacante remoto autenticado puede desencadenar el problema a través de una entrada SCP de ruta manipulada que contenga secuencias '/./', resultando en una lectura excesiva del heap por 1 byte.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-15382 changed 2026-01-06CVE Terms of Use
NVDCVE-2025-15382 changed 2026-10-13Public domain