CVE-2026-43798

Published Aug 20, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apple:swiftnio_ssh:*:*:*:*:*:swift:*:*
Type Values Removed Values Added
Title Stack Out‑of‑Bounds Write via Crafted SSH Message in Swift‑NIO‑SSH
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'}

Type Values Removed Values Added
First Time appeared Apple
Apple swiftnio Ssh
Vendors & Products Apple
Apple swiftnio Ssh
Type Values Removed Values Added
Title Stack Out‑of‑Bounds Write via Crafted SSH Message in Swift‑NIO‑SSH
Weaknesses CWE-119
CWE-122
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
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

Sources

Status
PUBLISHED
Assigner
apple
Published
Updated
Aug 26, 2026, 2:05 PM
Reserved
May 1, 2026, 10:46 PM
Status
Analyzed
Published
Aug 20, 2026, 9:17 PM
Modified
Oct 18, 2026, 8:10 PM