Vulnerability Details : CVE-2022-2042
Potential exploit
Use After Free in GitHub repository vim/vim prior to 8.2.
Vulnerability category: Memory Corruption
Products affected by CVE-2022-2042
- cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
- cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
- cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-2042
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 21 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-2042
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
7.4
|
HIGH | CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L |
0.8
|
6.0
|
huntr.dev | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2022-2042
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by:
- nvd@nist.gov (Secondary)
- security@huntr.dev (Primary)
References for CVE-2022-2042
-
https://github.com/vim/vim/commit/2813f38e021c6e6581c0c88fcf107e41788bc835
patch 8.2.5072: using uninitialized value and freed memory in spell c… · vim/vim@2813f38 · GitHubPatch;Third Party Advisory
-
https://security.gentoo.org/glsa/202208-32
Vim, gVim: Multiple Vulnerabilities (GLSA 202208-32) — Gentoo securityThird Party Advisory
-
https://huntr.dev/bounties/8628b4cd-4055-4059-aed4-64f7fdc10eba
use after free in skipwhite vulnerability found in vimExploit;Patch;Third Party Advisory
-
https://support.apple.com/kb/HT213488
About the security content of macOS Ventura 13 - Apple SupportThird Party Advisory
-
https://support.apple.com/kb/HT213443
About the security content of macOS Big Sur 11.7 - Apple SupportThird Party Advisory
-
http://seclists.org/fulldisclosure/2022/Oct/45
Full Disclosure: APPLE-SA-2022-10-27-9 Additional information for APPLE-SA-2022-09-12-3 macOS Big Sur 11.7Mailing List;Third Party Advisory
-
http://seclists.org/fulldisclosure/2022/Oct/41
Full Disclosure: APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13Mailing List;Third Party Advisory
-
http://seclists.org/fulldisclosure/2022/Oct/28
Full Disclosure: APPLE-SA-2022-10-24-2 macOS Ventura 13Mailing List;Third Party Advisory
-
https://security.gentoo.org/glsa/202305-16
Vim, gVim: Multiple Vulnerabilities (GLSA 202305-16) — Gentoo security
-
https://support.apple.com/kb/HT213444
About the security content of macOS Monterey 12.6 - Apple SupportThird Party Advisory
-
http://seclists.org/fulldisclosure/2022/Oct/43
Full Disclosure: APPLE-SA-2022-10-27-7 Additional information for APPLE-SA-2022-09-12-4 macOS Monterey 12.6Mailing List;Third Party Advisory
Jump to