Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to swift-nio-ssh SSH listener
-
DeliverySend single crafted SSH message
-
ExploitTrigger out-of-bounds stack write
-
ExecutionCorrupt stack with controlled data
-
ImpactExecute code or crash service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The only prerequisite is network reachability to a service that embeds a swift-nio-ssh version earlier than 0.14.1 and accepts incoming SSH connections; the crafted message is processed on the pre-authentication parsing path, so no credentials, user interaction, or non-default configuration are required (CVSS PR:N/UI:N/AC:L). Limiting factors: the target application must actually be built on the vulnerable library and be exposing an SSH listener to the attacker, and turning the stack write into reliable code execution is constrained by platform mitigations (stack canaries, ASLR, non-executable stack), which is consistent with the currently low EPSS and absence of a public exploit. |
| Impact | The signals partially diverge and should be read together. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H) describes a worst-case network, no-privilege, no-interaction memory-corruption bug, and a stack write with attacker-controlled length and content is a classic path toward code execution, so on paper this is a top-priority issue. Against that, the EPSS score is low (0.14%, 4th percentile) and there is no CISA KEV listing and no public exploit identified, indicating that weaponization has not yet materialized - likely reflecting that exploitation of a modern Swift/SwiftNIO stack (with stack canaries, ASLR, and non-executable stacks) requires real exploit-development effort rather than a trivial one-shot. The practical determinant of exposure is deployment: swift-nio-ssh is a library, so risk is concentrated wherever it is embedded in an internet-reachable SSH service, and any operator running such a service should treat patching as urgent given the pre-auth, unauthenticated nature of the bug. Net assessment: genuinely high-severity and worth expedited patching, but current real-world exploitation pressure is low rather than active. |
| Exploit ScenarioDerived | An attacker who can reach an internet-facing service built on swift-nio-ssh opens a TCP connection and, before authenticating, sends a single crafted SSH message whose fields drive an out-of-bounds stack write of chosen length and content. This corrupts stack memory in the parsing routine, enabling denial of service and potentially arbitrary code execution in the service process. No public proof-of-concept has been identified, and reliable code execution would require bypassing modern stack protections. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 26, 2026
Remote unauthenticated code execution is possible in swift-nio-ssh, Apple's Swift implementation of the SSH2 protocol built on SwiftNIO, where a single crafted SSH message triggers an out-of-bounds stack write of attacker-controlled length and content. Any server or client application built on swift-nio-ssh before 0.14.1 is affected, and an attacker can corrupt stack memory pre-authentication to potentially achieve arbitrary code execution. No public exploit identified at time of analysis, and despite the maximal 9.8 CVSS the EPSS probability is currently low (0.14%, 4th percentile).
RemediationAI
Vendor-released patch: upgrade swift-nio-ssh to version 0.14.1, which addresses the vulnerability; update the dependency pin (for example in Package.swift / Package.resolved) and rebuild and redeploy every application that embeds the library, since the fix does not take effect until dependents are recompiled against 0.14.1. Consult Apple's advisory GHSA-998x-vgvp-xwpc for details. Where immediate upgrade is not possible, reduce exposure by restricting network reachability of the affected SSH service - for example firewalling the listening port to trusted management networks or placing it behind a VPN or bastion - accepting the trade-off that this only shrinks the attacker population and does not remove the vulnerable parsing path; because the flaw is pre-authentication, controls such as key-only auth or fail2ban do not mitigate it. Patching remains the only complete fix.
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
swift-nio-ssh is a Swift package providing a non-blocking SSH2 protocol implementation layered on SwiftNIO's event-driven networking core; applications embed it to build SSH servers, clients, and tunneling services. The flaw is classified as CWE-121 (stack-based buffer overflow): during parsing of an SSH protocol message the library performs a write past the bounds of a stack-allocated buffer, with both the length and the content of the write controlled by the attacker. Because SSH message parsing occurs during the earliest phase of a connection - before any authentication exchange completes - the vulnerable code path is reachable by any network peer that can open a TCP connection to the listening service.
Know when Swiftnio Ssh 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Pre-authentication, remotely reachable SSH parser with attacker-controlled stack write gives AV:N/AC:L/PR:N/UI:N and plausible full C/I/A impact via code execution.
Primary rating from Vendor (apple).
CVSS VectorVendor: apple
Lifecycle Timeline
4DescriptionCVE.org
A single crafted SSH message gives an unauthenticated network attacker an out-of-bounds stack write of attacker-controlled length and content against any application built on swift-nio-ssh. This vulnerability is addressed in swift-nio-ssh version 0.14.1.
Executive ViewAI
Apple's swift-nio-ssh library contains a critical pre-authentication remote code execution vulnerability (CVSS 9.8) affecting all SSH server and client applications built on versions prior to 0.14.1. Any organization deploying applications dependent on this library faces potential unauthorized access and system compromise, requiring immediate inventory and patch deployment of this foundational security component.
Apply vendor patch.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
EUVD-2026-63655
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB