Description
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.
Published: 2026-08-20
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A single crafted SSH message can trigger an out‑of‑bounds stack write of attacker‑controlled data in any application that uses swift‑nio‑ssh. The vulnerability allows an unauthenticated network attacker to overwrite arbitrary memory locations, which can lead to arbitrary code execution or other severe compromises. The flaw is a classic memory safety issue, matching the typical stack corruption pattern described in the CWE‑122 family.

Affected Systems

Apple’s swift‑nio‑ssh library – any application built with a version prior to 0.14.1 is vulnerable. This includes any service that exposes SSH functionality through swift‑nio‑ssh.

Risk and Exploitability

The CVE marks the attack as unauthenticated and network‑based, suggesting that an attacker only needs to send a malicious SSH packet. While the EPSS score is < 1% and it is not listed in the CISA KEV catalog, no public exploitation has been reported, so the current known risk is moderate but potentially high if exploited. The CVSS score of 9.8 indicates critical severity.

Generated by OpenCVE AI on August 26, 2026 at 17:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade swift‑nio‑ssh to version 0.14.1 or later
  • If an upgrade is not immediately possible, restrict network exposure to the SSH server to a trusted internal network or firewall
  • Apply additional runtime isolation, such as sandboxing or address space layout randomization, to reduce the impact of a potential stack overflow

Generated by OpenCVE AI on August 26, 2026 at 17:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 13:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apple:swiftnio_ssh:*:*:*:*:*:swift:*:*

Wed, 26 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Title Stack Out‑of‑Bounds Write via Crafted SSH Message in Swift‑NIO‑SSH

Wed, 26 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-121
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 21 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Apple
Apple swiftnio Ssh
Vendors & Products Apple
Apple swiftnio Ssh

Fri, 21 Aug 2026 01:30:00 +0000

Type Values Removed Values Added
Title Stack Out‑of‑Bounds Write via Crafted SSH Message in Swift‑NIO‑SSH
Weaknesses CWE-119
CWE-122

Thu, 20 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
Description 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.
References

Subscriptions

Apple Swiftnio Ssh
cve-icon MITRE

Status: PUBLISHED

Assigner: apple

Published:

Updated: 2026-08-26T14:05:32.813Z

Reserved: 2026-05-01T22:46:27.820Z

Link: CVE-2026-43798

cve-icon Vulnrichment

Updated: 2026-08-26T14:05:25.562Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-20T21:17:06.580

Modified: 2026-09-03T13:35:56.153

Link: CVE-2026-43798

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T17:30:10Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-121

    Stack-based Buffer Overflow

  • CWE-122

    Heap-based Buffer Overflow