vim up to 8.2.4938 vim/vim grab_file_name buffer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in vim and classified as critical. The impacted element is the function grab_file_name of the file vim/vim. This manipulation causes buffer overflow.
The identification of this vulnerability is CVE-2022-1720. It is possible to initiate the attack remotely. There is no exploit available.
The affected component should be upgraded.
Details
A vulnerability classified as critical was found in vim (Word Processing Software). Affected by this vulnerability is the function grab_file_name of the file vim/vim. The manipulation with an unknown input leads to a buffer overflow vulnerability. The CWE definition for the vulnerability is CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. As an impact it is known to affect availability. The summary by CVE is:
Buffer Over-read in function grab_file_name in GitHub repository vim/vim prior to 8.2.4956. This vulnerability is capable of crashing the software, memory modification, and possible remote execution.
The weakness was shared 06/20/2022. The advisory is shared at huntr.dev. This vulnerability is known as CVE-2022-1720 since 05/14/2022. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available.
Upgrading to version 8.2.4956 eliminates this vulnerability. Applying the patch 395bd1f6d3edc9f7edb5d1f2d7deaf5a9e3ab93c is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2022-25002). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
- 0.52
- 1.0
- 1.22
- 3.0
- 4.0
- 5.0
- 5.1
- 5.2
- 5.3
- 5.4
- 5.5
- 5.6
- 5.7
- 5.8
- 6.0
- 6.1
- 6.2
- 6.3
- 6.3.011
- 6.3.025
- 6.3.030
- 6.3.044
- 6.3.081
- 6.4
- 7.0
- 7.1
- 7.1.38
- 7.1.314
- 7.2
- 7.2a.10
- 8.0
- 8.0.0056
- 8.0.0322
- 8.0.0377
- 8.0.0378
- 8.0.1263
- 8.1.0881
- 8.1.1365
- 8.1.2135
- 8.1.2136
- 8.2
- 8.2.2348
- 8.2.3883
- 8.2.4646
- 8.2.4774
- 8.2.4919
- 8.2.4925
- 8.2.4938
License
Website
- Product: https://github.com/vim/vim/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 6.6
CNA Vector (huntr.dev): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Buffer overflowCWE: CWE-120 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: vim 8.2.4956
Patch: 395bd1f6d3edc9f7edb5d1f2d7deaf5a9e3ab93c
Timeline
05/14/2022 🔍06/20/2022 🔍
06/20/2022 🔍
04/10/2026 🔍
Sources
Product: github.comAdvisory: 395bd1f6d3edc9f7edb5d1f2d7deaf5a9e3ab93c
Status: Confirmed
CVE: CVE-2022-1720 (🔍)
GCVE (CVE): GCVE-0-2022-1720
GCVE (VulDB): GCVE-100-202429
EUVD: 🔍
Entry
Created: 06/20/2022 22:05Updated: 04/10/2026 10:33
Changes: 06/20/2022 22:05 (52), 06/25/2022 08:34 (1), 06/25/2022 08:35 (1), 04/10/2026 10:33 (16)
Complete: 🔍
Cache ID: 216:BE4:103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.