Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-81535 EUVD-2026-94162GHSA-cqr9-f685-gr3w

wolfSSH SSH client accepts unsolicited forwarded-tcpip channel opens without an authorization check

Published Oct 7, 2026 · Updated Oct 7, 2026 · Assigned by wolfSSL

Description

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.

Affected products

VendorProductAffectedFixed
wolfSSL wolfSSH 1.4.8 – ≤ 1.5.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Alpine v3.24 wolfssh 1.6.0-r0 —

References