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.
References
Link | Resource |
---|---|
https://github.com/vim/vim/commit/cacb6693c10bb19f28a50eca47bc | Patch |
https://github.com/vim/vim/security/advisories/GHSA-v2x2-cjcg-f9jm | Vendor Advisory |
https://security.netapp.com/advisory/ntap-20240920-0005/ | Third Party Advisory |
Configurations
History
18 Aug 2025, 17:08
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:* cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:* |
|
References | () https://github.com/vim/vim/commit/cacb6693c10bb19f28a50eca47bc - Patch | |
References | () https://github.com/vim/vim/security/advisories/GHSA-v2x2-cjcg-f9jm - Vendor Advisory | |
References | () https://security.netapp.com/advisory/ntap-20240920-0005/ - Third Party Advisory | |
First Time |
Netapp
Netapp bootstrap Os Netapp hci Compute Node Vim vim Vim |
21 Nov 2024, 09:35
Type | Values Removed | Values Added |
---|---|---|
References |
|
23 Aug 2024, 16:18
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
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
CVE.ORG link : CVE-2024-43790
JSON object : View
Products Affected
vim
- vim
netapp
- hci_compute_node
- bootstrap_os
CWE
CWE-122
Heap-based Buffer Overflow