#VU64508 Out-of-bounds read in Vim


Published: 2022-06-20

Vulnerability identifier: #VU64508

Vulnerability risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-1927

CWE-ID: CWE-125

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
Vim
Client/Desktop applications / Office applications

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 a buffer over-read vulnerability in the utf_ptr2char() function. A local attacker can trick the victim into opening a specially crafted file, trigger out-of-bounds read error and execute arbitrary code on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Vim:


External links
http://huntr.dev/bounties/945107ef-0b27-41c7-a03c-db99def0e777
http://github.com/vim/vim/commit/4d97a565ae8be0d4debba04ebd2ac3e75a0c8010
http://bugzilla.redhat.com/show_bug.cgi?id=2091687


Q & A

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.


Latest bulletins with this vulnerability