CVE-2024-43790

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*

Configuration 2 (hide)

AND
cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:*
cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:*

History

18 Aug 2025, 17:08

Type Values Removed Values Added
First Time Netapp
Vim
Vim vim
Netapp hci Compute Node
Netapp bootstrap Os
References
  • () https://security.netapp.com/advisory/ntap-20240920-0005/ - Third Party Advisory
References () https://github.com/vim/vim/commit/cacb6693c10bb19f28a50eca47bc - () https://github.com/vim/vim/commit/cacb6693c10bb19f28a50eca47bc - Patch
References () https://github.com/vim/vim/security/advisories/GHSA-v2x2-cjcg-f9jm - () https://github.com/vim/vim/security/advisories/GHSA-v2x2-cjcg-f9jm - Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:*
cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:*

22 Aug 2024, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-08-22 22:15

Updated : 2025-08-18 17:08


NVD link : CVE-2024-43790

Mitre link : CVE-2024-43790


JSON object : View

Products Affected

vim

  • vim

netapp

  • hci_compute_node
  • bootstrap_os
CWE

No CWE.