CVE-2022-0318
Heap-based Buffer Overflow in vim/vim
Severity Score
9.8
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
1
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
Descriptions
Heap-based Buffer Overflow in vim/vim prior to 8.2.
Un Desbordamiento de Búfer en la región Heap de la Memoria en vim/vim versiones anteriores a 8.2
A flaw was found in vim. The vulnerability occurs due to reading beyond the end of a line in the utf_head_off function, which can lead to a heap buffer overflow. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2022-01-20 CVE Reserved
- 2022-01-21 CVE Published
- 2024-10-06 EPSS Updated
- 2024-11-15 CVE Updated
- 2024-11-15 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-122: Heap-based Buffer Overflow
- CWE-787: Out-of-bounds Write
CAPEC
References (11)
URL | Tag | Source |
---|---|---|
http://seclists.org/fulldisclosure/2022/Oct/28 | Mailing List | |
http://seclists.org/fulldisclosure/2022/Oct/41 | Mailing List | |
http://seclists.org/fulldisclosure/2022/Oct/43 | Mailing List | |
https://lists.debian.org/debian-lts-announce/2022/11/msg00032.html | Mailing List | |
https://support.apple.com/kb/HT213444 | Third Party Advisory | |
https://support.apple.com/kb/HT213488 | Third Party Advisory |
URL | Date | SRC |
---|---|---|
https://huntr.dev/bounties/0d10ba02-b138-4e68-a284-67f781a62d08 | 2024-11-15 |
URL | Date | SRC |
---|---|---|
https://github.com/vim/vim/commit/57df9e8a9f9ae1aafdde9b86b10ad907627a87dc | 2022-11-29 |
URL | Date | SRC |
---|---|---|
https://security.gentoo.org/glsa/202208-32 | 2022-11-29 | |
https://access.redhat.com/security/cve/CVE-2022-0318 | 2022-03-15 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2045355 | 2022-03-15 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Vim Search vendor "Vim" | Vim Search vendor "Vim" for product "Vim" | < 8.2.4151 Search vendor "Vim" for product "Vim" and version " < 8.2.4151" | - |
Affected
| ||||||
Apple Search vendor "Apple" | Macos Search vendor "Apple" for product "Macos" | < 13.0 Search vendor "Apple" for product "Macos" and version " < 13.0" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 10.0 Search vendor "Debian" for product "Debian Linux" and version "10.0" | - |
Affected
|