CVE-2025-15382
Unknown Unknown - Not Provided
Heap Buffer Over-read in wolfSSH_CleanPath() via Crafted SCP Path

Publication date: 2026-01-06

Last updated on: 2026-01-06

Assigner: wolfSSL Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-01-06
Last Modified
2026-01-06
Generated
2026-06-16
AI Q&A
2026-01-06
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wolfssl wolfssh to 2025-12-30 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a heap buffer over-read caused by an off-by-one error in the wolfSSH_CleanPath() function of wolfSSH. An authenticated remote attacker can exploit this by sending specially crafted SCP path input containing '/./' sequences, which triggers the function to read one byte beyond the intended buffer boundary, potentially leading to memory corruption or other security issues. [1]

Impact Analysis

The vulnerability can lead to a heap buffer over-read, which may cause memory corruption or unexpected behavior in the affected software. This could potentially be leveraged by an attacker to cause denial of service or to gain further access depending on the context, although the exact impact beyond the over-read is not detailed. [1]

Mitigation Strategies

Apply the patch that fixes the off-by-one error in the wolfSSH component. This fix was merged into the master branch of the wolfSSL project on December 30, 2025, as Pull Request #859. Updating to a version of wolfSSH that includes this patch will mitigate the vulnerability. [1]

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-15382. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart