Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEstablish SSH peer connection to wolfSSH endpoint
-
DeliverySend repeated forwarded-tcpip channel opens
-
ExploitBypass missing forwarding authorization check
-
ExecutionAllocate unbounded per-channel buffers
-
ImpactExhaust memory and deny service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerable code path exists only when wolfSSH is compiled with the --enable-fwd (WOLFSSH_FWD) TCP/IP forwarding feature - endpoints built without forwarding support are not affected, which is a significant limiting factor. Two concrete conditions apply: (1) the DoS/unbounded-allocation case requires an endpoint that accepts forwarding channel opens, where DoChannelOpen() admits forwarded-tcpip opens without running the forwarding policy callback and without any cap on channel count; (2) the RFC 4254 §7.2 violation requires a wolfSSH CLIENT connecting to a malicious SERVER, because the client fails to validate a forwarded-tcpip open against the forwards it actually registered via tcpip-forward. No special authentication is listed as required per the PR:N vector, but a malicious SSH peer relationship (AT:P) must first be established, and impact is confined to availability (memory exhaustion). |
| Impact | This is a medium-severity resource-management and authorization flaw (CVSS 4.0 base 6.3), not a critical issue. The provided CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N) tells a consistent story: network-reachable, low attack complexity, no privileges, but impact is limited to a LOW availability hit on the vulnerable system only - there is NO confidentiality (VC:N) or integrity (VI:N) impact, and no scope change (SC/SI/SA:N). This matches the description, which is about unbounded per-channel buffer allocation (memory exhaustion / DoS) and admitting unauthorized forwarding channels, consistent with the CWE-862 (Missing Authorization) classification. The AT:P (Attack Requirements: Present) metric reflects that a malicious SSH peer relationship must be established first. No EPSS score, KEV listing, or POC was supplied in the intelligence, so there is no evidence of active exploitation or weaponization - this appears to be a vendor-discovered-and-fixed hardening issue (reported by wolfSSL itself) rather than an in-the-wild threat. Note a tension worth flagging: the issue is tagged 'Authentication Bypass' but the CWE and description describe MISSING AUTHORIZATION (a forwarding policy check is skipped), not credential/authentication bypass - these are distinct and the tag overstates the nature of the flaw. Overall priority: patch on normal cadence for deployments that actually build with --enable-fwd; low urgency for everyone else. |
| Exploit ScenarioDerived | A malicious SSH server (or peer) that a wolfSSH endpoint connects to repeatedly sends forwarded-tcpip channel-open requests. Because these opens skip the forwarding policy callback and are not capped, the victim endpoint allocates unbounded per-channel forwarding buffers, exhausting memory and degrading or crashing the service. No public exploit identified at time of analysis; the attack requires the target to be built with --enable-fwd and is low-complexity once a peer connection exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
wolfSSH through 1.5.0, when compiled with the --enable-fwd (WOLFSSH_FWD) TCP/IP forwarding option, fails to apply its forwarding policy callback or any channel-count cap to incoming forwarded-tcpip channel opens, so a malicious SSH peer can force unbounded per-channel buffer allocation and exhaust endpoint memory. The same code path leaves wolfSSH clients validating nothing: a forwarded-tcpip open is not checked against the forwards the client actually registered via tcpip-forward, contrary to RFC 4254 section 7.2, and a server should never receive a forwarded-tcpip open at all. Impact is limited to availability (memory exhaustion, assessed CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L; vendor CVSS 4.0 base 6.3), the forwarding feature must be explicitly enabled at build time, and no public exploit code was identified at time of analysis. No vendor-released tagged fix version is confirmed from the provided data; upstream patch commits exist.
RemediationAI
Apply the upstream fixes referenced in the advisory data: commits 616eb681e70759c30c3ba158f2b18d7bd954def8 (DoChannelOpen direction check and fail-closed forwarding policy handling in src/internal.c, plus regress.c test), e396a0a4b6b367f10270287446a4be0071742b5c, and 79a7f299337a28aa561409688a268d0efe6e295c (https://github.com/wolfSSL/wolfssh). Patch status is upstream fix available (PR/commit); a tagged released patched version is not independently confirmed from the provided data, so verify the release tag or commit your build actually consumes. As a compensating control where patching is not immediately possible, rebuild without --enable-fwd (WOLFSSH_FWD) - this removes the vulnerable forwarding code entirely, at the cost of losing all TCP/IP forwarding functionality for applications that need it; that trade-off is acceptable only for deployments that do not rely on SSH port forwarding. Setting a forwarding policy callback (wolfSSH_CTX_SetFwdCb) reduces but does not fully close the gap on unpatched code, since the affected forwarded-tcpip path bypassed that callback and remained uncapped, so it must not be treated as equivalent to the fix. Because the exposure requires an established SSH peer relationship and only affects availability through memory exhaustion, monitoring per-connection channel counts and process memory usage on forwarding-enabled endpoints and limiting which peers may open forwarding channels provides additional containment until the patched commit is deployed.
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
The flaw is classified CWE-862 (Missing Authorization) and lives in DoChannelOpen() in src/internal.c, part of wolfSSH's implementation of the SSH connection protocol (RFC 4254). Two channel types are relevant: direct-tcpip, sent by a client asking the peer to connect onward on its behalf, and forwarded-tcpip, sent by a server back to a client to announce an inbound connection on a forward the client previously requested with tcpip-forward. In the affected code only direct-tcpip opens were routed through the registered forwarding policy callback (fwdCb); forwarded-tcpip opens skipped that authorization hook entirely and were not bounded in number, so each admitted channel consumed per-channel buffers indefinitely. Additionally, the client-side path never cross-checked a forwarded-tcpip open's destination address and port against the forwards the client had registered, which RFC 4254 section 7.2 requires; a malicious server could therefore open forwarding channels for addresses and ports the client never asked for. The entire vulnerable surface is compiled in only under WOLFSSH_FWD (--enable-fwd); builds without forwarding support do not contain these paths. The upstream fix adds a direction check that rejects forwarded-tcpip opens arriving at a server (the wrong direction) with OPEN_ADMINISTRATIVELY_PROHIBITED before any policy callback or state update, extends the forward policy callback requirement to both forwarding channel types so they fail closed when no fwdCb is set, and adds a regression test (TestForwardedTcpipOnServerSendsOpenFail) confirming the rejection even when an fwdCb is configured.
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:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Network-reachable channel-open abuse with no privileges or user interaction; impact limited to availability (unbounded buffer allocation / DoS), with no confidentiality or integrity effect.
Primary rating from Vendor (wolfSSL).
CVSS VectorVendor: wolfSSL
DescriptionCVE.org
In wolfSSH through 1.5.0 built with --enable-fwd, DoChannelOpen() in src/internal.c gates only direct-tcpip channel opens with the forwarding policy callback. forwarded-tcpip opens are admitted without an authorization check and are not capped in number, allowing a malicious SSH peer to make an endpoint allocate unbounded per-channel buffers for forwarding channels the application never authorized. A client also does not check a forwarded-tcpip open against the forwards it registered with a tcpip-forward request, as RFC 4254 section 7.2 requires, so a malicious server can open forwarding channels for addresses and ports the client never asked it to forward.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Related Vulnerabilities in wolfSSH Authentication and Protocol Flaws
View all 5WolfSSH 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
A heap buffer over-read vulnerability exists in the wolfSSH_CleanPath() function in wolfSSH. An authenticated remote att
Out-of-bounds read in wolfSSHd on Windows allows authenticated users to leak adjacent stack memory via malformed termina
The wolfSSH SFTP server component contains a stack-based out-of-bounds write (CWE-787) that can be triggered by an authe
EUVD-2026-94162
GHSA-cqr9-f685-gr3w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB