---
title: "vim/vim: functions and files changed by CVE fixes"
url: https://radicalnotion.ai/fixes/vim/vim
type: fixes-repository
description: "222 CVE fixes in vim/vim changed 21 functions across 89 files."
updated: 2026-08-11
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# vim/vim: patched functions

- **CVEs with a located fix:** 222
- **Functions patched:** 21
- **Files patched:** 89
- **Diff hunks:** 1,052
- **Languages:** c
- **Rank by CVE fixes:** 12 of 12,140
- **First fix:** 2016-11-23
- **Latest fix:** 2026-08-11
- **Repository:** [https://github.com/vim/vim](https://github.com/vim/vim)

## Typical fix size

- Median lines changed per fix: 7
- Fixes touching a single function: 79%
- Fixes under 20 changed lines: 80%

## Most-patched functions

| Function | File | CVEs | Patches | Last fixed |
| --- | --- | --- | --- | --- |
| [is\_channel\_write\_remaining](https://radicalnotion.ai/fixes/vim/vim/is_channel_write_remaining) | src/channel.c | 1 | 1 | 2026-08-11 |
| [win\_unlisted](https://radicalnotion.ai/fixes/vim/vim/win_unlisted) | src/buffer.c | 1 | 1 | 2024-08-15 |
| [readfile](https://radicalnotion.ai/fixes/vim/vim/readfile) | src/buffer.c | 1 | 1 | 2023-10-11 |
| [get\_cmdline\_info](https://radicalnotion.ai/fixes/vim/vim/get_cmdline_info) | src/getchar.c | 1 | 1 | 2023-03-07 |
| [isalpha](https://radicalnotion.ai/fixes/vim/vim/isalpha) | src/filepath.c | 1 | 1 | 2022-02-20 |
| [bt\_quickfix](https://radicalnotion.ai/fixes/vim/vim/bt_quickfix) | src/buffer.c | 1 | 1 | 2022-02-10 |
| [aborting](https://radicalnotion.ai/fixes/vim/vim/aborting) | src/buffer.c | 1 | 1 | 2022-02-02 |
| [vterm\_allocator\_malloc](https://radicalnotion.ai/fixes/vim/vim/vterm_allocator_malloc) | src/libvterm/src/vterm.c | 1 | 1 | 2019-02-24 |
| [vterm\_new\_with\_allocator](https://radicalnotion.ai/fixes/vim/vim/vterm_new_with_allocator) | src/libvterm/src/vterm.c | 1 | 1 | 2019-02-24 |
| [vterm\_obtain\_state](https://radicalnotion.ai/fixes/vim/vim/vterm_obtain_state) | src/libvterm/src/state.c | 1 | 1 | 2019-02-24 |
| [vterm\_state\_new](https://radicalnotion.ai/fixes/vim/vim/vterm_state_new) | src/libvterm/src/state.c | 1 | 1 | 2019-02-24 |
| [realloc\_buffer](https://radicalnotion.ai/fixes/vim/vim/realloc_buffer) | src/libvterm/src/termscreen.c | 1 | 1 | 2019-02-24 |
| [resize](https://radicalnotion.ai/fixes/vim/vim/resize) | src/libvterm/src/termscreen.c | 1 | 1 | 2019-02-24 |
| [screen\_new](https://radicalnotion.ai/fixes/vim/vim/screen_new) | src/libvterm/src/termscreen.c | 1 | 1 | 2019-02-24 |
| [vterm\_screen\_free](https://radicalnotion.ai/fixes/vim/vim/vterm_screen_free) | src/libvterm/src/termscreen.c | 1 | 1 | 2019-02-24 |

## Most-patched files

| File | CVEs | Functions |
| --- | --- | --- |
| src/ex\_docmd.c | 15 | 0 |
| src/buffer.c | 14 | 4 |
| src/window.c | 13 | 0 |
| src/ex\_cmds.c | 12 | 0 |
| src/eval.c | 9 | 0 |
| src/normal.c | 9 | 0 |
| src/register.c | 8 | 0 |
| src/errors.h | 7 | 0 |
| src/ex\_getln.c | 7 | 0 |
| src/insexpand.c | 7 | 0 |

## Latest CVE fixes

| CVE | Title | Severity | CVSS | CISA KEV | Functions changed | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-73074 | Vim: Heap Buffer Overflow in Text Property Handling | high | 7.1 | No | - | 2026-08-11 |
| CVE-2026-73072 | Vim: Heap Buffer Overflow when Loading a Spell File | high | 8.5 | No | - | 2026-08-11 |
| CVE-2026-73071 | Vim: Use-after-free in JSON Decoding | low | 3.3 | No | - | 2026-08-11 |
| CVE-2026-73070 | Vim: Stack Buffer Overflow in the Vim Socket Server | medium | 6.8 | No | is\_channel\_write\_remaining, pollfd, pollfd | 2026-08-11 |
| CVE-2026-59857 | Vim: Out-of-bounds Write in SAL Soundfolding | medium | 5.6 | No | - | 2026-07-09 |
| CVE-2026-55693 | Vim: Out-of-bounds Write in Spell File Word Count | medium | 5.7 | No | - | 2026-06-25 |
| CVE-2026-55892 | Vim: Out-of-bounds Write in Spell File Prefix Dump | medium | 5.5 | No | - | 2026-06-25 |
| CVE-2026-57451 | Vim: Out-of-bounds Read in Text Property Count | medium | 6.1 | No | - | 2026-06-25 |
| CVE-2026-57452 | Vim: Out-of-bounds Read with libsodium-encrypted Files | medium | 5.5 | No | - | 2026-06-25 |
| CVE-2026-57454 | Vim: Out-of-bounds Read with Text Properties | medium | 6.8 | No | - | 2026-06-25 |
| CVE-2026-57455 | Vim: Stack out-of-bounds write in \`spell\_soundfold\_sofo()\` via an over-length \`soundfold()\` argument | medium | 4.0 | No | - | 2026-06-25 |
| CVE-2026-52859 | Vim: Out-of-bounds Read in Terminal Screen Snapshot | medium | 6.9 | No | - | 2026-06-11 |

## Frequently asked questions

### How many CVEs have a located fix in vim/vim?

222 published CVEs have a fix traced to functions in vim/vim, touching 21 functions across 89 files.

### Which function in vim/vim has been patched most often?

is\_channel\_write\_remaining in src/channel.c has been changed by 1 distinct patch, fixing 1 CVEs, from 2026 to 2026.

### How large is a typical CVE fix in vim/vim?

The median fix changes 7 lines. 80% of fixes change 20 lines or fewer, and 79% change a single function.

### How is a fix located to a function?

The upstream fix commit for each CVE is fetched and its diff is split into hunks. Each hunk is attributed to the function, method or type it changes, using the definition the diff itself names. Backports of the same fix to stable branches are counted once.

## Similar repositories

- [apache/airflow](https://radicalnotion.ai/fixes/apache/airflow) (224 CVEs)
- [chakra-core/ChakraCore](https://radicalnotion.ai/fixes/chakra-core/chakracore) (225 CVEs)
- [go-gitea/gitea](https://radicalnotion.ai/fixes/go-gitea/gitea) (217 CVEs)
- [gpac/gpac](https://radicalnotion.ai/fixes/gpac/gpac) (229 CVEs)
- [FFmpeg/FFmpeg](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg) (244 CVEs)
- [zephyrproject-rtos/zephyr](https://radicalnotion.ai/fixes/zephyrproject-rtos/zephyr) (250 CVEs)
- [moodle/moodle](https://radicalnotion.ai/fixes/moodle/moodle) (259 CVEs)
- [android.googlesource.com/platform-frameworks-av](https://radicalnotion.ai/fixes/android.googlesource.com/platform-frameworks-av) (176 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/fixes/vim/vim). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
