Description
Vim is an open source, command line text editor. Prior to 9.2.0842, the socket server backend in src/socketserver.c accepts unbounded client connections in socketserver_accept(), causing descriptors to overflow fd_set structures in src/channel.c and fixed-size struct pollfd arrays in src/os_unix.c, which allows a local process that can connect to the server socket to corrupt stack memory or terminate the Vim server. This issue is fixed in version 9.2.0842.
Published: 2026-08-11
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a stack buffer overflow in Vim’s socket server code. When the server accepts an unbounded number of client connections, the fd_set and pollfd arrays are overrun, allowing a local process that can connect to the Vim socket to overwrite adjacent stack memory or terminate the Vim process. The flaw is identified as a classic stack-based buffer overflow (CWE‑121) and can be used to alter the execution flow of the Vim editor or cause an interruption in service.

Affected Systems

Vim, any version before 9.2.0842. The issue is fixed in v9.2.0842 and later releases. All installations that use the socket server component and listen for local connections are vulnerable.

Risk and Exploitability

The CVSS score of 6.8 indicates a moderate severity. The EPSS score is 0.00111, indicating a very low probability of exploitation, yet the flaw can be triggered from a local environment that has permissions to connect to the socket, which is typically a non‑privileged user. The vulnerability is not listed in CISA KEV, yet the local attack vector and stack corruption provide a clear path to potential exploitation. Organizations should treat it as a moderate risk that can become critical if the attacker can also marshal processes to execute arbitrary code via the overwritten return address.

Generated by OpenCVE AI on August 14, 2026 at 14:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Vim to version 9.2.0842 or newer where the socket server logic is corrected
  • If the socket server is not required, disable it by avoiding the use of the ---listen option or by setting the appropriate configuration to prevent it from accepting connections
  • Restrict file system permissions on the Vim server socket, ensuring only trusted users can create or access the socket, e.g., chown to a specific user and set mode 600 before the editor starts

Generated by OpenCVE AI on August 14, 2026 at 14:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Tue, 11 Aug 2026 23:30:00 +0000

Type Values Removed Values Added
First Time appeared Vim
Vim vim
Vendors & Products Vim
Vim vim

Tue, 11 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 11 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description Vim is an open source, command line text editor. Prior to 9.2.0842, the socket server backend in src/socketserver.c accepts unbounded client connections in socketserver_accept(), causing descriptors to overflow fd_set structures in src/channel.c and fixed-size struct pollfd arrays in src/os_unix.c, which allows a local process that can connect to the server socket to corrupt stack memory or terminate the Vim server. This issue is fixed in version 9.2.0842.
Title Vim: Stack Buffer Overflow in the Vim Socket Server
Weaknesses CWE-121
References
Metrics cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-11T15:58:28.409Z

Reserved: 2026-08-10T19:37:41.444Z

Link: CVE-2026-73070

cve-icon Vulnrichment

Updated: 2026-08-11T15:56:24.400Z

cve-icon NVD

Status : Received

Published: 2026-08-11T16:17:38.257

Modified: 2026-08-11T16:17:38.257

Link: CVE-2026-73070

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-11T15:21:49Z

Links: CVE-2026-73070 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T14:30:17Z

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-121

    Stack-based Buffer Overflow