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.
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | RedHat | vim-2:9.1.083-9.el10_2.20 | * |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | RedHat | vim-2:7.4.629-8.el7_9.2 | * |
| Red Hat Enterprise Linux 8 | RedHat | vim-2:8.0.1763-31.el8_10.7 | * |
| Red Hat Enterprise Linux 8 | RedHat | vim-2:8.0.1763-31.el8_10.7 | * |
| Red Hat Enterprise Linux 9 | RedHat | vim-2:8.2.2637-26.el9_8.21 | * |
| Red Hat Enterprise Linux 9 | RedHat | vim-2:8.2.2637-26.el9_8.21 | * |
| Red Hat Enterprise Linux 9.6 Extended Update Support | RedHat | vim-2:8.2.2637-22.el9_6.4 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/cds-kubernetes-rhel9:1789479916 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/cds-rhel9:1789479900 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/haproxy-rhel9:1789479891 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/installer-rhel9:1789482961 | * |
| Vim | Ubuntu | esm-infra-legacy/trusty | * |
| Vim | Ubuntu | esm-infra-legacy/xenial | * |
| Vim | Ubuntu | esm-infra/bionic | * |
| Vim | Ubuntu | esm-infra/focal | * |
| Vim | Ubuntu | jammy | * |
| Vim | Ubuntu | noble | * |
| Vim | Ubuntu | resolute | * |
| Vim | Ubuntu | upstream | * |