PT-2024-6175 · Vim+3 · Vim+3
Suyueguo
·
Published
2024-08-22
·
Updated
2025-08-18
·
CVE-2024-43790
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Vim versions prior to v9.1.0689
Description
The issue is related to a buffer overflow in the Vim text editor. When the search-count message is disabled and right-left mode is enabled, the search pattern is reversed and allocated in a new buffer. If the search pattern contains ASCII NUL characters, the allocated buffer will be smaller than the original, causing an overflow when accessing characters inside the buffer. This can potentially impact the confidentiality, integrity, and availability of protected information.
Recommendations
For versions prior to v9.1.0689, update to Vim patch v9.1.0689 or later to resolve the issue. As a temporary workaround, consider disabling the right-left mode (:set norl) when performing searches to minimize the risk of exploitation. Additionally, avoid using search patterns that contain ASCII NUL characters until the issue is resolved.
Exploit
Fix
Heap Based Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Red Os
Suse
Vim