Skip to main content

swift-nio-ssh EUVDEUVD-2026-63655

| CVE-2026-43798 CRITICAL
Stack-based Buffer Overflow (CWE-121)
2026-08-20 product-security@apple.com
9.8
CVSS 3.1 · Vendor: apple
View

Attack ChainAIDerived

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

  1. Access
    Connect to swift-nio-ssh SSH listener
  2. Delivery
    Send single crafted SSH message
  3. Exploit
    Trigger out-of-bounds stack write
  4. Execution
    Corrupt stack with controlled data
  5. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

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

swift-nio-ssh 0 <0.14.1

Affected Packages

euvd swift_nio_ssh fix: 0.14.1

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

Vendor (apple) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

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.

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

Primary rating from Vendor (apple).

CVSS VectorVendor: apple

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Aug 26, 2026 - 15:52 NVD
9.8 (CRITICAL)
Patch available
Aug 20, 2026 - 22:04 EUVD
CVE Published
Aug 20, 2026 - 21:17 cve.org
CRITICAL 9.8
CVE Published
Aug 20, 2026 - 21:17 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
Swift SSH library; embedded where present but not universally deployed
Data Quality
6 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
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
Yes
Human Impact
High

Priority Score

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

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.

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