CVE-2022-2042

HIGH CVSS 3.1: 7.8 EPSS 1.49%
Updated Oct 09, 2026
Vim
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions 12.0 — 8.2.5072
Fixed In 8.2.5072
Type CWE-416 (Use After Free)
Vendor Vim
Public PoC No

Use After Free in GitHub repository vim/vim prior to 8.2.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 3

Configuration From (including) Up to (excluding)
Vim Vim
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
— 8.2.5072
Apple Macos
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
— 11.7
Apple Macos
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
12.0 12.6