CVE-2025-15382CWE-125

CVE-2025-15382

High · published January 6, 2026

CVSS v3.1
8.1
EPSS
0%
Percentile
27.6
In the wild
Unconfirmed
What it is

⚠️ A crafty input is all it takes to trigger a heap buffer over-read! In the wolfSSH_CleanPath() function, an attacker can exploit this by sending a specially crafted SCP path with '/./' sequences. 🔥 Think of it like a librarian who accidentally reads the last item on a shelf because they misinterpreted the catalog — they're reading more than they should, leading to confusion and potential chaos in the records. 📚 This vulnerability allows an authenticated attacker to exploit the system, resulting in unintentional exposure of memory contents. While it may not seem catastrophic, it can lead to unintended information leaks that could be leveraged for more severe attacks in the future.

Put simply

Think of it like a librarian who accidentally reads the last item on a shelf because they misinterpreted the catalog — they're reading more than they should, leading to confusion and potential chaos in the records. 📚 The heap buffer over-read occurs when the wolfSSH_CleanPath() function incorrectly processes '/./' sequences in the SCP path provided by the attacker, allowing them to read beyond the intended memory area by just one byte.

What to do

This vulnerability allows an authenticated attacker to exploit the system, resulting in unintentional exposure of memory contents. While it may not seem catastrophic, it can lead to unintended information leaks that could be leveraged for more severe attacks in the future. To mitigate this vulnerability, ensure you patch wolfSSH to the latest version available. Additionally, validate and sanitize all SCP path inputs to prevent any malicious sequences from being processed. Regular audits of input validation can keep your system secure! You've got this! With a few tweaks, you can lock down your application and keep it secure. 🛡️

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00351 · 27.6th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2026-01-06T23:15Z
Affected products (1)
ProductVersionsFixed in
wolfssh/wolfssh≥ 1.4.12, < 1.4.221.4.22
References (1)
EPSS history
Timeline
  • 06 JAN 17:43Z
    Client SCP Request Triggers Buffer Overread by 1 Byte
    cvelistv5