Impact
The vulnerability is an unsigned integer underflow in wstrncat() in wolfSSH, allowing a remote attacker that can authenticate via SFTP to send a specially crafted path. The flaw makes the length calculation wrap, resulting in a single null byte being written one byte past the end of a stack buffer. This off‑by‑one write can corrupt an adjacent stack value and crash the process, potentially enabling further exploitation in the same session. The impact is limited to denial of service for the affected SSH service, but the corrupted stack may expose the attacker to additional risks if the application does not guard against further attacks.
Affected Systems
wolfSSL Inc. product wolfSSH, versions from 1.4.11 through 1.5.0 on non‑Windows platforms. Applications that call the public wolfSSH_RealPath() function with an output buffer smaller than the input path are also susceptible because the internal length check can wrap as well.
Risk and Exploitability
The CVSS score of 5.3 indicates a moderate severity. No EPSS score is publicly available and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a remote authenticated attacker sending a crafted SFTP path over the network. Because the bug corrupts only a single null byte, exploitation is non‑trivial but can still cause the process to crash, denying service to legitimate users.
OpenCVE Enrichment