Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise SSH credentials
-
DeliveryEstablish SSH connection
-
ExploitRequest pseudo-terminal allocation
-
ExecutionSend malformed resize request
-
PersistTrigger buffer over-read
-
ImpactLeak stack memory to output
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer over-read prevention
|
| Exploitation Conditions | Exploitation requires: (1) valid SSH credentials or key pair accepted by the wolfSSHd instance; (2) wolfSSHd running on Windows with pseudo-console (ConPTY) support enabled; (3) target version wolfSSH <1.5.0; (4) SSH session with allocated pseudo-terminal (pty-req channel request accepted). The out-of-bounds read is triggered specifically by malformed terminal resize requests (window-change) within an active PTY session. Non-Windows deployments and configurations without PTY support are not vulnerable. Default wolfSSHd installations with PTY enabled on Windows are at risk if authentication is compromised; this is not a pre-authentication vulnerability. |
| Impact | CVSS vector CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:L indicates: network-accessible service (AV:N), low attack complexity (AC:L), authenticated attacker required (PR:L), and attack timing/physical trigger component (AT:P suggesting server-side condition dependency). The confidentiality impact is limited (VC:L) - only adjacent stack memory leaks, not full memory disclosure. Integrity and availability are not impacted (VI:N, VA:N, SI:N, SA:N). The CVSS 2.3 score correctly reflects low real-world severity: exploitation requires prior authentication (credential/key compromise), Windows platform specifically, and relies on stack layout predictability. This is NOT a remote code execution or privilege escalation vector. Risk is primarily to sensitive data in stack frames adjacent to the terminal resize buffer - potentially SSH session keys, passphrases, or other sensitive state. Exploitation likelihood depends on attacker motivation to perform low-value memory reconnaissance post-compromise; no public exploit code identified at time of analysis. No KEV status provided; this is unlikely to be actively exploited given authentication barrier and low information value. Patch availability mitigates future risk. |
| Exploit ScenarioDerived | An attacker with valid SSH credentials to a Windows-based wolfSSHd server establishes an SSH connection and requests a pseudo-terminal (pty-req). The attacker then sends a specially crafted terminal resize request (window-change) with malformed dimension data that triggers an out-of-bounds read in the ConPTY handler. Adjacent stack memory contents (potentially containing encryption keys, passphrases, or session state) are read and leaked back to the attacker via the terminal output stream. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 21, 2026
Out-of-bounds read in wolfSSHd on Windows allows authenticated users to leak adjacent stack memory via malformed terminal resize requests, exposing sensitive data through pseudo-console output. Affects wolfSSH versions prior to 1.5.0. CVSS score of 2.3 reflects low severity due to authentication requirement and limited confidentiality impact; vendor patch available.
RemediationAI
Upgrade wolfSSH to version 1.5.0 or later, which includes the patch referenced in GitHub PR #846. The fix validates terminal resize request bounds and prevents out-of-bounds reads from pseudo-console handlers. If immediate upgrade is not feasible, apply the upstream fix from the merged PR #846 (https://github.com/wolfssl/wolfssh/pull/846) by building from the patched commit. As a temporary compensating control with significant limitations, restrict SSH access to wolfSSHd instances to trusted networks only (e.g., VPN, private subnets) to reduce credential compromise risk that enables this attack; however, this does NOT prevent exploitation by legitimate authenticated users and should not be relied upon as primary mitigation. Disable terminal/PTY functionality entirely if not required (disable CHANNEL_REQUEST handling for pty-req in configuration) - this eliminates the attack surface but breaks interactive terminal sessions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
wolfSSH is a lightweight SSH server/client library used in embedded and resource-constrained environments. The vulnerability exists in the terminal resize request handler (likely CHANNEL_REQUEST for pty-req with window-change), which fails to properly validate buffer boundaries when processing resize data on Windows. The out-of-bounds read (CWE-126: Buffer Over-read) occurs in code handling pseudo-console (ConPTY) operations specific to Windows terminals. An authenticated SSH client sends a specially crafted resize request containing invalid dimensions or malformed data, causing the handler to read beyond allocated buffer bounds. The leaked stack memory is then transmitted to the client via the pseudo-console output stream, violating data confidentiality.
Know when Wolfssh gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
Primary rating from Vendor (wolfSSL) · only source for this CVE.
CVSS VectorVendor: wolfSSL
Lifecycle Timeline
4DescriptionCVE.org
Potential read out of bounds case with wolfSSHd on Windows while handling a terminal resize request. An authenticated user could trigger the out of bounds read after establishing a connection which would leak the adjacent stack memory to the pseudo-console output.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
WolfSSH v1.4.7 was discovered to contain an integer overflow via the function wolfSSH_SFTP_RecvRMDIR. Rated critical sev
Improper authentication handling in the wolfSSH key-exchange state machine (versions 1.4.21 and earlier) allows an attac
Authentication bypass in wolfSSH 1.4.20 and earlier clients allows a malicious or man-in-the-middle SSH server to skip p
A vulnerability was found in wolfSSH's server-side state machine before versions 1.4.17. Rated critical severity (CVSS 9
Host key substitution in wolfSSH clients using ECDSA host keys lets an unauthenticated, network-positioned attacker have
Windows logon token reuse in wolfSSHd versions 1.4.15 through 1.5.0 allows an authenticated low-privilege user to impers
Pre-authentication CPU exhaustion affects wolfSSH servers through 1.5.0 that are built with Diffie-Hellman group-exchang
wolfSSH through 1.5.0, when compiled with the --enable-fwd (WOLFSSH_FWD) TCP/IP forwarding option, fails to apply its fo
An authenticated remote attacker with a valid SSH session can trigger a one-byte out-of-bounds stack write in wolfSSH v1
A heap buffer over-read vulnerability exists in the wolfSSH_CleanPath() function in wolfSSH. An authenticated remote att
The wolfSSH SFTP server component contains a stack-based out-of-bounds write (CWE-787) that can be triggered by an authe
EUVD-2026-23950
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB