Skip to main content

wolfSSH CVE-2026-81535

| EUVDEUVD-2026-94162 MEDIUM
Missing Authorization (CWE-862)
2026-10-07 wolfSSL GHSA-cqr9-f685-gr3w
6.3
CVSS 4.0 · Vendor: wolfSSL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Establish SSH peer connection to wolfSSH endpoint
  2. Delivery
    Send repeated forwarded-tcpip channel opens
  3. Exploit
    Bypass missing forwarding authorization check
  4. Execution
    Allocate unbounded per-channel buffers
  5. Impact
    Exhaust 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

wolfSSH 1.4.8 ≤1.5.0

Affected Packages

euvd wolfssh no fix

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

Vendor (wolfSSL) PRIMARY 6.3 MEDIUM
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
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (wolfSSL).

CVSS VectorVendor: wolfSSL

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche embedded/IoT SSH library, far smaller footprint than OpenSSH
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy