Skip to main content

wolfSSH CVE-2025-11625

CRITICAL
Improper Authentication (CWE-287)
2025-10-21 facts@wolfssl.com
9.4
CVSS 4.0 · Vendor: wolfssl
View

Attack ChainAIDerived

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

  1. Access
    Lure wolfSSH client to malicious/MITM server
  2. Exploit
    Client skips proper host authentication
  3. Execution
    Impostor completes key exchange
  4. Impact
    Capture and exfiltrate leaked client credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the target to be running wolfSSH in the CLIENT role at version 1.4.20 or earlier, and to initiate an SSH connection to a server the attacker controls or can man-in-the-middle (UI:P - passive user-initiated connection). The flaw is the client's failure to properly authenticate the host during the SSH key exchange, enabling an impostor server to bypass authentication and induce the client to leak its credentials. Limiting factors: exploitation is bounded to the client role (server-only deployments are not in scope here), the victim must actively connect outbound to the attacker-influenced endpoint, and no authentication on the victim side is needed by the attacker (PR:N). It is not a server-side remotely-triggerable flaw.

Impact

This is a genuine client-side authentication flaw (CWE-287, improper host authentication) in wolfSSH 1.4.20 and earlier, confirmed and reported by the vendor (wolfSSL) with a merged fix (PR #840). The vendor's CVSS 4.0 vector (9.4) scores network attack, low complexity, no privileges, passive user interaction (UI:P), and maxes out ALL impact metrics including subsequent-system (VC/VI/VA/SC/SI/SA all High) - that subsequent-system scoring is aggressive and inflates the headline number, since the direct consequence is credential leakage and session compromise rather than guaranteed cascading multi-system failure. Critically, there is NO EPSS score provided, this is NOT in CISA KEV (no confirmed active exploitation), and the only source-code artifact is the vendor FIX, not a weaponized exploit - so exploitation status is 'no public exploit identified at time of analysis.' The real limiting factor absent from the raw score is that this affects the CLIENT role and requires the victim to initiate a connection to an attacker-controlled or man-in-the-middle SSH server (UI:P), making it a targeted/opportunistic MITM-style risk rather than a mass-exploitable server-side RCE. Net: a legitimately serious authentication bypass worth prioritizing wherever wolfSSH is used as a client, but the 9.4 should be read against the required user-initiated connection and the lack of any exploitation or EPSS signal.

Exploit ScenarioDerived

A victim application using wolfSSH as an SSH client (<=1.4.20) connects to an SSH endpoint that an attacker controls or has positioned themselves in the path of. Because the client fails to properly authenticate the host during key exchange, the attacker's impostor server completes the handshake without detection and harvests the client's credentials. No public exploit code was identified at time of analysis; the only source artifact is the vendor's fix (PR #840), and exploitation requires the client to initiate the connection (UI:P).

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 19, 2026

Authentication bypass in wolfSSH 1.4.20 and earlier clients allows a malicious or man-in-the-middle SSH server to skip proper host authentication during key exchange and obtain the connecting client's credentials. The victim must actively initiate an outbound SSH connection (UI:R) to an attacker-influenced endpoint, and the flaw is limited to the client role; server-only deployments are not affected. wolfSSL confirmed the issue and merged an upstream fix in PR #840; no public exploit code or CISA KEV entry was identified at time of analysis.

RemediationAI

Apply the upstream fix merged in wolfSSL wolfSSH PR #840 (https://github.com/wolfSSL/wolfssh/pull/840); the provided data does not name a tagged release version, so confirm with wolfSSL which release first contains the change and upgrade to that version. Until patched, restrict wolfSSH client connections to trusted, controlled SSH servers and networks, avoid initiating sessions to untrusted or user-supplied endpoints, and rotate any credentials used from vulnerable clients that may have connected to untrusted servers. Server-only deployments need not take client-side action per the assessment. No public exploit code or CISA KEV entry was identified at time of analysis; monitor the vendor advisory and PR for release details.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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 client/server library from wolfSSL. The flaw is CWE-287 (Improper Authentication), specifically in the client's host-authentication handling during SSH key exchange. The pre-fix code used a single isKeying boolean that did not distinguish local key-exchange initiation from receipt of a peer's SSH_MSG_KEXINIT, so a malicious server could send unexpected KEXINIT/NEWKEYS messages that desynchronized state and caused the client to continue without correctly verifying the host key. The merged fix in PR #840 replaces the boolean with WOLFSSH_SELF_IS_KEYING and WOLFSSH_PEER_IS_KEYING flags, rejects duplicate KEXINIT while keying, and enforces NEWKEYS state transitions. CPE cpe:2.3:a:wolfssh:wolfssh:*:*:*:*:*:*:*:* covers affected wolfSSH versions up to and including 1.4.20; per our assessment, exploitation requires the client role and a user-initiated connection to an attacker-controlled or MITM'd server.

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 9.4 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:Y/U:Red
vuln.today AI 8.1 HIGH

Malicious/MITM server needs no privileges (PR:N) but the client must initiate the connection (UI:R); auth bypass and credential leak give C:H/I:H, with no direct availability impact (A:N).

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

Primary rating from Vendor (wolfssl).

CVSS VectorVendor: wolfssl

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

DescriptionCVE.org

Improper host authentication vulnerability in wolfSSH version 1.4.20 and earlier clients that allows authentication bypass and leaking of clients credentials.

Executive ViewAI

Why It Matters

wolfSSH client versions 1.4.20 and earlier contain a critical host-authentication bypass that can expose outbound SSH credentials to a malicious or man-in-the-middle server. The risk is concentrated in organizations that ship or operate wolfSSH in client mode, where a user-initiated connection to an attacker-influenced endpoint could lead to credential theft. Because no vendor-released patch is currently available, leadership should treat affected client deployments as a priority exposure.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include disabling wolfSSH client mode, restricting outbound SSH to trusted endpoints via egress allowlisting, migrating to an alternative SSH client, and monitoring for anomalous credential use.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Low
niche embedded/IoT SSH library, limited broad enterprise footprint
Data Quality
3 sources
Confidence: Low

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:wolfssh:wolfssh:*:*:*:*:*:*:*:*
CVE-2022-32073 CRITICAL
9.8 Jul 13

WolfSSH v1.4.7 was discovered to contain an integer overflow via the function wolfSSH_SFTP_RecvRMDIR. Rated critical sev

CVE-2025-14942 CRITICAL
9.4 Jan 06

Improper authentication handling in the wolfSSH key-exchange state machine (versions 1.4.21 and earlier) allows an attac

CVE-2024-2873 CRITICAL
9.1 Mar 25

A vulnerability was found in wolfSSH's server-side state machine before versions 1.4.17. Rated critical severity (CVSS 9

CVE-2026-16516 CRITICAL
9.0 Oct 07

Host key substitution in wolfSSH clients using ECDSA host keys lets an unauthenticated, network-positioned attacker have

CVE-2026-83540 HIGH
7.7 Oct 07

Windows logon token reuse in wolfSSHd versions 1.4.15 through 1.5.0 allows an authenticated low-privilege user to impers

CVE-2026-84897 MEDIUM
6.9 Oct 07

Pre-authentication CPU exhaustion affects wolfSSH servers through 1.5.0 that are built with Diffie-Hellman group-exchang

CVE-2026-81535 MEDIUM
6.3 Oct 07

wolfSSH through 1.5.0, when compiled with the --enable-fwd (WOLFSSH_FWD) TCP/IP forwarding option, fails to apply its fo

CVE-2026-83742 MEDIUM
5.3 Oct 07

An authenticated remote attacker with a valid SSH session can trigger a one-byte out-of-bounds stack write in wolfSSH v1

CVE-2025-15382 MEDIUM
5.1 Jan 06

A heap buffer over-read vulnerability exists in the wolfSSH_CleanPath() function in wolfSSH. An authenticated remote att

CVE-2026-0930 LOW
2.3 Apr 20

Out-of-bounds read in wolfSSHd on Windows allows authenticated users to leak adjacent stack memory via malformed termina

CVE-2025-11624 LOW
1.8 Oct 21

The wolfSSH SFTP server component contains a stack-based out-of-bounds write (CWE-787) that can be triggered by an authe

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