---
id: CVE-2026-73072
title: 'Vim is an open source, command line text editor'
summary: >-
  Vim is an open source, command line text editor. Prior to 9.2.0846, set_sofo()
  in src/spellfile.c reuses sl_sal_first[] without resetting values left by
  set_sal_first(), so a crafted spell file containing an SN_SAL section before
  an SN_S…
severity: high
cwe:
  - CWE-122
  - CWE-787
published: '2026-08-11'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T20:44:04.357'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73072'
references:
  - url: 'https://github.com/vim/vim/commit/05c41c922309c7a11b6ec2f124be66551c90d66a'
    label: security-advisories@github.com
  - url: 'https://github.com/vim/vim/releases/tag/v9.2.0846'
    label: security-advisories@github.com
  - url: 'https://github.com/vim/vim/security/advisories/GHSA-9jqx-hgpr-6v64'
    label: security-advisories@github.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-73072.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-73072'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2514037'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-73072'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73072'
  - url: 'https://access.redhat.com/errata/RHSA-2026:66336'
  - url: 'https://access.redhat.com/errata/RHSA-2026:66348'
  - url: 'https://access.redhat.com/errata/RHSA-2026:66366'
  - url: 'https://access.redhat.com/errata/RHSA-2026:68711'
  - url: 'https://access.redhat.com/errata/RHSA-2026:67956'
tags:
  - nvd
  - exploit-available
  - csaf
  - vex
  - red-hat
  - cve.org
epss: 0.00125
epssPercentile: 0.02581
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/HORKimhab/CVE-2026-73072'
  checkedAt: '2026-09-21T15:30:26.351Z'
exploitAvailable: true
ingestedAt: '2026-09-09T21:22:45.527Z'
vendor: Red Hat
product: Red Hat Enterprise Linux AppStream (v. 10)
affected:
  - enterprise_linux 6
  - enterprise_linux 7
  - enterprise_linux_appstream_v_10
  - enterprise_linux_appstream_v_8
  - enterprise_linux_appstream_v_9
  - enterprise_linux_baseos_v_10
  - enterprise_linux_baseos_v_8
  - enterprise_linux_baseos_v_9
patched:
  - enterprise_linux_appstream_v_10
  - enterprise_linux_appstream_v_8
  - enterprise_linux_appstream_v_9
  - enterprise_linux_baseos_v_10
  - enterprise_linux_baseos_v_8
  - enterprise_linux_baseos_v_9
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cvssSource: vendor
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-08-13T15:17:40.993543Z'
scores:
  vendor: 7.8
  cna: 8.5
---

## Overview

Vim is an open source, command line text editor. Prior to 9.2.0846, set_sofo() in src/spellfile.c reuses sl_sal_first[] without resetting values left by set_sal_first(), so a crafted spell file containing an SN_SAL section before an SN_SOFO section causes under-counted mapping lists and attacker-influenced writes beyond a heap allocation. This issue is fixed in version 9.2.0846.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2026:66336** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux BaseOS (v. 10) · released 2026-09-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:66336)
- **RHSA-2026:66348** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8), Red Hat Enterprise Linux BaseOS (v. 8) · released 2026-09-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:66348)
- **RHSA-2026:66366** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9), Red Hat Enterprise Linux BaseOS (v. 9) · released 2026-09-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:66366)
- **Red Hat VEX** · Important · affected: Red Hat Enterprise Linux 6 · no fix planned: Red Hat Enterprise Linux 6 · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-73072.json)
- **RHSA-2026:68711** · Red Hat · fixed in: Red Hat Enterprise Linux Server (v. 7 ELS) · released 2026-09-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:68711)
- **RHSA-2026:67956** · Red Hat · fixed in: Red Hat Update Infrastructure 5 · released 2026-09-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:67956)
