Vulnerability Details : CVE-2022-2946
Potential exploit
Use After Free in GitHub repository vim/vim prior to 9.0.0246.
Vulnerability category: Memory Corruption
Products affected by CVE-2022-2946
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-2946
0.03%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 7 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-2946
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.8
|
HIGH | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
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-2946
-
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-2946
-
https://github.com/vim/vim/commit/adce965162dd89bf29ee0e5baf53652e7515762c
patch 9.0.0246: using freed memory when 'tagfunc' deletes the buffer · vim/vim@adce965 · GitHubPatch;Third Party Advisory
-
https://huntr.dev/bounties/5d389a18-5026-47df-a5d0-1548a9b555d5
Use After Free in function vim_vsnprintf_typval vulnerability found in vimExploit;Patch;Third Party Advisory
-
https://security.gentoo.org/glsa/202305-16
Vim, gVim: Multiple Vulnerabilities (GLSA 202305-16) — Gentoo security
-
https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html
[SECURITY] [DLA 3182-1] vim security updateMailing List;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C72HDIMR3KTTAO7QGTXWUMPBNFUFIBRD/
[SECURITY] Fedora 35 Update: vim-9.0.246-1.fc35 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
Jump to