Skip to content

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

MediumCVSS 6.3 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
alpine/wolfssh(Alpine v3.24) < 1.6.0-r0 1.6.0-r0 Fixed
wolfSSH < 1.6.0 1.6.0 Fixed
wolfSSL wolfSSH >= 1.4.8, < 1.6.0 1.6.0 Fixed

Affected products

ProductAffected versionsFixed in
wolfSSL wolfSSH >= 1.4.8, < 1.6.0 1.6.0
alpine/wolfssh(Alpine:v3.24) < 1.6.0-r0 1.6.0-r0
wolfSSH < 1.6.0 1.6.0

References