Patchwire CVEs, their patch status, and feeds to follow them

CVE-2024-43790

Fixed in a distro release EPSS <1%CVSS 4.5

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 enabled, the search pattern is reversed. This happens by allocating a new buffer. If the search pattern contains some ASCII NUL characters, the buffer allocated will be smaller than the original allocated buffer (because for allocating the reversed buffer, the strlen() function is called, which only counts until it notices an ASCII NUL byte ) and thus the original length indicator is wrong. This causes an overflow when accessing characters inside the msgbuf by the previously (now wrong) length of the msgbuf. The issue has been fixed as of Vim patch v9.1.0689.

Published 2024-08-22 · CVE record · OSV

Products: vim

Distro releases

ReleasePackageFixed in
Alpine 3.20vim9.1.0707-r0
Alpine 3.21vim9.1.0707-r0
Alpine 3.22vim9.1.0707-r0
Alpine 3.23vim9.1.0707-r0
Chainguardvim9.1.0689-r0
Debian 12vimno fix
Debian 13vim2:9.1.0698-1
Debian 14vim2:9.1.0698-1
SUSE Linux Enterprise Micro 5.1vim9.1.1101-150000.5.69.1
SUSE Linux Enterprise Micro 5.2vim9.1.1101-150000.5.69.1
SUSE Linux Enterprise Micro 5.3vim9.1.1101-150000.5.69.1
SUSE Linux Enterprise Micro 5.4vim9.1.1101-150000.5.69.1
SUSE Linux Enterprise Micro 5.5vim9.1.1101-150500.20.21.1
SUSE Linux Enterprise Module for Basesystem 15 SP6vim9.1.1101-150500.20.21.1
SUSE Linux Enterprise Module for Desktop Applications 15 SP6vim9.1.1101-150500.20.21.1
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5vim9.1.1101-17.41.1
SUSE Linux Micro 6.0vim9.1.1101-1.1
Wolfivim9.1.0689-r0
openSUSE Leap 15.6vim9.1.1101-150500.20.21.1