# CVE-2026-73072: Vim: Heap Buffer Overflow when Loading a Spell File

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-08-11T15:31:35.331Z
- Modified: 2026-10-06T20:09:32.680Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- vim vim: < 9.2.0846; before 9.2.0846

## Every score

- GitHub_M: CVSS:4.0 8.5 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/vim/vim/security/advisories/GHSA-9jqx-hgpr-6v64> (patch, vendor-advisory)
- <https://github.com/vim/vim/commit/05c41c922309c7a11b6ec2f124be66551c90d66a> (patch)
- <https://github.com/vim/vim/releases/tag/v9.2.0846> (product)

## Sources

- CVE List: [CVE-2026-73072](https://www.cve.org/CVERecord?id=CVE-2026-73072), CVE Terms of Use, modified 2026-09-17
- NVD: [CVE-2026-73072](https://nvd.nist.gov/vuln/detail/CVE-2026-73072), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-73072 · Whole record: https://cve.day/CVE-2026-73072.json · Rebuilt by cve.day 2026-11-25T22:59:32.273Z
