Buffer overflow in Vim



Published: 2022-09-26
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-3296
CWE-ID CWE-119
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Vim
Client/Desktop applications / Office applications

Vendor

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Buffer overflow

EUVDB-ID: #VU67658

Risk: High

CVSSv3.1:

CVE-ID: CVE-2022-3296

CWE-ID: CWE-119 - Improper Restriction of Operations within the Bounds of a Memory Buffer

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing files within the ex_finally() function in ex_eval.c. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Vim: before 9.0.0577


CPE2.3 External links

http://github.com/vim/vim/commit/96b9bf8f74af8abf1e30054f996708db7dc285be
http://huntr.dev/bounties/958866b8-526a-4979-9471-39392e0c9077

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###