Skip to content
OpenAdvisories
High SUSE-SU-2024:0871-1 10 CVEs

Security update for vim

Published Mar 13, 2024 · Updated Feb 4, 2026

Summary

This update for vim fixes the following issues:

- CVE-2023-48231: Fixed Use-After-Free in win_close() (bsc#1217316).
- CVE-2023-48232: Fixed Floating point Exception in adjust_plines_for_skipcol() (bsc#1217320).
- CVE-2023-48233: Fixed overflow with count for :s command (bsc#1217321).
- CVE-2023-48234: Fixed overflow in nv_z_get_count (bsc#1217324).
- CVE-2023-48235: Fixed overflow in ex address parsing (bsc#1217326).
- CVE-2023-48236: Fixed overflow in get_number (bsc#1217329).
- CVE-2023-48237: Fixed overflow in shift_line (bsc#1217330).
- CVE-2023-48706: Fixed heap-use-after-free in ex_substitute (bsc#1217432).
- CVE-2024-22667: Fixed stack-based buffer overflow in did_set_langmap function in map.c (bsc#1219581).
- CVE-2023-4750: Fixed heap use-after-free in function bt_quickfix (bsc#1215005).

Updated to version 9.1 with patch level 0111:
https://github.com/vim/vim/compare/v9.0.2103...v9.1.0111

Fixed packages 19

ReleasePackageFixed in
SUSE · Enterprise Storage 7.1 vim 9.1.0111-150000.5.60.1
openSUSE · Leap Micro 5.3 vim 9.1.0111-150000.5.60.1
openSUSE · Leap Micro 5.4 vim 9.1.0111-150000.5.60.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS vim 9.1.0111-150000.5.60.1
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-LTSS vim 9.1.0111-150000.5.60.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-ESPOS vim 9.1.0111-150000.5.60.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-LTSS vim 9.1.0111-150000.5.60.1
SUSE · SLE Micro 5.1 Linux Enterprise Micro 5.1 vim 9.1.0111-150000.5.60.1
SUSE · SLE Micro 5.2 Linux Enterprise Micro 5.2 vim 9.1.0111-150000.5.60.1
SUSE · SLE Micro 5.3 Linux Enterprise Micro 5.3 vim 9.1.0111-150000.5.60.1
SUSE · SLE Micro 5.4 Linux Enterprise Micro 5.4 vim 9.1.0111-150000.5.60.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS vim 9.1.0111-150000.5.60.1
SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS vim 9.1.0111-150000.5.60.1
SUSE · SLES 15 SP4 Linux Enterprise Server 15 SP4-LTSS vim 9.1.0111-150000.5.60.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 vim 9.1.0111-150000.5.60.1
SUSE · SLES for SAP 15 SP3 Linux Enterprise Server for SAP Applications 15 SP3 vim 9.1.0111-150000.5.60.1
SUSE · SLES for SAP 15 SP4 Linux Enterprise Server for SAP Applications 15 SP4 vim 9.1.0111-150000.5.60.1
SUSE · Manager Proxy 4.3 vim 9.1.0111-150000.5.60.1
SUSE · Manager Server 4.3 vim 9.1.0111-150000.5.60.1

Vulnerabilities 10

  • High 7.8

    Use After Free in vim/vim

    Use After Free in GitHub repository vim/vim prior to 9.0.1857.

  • High 7.8

    Vim before 9.0.2142 has a stack-based buffer overflow because did_set_langmap in map.c calls sprintf to write to the er…

  • Low 3.9

    Use-After-Free in win_close() in vim

    Vim is an open source command line text editor. When closing a window, vim may try to access already freed window structure. Exploitation beyond crashing the application has not been shown to be viable. This issue has been addressed in commit `25aabc2b` which…

  • Low 3.9

    Floating point Exception in adjust_plines_for_skipcol() in vim

    Vim is an open source command line text editor. A floating point exception may occur when calculating the line offset for overlong lines and smooth scrolling is enabled and the cpo-settings include the 'n' flag. This may happen when a window border is present…

  • Low 3.6

    Vim has heap-use-after-free at /src/charset.c:1770:12 in skipwhite

    Vim is a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnerability. When executing a `:s` command for the very first time and using a sub-replace-special atom inside the substitution part, it is possible that the recursive `:s` call…

  • Low 2.8

    overflow with count for :s command in vim

    Vim is an open source command line text editor. If the count after the :s command is larger than what fits into a (signed) long variable, abort with e_value_too_large. Impact is low, user interaction is required and a crash may not even happen in all situatio…

  • Low 2.8

    overflow in nv_z_get_count in vim

    Vim is an open source command line text editor. When getting the count for a normal mode z command, it may overflow for large counts given. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addr…

  • Low 2.8

    overflow in ex address parsing in vim

    Vim is an open source command line text editor. When parsing relative ex addresses one may unintentionally cause an overflow. Ironically this happens in the existing overflow check, because the line number becomes negative and LONG_MAX - lnum will cause the o…

  • Low 2.8

    overflow in get_number in vim

    Vim is an open source command line text editor. When using the z= command, the user may overflow the count with values larger than MAX_INT. Impact is low, user interaction is required and a crash may not even happen in all situations. This vulnerability has b…

  • Low 2.8

    overflow in shift_line in vim

    Vim is an open source command line text editor. In affected versions when shifting lines in operator pending mode and using a very large value, it may be possible to overflow the size of integer. Impact is low, user interaction is required and a crash may not…

References

  • report
    https://bugzilla.suse.com/1215005
  • report
    https://bugzilla.suse.com/1217316
  • report
    https://bugzilla.suse.com/1217320
  • report
    https://bugzilla.suse.com/1217321
  • report
    https://bugzilla.suse.com/1217324
  • report
    https://bugzilla.suse.com/1217326
  • report
    https://bugzilla.suse.com/1217329
  • report
    https://bugzilla.suse.com/1217330
  • report
    https://bugzilla.suse.com/1217432
  • report
    https://bugzilla.suse.com/1219581
  • web
    https://www.suse.com/security/cve/CVE-2023-4750
  • web
    https://www.suse.com/security/cve/CVE-2023-48231
  • web
    https://www.suse.com/security/cve/CVE-2023-48232
  • web
    https://www.suse.com/security/cve/CVE-2023-48233
  • web
    https://www.suse.com/security/cve/CVE-2023-48234
  • web
    https://www.suse.com/security/cve/CVE-2023-48235
  • web
    https://www.suse.com/security/cve/CVE-2023-48236
  • web
    https://www.suse.com/security/cve/CVE-2023-48237
  • web
    https://www.suse.com/security/cve/CVE-2023-48706
  • web
    https://www.suse.com/security/cve/CVE-2024-22667