Skip to content
OpenAdvisories
Medium SUSE-SU-2025:0724-1 6 CVEs

Security update for vim

Published Feb 26, 2025 · Updated Feb 4, 2026

Summary

This update for vim fixes the following issues:

Update to version 9.1.1101:

- CVE-2024-43790: possible out-of-bounds read when performing a search command (bsc#1229685).
- CVE-2024-43802: heap buffer overflow due to incorrect flushing of the typeahead buffer (bsc#1229822).
- CVE-2024-45306: heap buffer overflow when cursor position is invalid (bsc#1230078).
- CVE-2025-22134: heap buffer overflow when switching to other buffers using the :all command with active visual mode
(bsc#1235695).
- CVE-2025-24014: NULL pointer dereference may lead to segmentation fault when in silent Ex mode (bsc#1236151).
- CVE-2025-1215: memory corruption when manipulating the --log argument (bsc#1237137).

Fixed packages 4

ReleasePackageFixed in
SUSE · SLE Micro 5.1 Linux Enterprise Micro 5.1 vim 9.1.1101-150000.5.69.1
SUSE · SLE Micro 5.2 Linux Enterprise Micro 5.2 vim 9.1.1101-150000.5.69.1
SUSE · SLE Micro 5.3 Linux Enterprise Micro 5.3 vim 9.1.1101-150000.5.69.1
SUSE · SLE Micro 5.4 Linux Enterprise Micro 5.4 vim 9.1.1101-150000.5.69.1

Vulnerabilities 6

  • Medium 4.5

    heap-buffer-overflow in do_search() in Vim < 9.1.0689

    Vim is an open source command line text editor. When performing a search and displaying the search-count message is disabled (:set shm+=S), the search pattern is displayed at the bottom of the screen in a buffer (msgbuf). When right-left mode (:set rl) is ena…

  • Medium 4.5

    heap-buffer-overflow in ins_typebuf() in Vim < 9.1.0697

    Vim is an improved version of the unix vi text editor. When flushing the typeahead buffer, Vim moves the current position in the typeahead buffer but does not check whether there is enough space left in the buffer to handle the next characters. So this may le…

  • Medium 4.5

    heap-buffer-overflow in Vim

    Vim is an open source, command line text editor. Patch v9.1.0038 optimized how the cursor position is calculated and removed a loop, that verified that the cursor position always points inside a line and does not become invalid by pointing beyond the end of a…

  • Medium 4.2

    heap-buffer-overflow with visual mode in Vim < 9.1.1003

    When switching to other buffers using the :all command and visual mode still being active, this may cause a heap-buffer overflow, because Vim does not properly end visual mode and therefore may try to access beyond the end of a line in a buffer. In Patch 9.1.…

  • Medium 4.2

    segmentation fault in win_line() in Vim < 9.1.1043

    Vim is an open source, command line text editor. A segmentation fault was found in Vim before 9.1.1043. In silent Ex mode (-s -e), Vim typically doesn't show a screen and just operates silently in batch mode. However, it is still possible to trigger the funct…

  • Low 2.8

    vim main.c memory corruption

    A vulnerability classified as problematic was found in vim up to 9.1.1096. This vulnerability affects unknown code of the file src/main.c. The manipulation of the argument --log leads to memory corruption. It is possible to launch the attack on the local host…

References

  • report
    https://bugzilla.suse.com/1229685
  • report
    https://bugzilla.suse.com/1229822
  • report
    https://bugzilla.suse.com/1230078
  • report
    https://bugzilla.suse.com/1235695
  • report
    https://bugzilla.suse.com/1236151
  • report
    https://bugzilla.suse.com/1237137
  • web
    https://www.suse.com/security/cve/CVE-2024-43790
  • web
    https://www.suse.com/security/cve/CVE-2024-43802
  • web
    https://www.suse.com/security/cve/CVE-2024-45306
  • web
    https://www.suse.com/security/cve/CVE-2025-1215
  • web
    https://www.suse.com/security/cve/CVE-2025-22134
  • web
    https://www.suse.com/security/cve/CVE-2025-24014