Vulnerability identifier: #VU64506
Vulnerability risk: Low
CVSSv4.0: 4 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID:
CWE-ID:
CWE-787
Exploitation vector: Local
Exploit availability: No
Vulnerable software:
Vim
Client/Desktop applications /
Software for system administration
Vendor: Vim.org
Description
The vulnerability allows a local attacker to execute arbitrary code on the system.
The vulnerability exists due to Illegal memory access and leads to an out-of-bounds write vulnerability in the vim_regsub_both() function. A local attacker can trick the victim into opening a specially crafted file, leading to a system crash or code execution.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Vim: before 8.2.5023, 8.2.5023
External links
http://huntr.dev/bounties/82c12151-c283-40cf-aa05-2e39efa89118
http://github.com/vim/vim/commit/338f1fc0ee3ca929387448fe464579d6113fa76a
http://bugzilla.redhat.com/show_bug.cgi?id=2091682
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.