Skip to main content
EPSS 0.5%top 62%

CVE-2026-43798: 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. in Apple swift-nio-ssh

0
Critical
VulnerabilityCVE-2026-43798cvecve-2026-43798
Published: 08/20/2026 (08/20/2026, 21:07:01 UTC)
Source: CVE Database V5
Vendor/Project: Apple
Product: swift-nio-ssh

Description

CVE-2026-43798 is a critical vulnerability in Apple swift-nio-ssh where a single crafted SSH message allows an unauthenticated network attacker to perform an out-of-bounds stack write with attacker-controlled length and content. This flaw affects any application built on swift-nio-ssh versions prior to 0.14.1 and can lead to severe impacts including confidentiality, integrity, and availability compromise. The vulnerability is addressed in swift-nio-ssh version 0.14.1.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Apple

swift-nio-ssh

Affected versions
>=0 <0.14.1
apple/swift-nio-ssh
pkg:swift/apple/swift-nio-ssh
Affected versions
<0.14.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 22:47:25 UTC

Technical Analysis

CVE-2026-43798 describes an out-of-bounds stack write vulnerability in Apple swift-nio-ssh. An unauthenticated attacker can send a specially crafted SSH message that triggers a stack write beyond intended bounds, with control over the length and content of the write. This affects all applications built on swift-nio-ssh versions before 0.14.1. The vulnerability is classified under CWE-121 (Stack-based Buffer Overflow) and has a CVSS v3.1 score of 9.8, indicating critical severity. The issue is fixed in swift-nio-ssh version 0.14.1.

Potential Impact

Successful exploitation allows an unauthenticated network attacker to execute an out-of-bounds stack write, potentially leading to arbitrary code execution, complete compromise of confidentiality, integrity, and availability of the affected application. This can result in full system compromise of any application using vulnerable versions of swift-nio-ssh.

Mitigation Recommendations

Upgrade all affected applications to swift-nio-ssh version 0.14.1 or later, where this vulnerability has been fixed. No other mitigations are indicated or necessary once the update is applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apple
Date Reserved
2026-05-01T22:46:27.820Z
State
PUBLISHED

Threat ID: 6a87701facd9273b4924711f

Added to database: 08/20/2026, 21:22:39 UTC

Last enriched: 09/10/2026, 22:47:25 UTC

Last updated: 10/05/2026, 06:48:16 UTC

Views: 61

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses