CVE-2022-3297
published 2022-09-25CVE-2022-3297: Use After Free in GitHub repository vim/vim prior to 9.0.0579.
PriorityP433high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.48%
38.0th percentile
Use After Free in GitHub repository vim/vim prior to 9.0.0579.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | vim | < vim 2:9.0.0626-1 (bookworm) | vim 2:9.0.0626-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_vim_9.0.0614-1_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_vim_9.0.0614-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 9.0.0579 | 9.0.0579 |
| vim | vim | >= 0 < 2:9.0.0626-1 | 2:9.0.0626-1 |
| vim | vim | >= 0 < 2:9.0.0626-1 | 2:9.0.0626-1 |
| vim | vim | >= 0 < 2:9.0.0626-1 | 2:9.0.0626-1 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.18 | 2:8.1.2269-1ubuntu5.18 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.12 | 2:8.2.3995-1ubuntu2.12 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm13 | 2:7.4.052-1ubuntu3.1+esm13 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.13+esm5 | 2:8.0.1453-1ubuntu1.13+esm5 |
| vim | vim_vim | >= unspecified < 9.0.0579 | 9.0.0579 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8LOW
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
vim vulnerabilities
osv·2023-10-09·CVSS 7.8
CVE-2022-3235 [HIGH] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially crafted
file, it could cause Vim to crash, or possibly execute arbitrary code. This
issue only affected Ubuntu 22.04 LTS. (CVE-2022-3235, CVE-2022-3278,
CVE-2022-3297, CVE-2022-3491)
It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially crafted
file, it could cause Vim to crash, or possibly execute arbitrary code. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04
LTS. (CVE-2022-3352, CVE-2022-4292)
It was discovered that Vim incorrectly handled memory when replacing in
virtualedit mode. An attacker could possibly us
GHSA
GHSA-fc4g-xr73-63rv: Use After Free in GitHub repository vim/vim prior to 9
ghsa_unreviewed·2022-09-26
CVE-2022-3297 [HIGH] CWE-416 GHSA-fc4g-xr73-63rv: Use After Free in GitHub repository vim/vim prior to 9
Use After Free in GitHub repository vim/vim prior to 9.0.0579.
OSV
CVE-2022-3297: Use After Free in GitHub repository vim/vim prior to 9
osv·2022-09-25·CVSS 7.8
CVE-2022-3297 [HIGH] CVE-2022-3297: Use After Free in GitHub repository vim/vim prior to 9
Use After Free in GitHub repository vim/vim prior to 9.0.0579.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-10-09·CVSS 7.8
CVE-2022-3591 [HIGH] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially crafted
file, it could cause Vim to crash, or possibly execute arbitrary code. This
issue only affected Ubuntu 22.04 LTS. (CVE-2022-3235, CVE-2022-3278,
CVE-2022-3297, CVE-2022-3491)
It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially crafted
file, it could cause Vim to crash, or possibly execute arbitrary code. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04
LTS. (CVE-2022-3352, CVE-2022-4292)
It was discovered that Vim incorrectly handled memory when
Red Hat
vim: use-after-free in process_next_cpt_value() at insexpand.c
vendor_redhat·2022-09-25·CVSS 7.8
CVE-2022-3297 [HIGH] CWE-416 vim: use-after-free in process_next_cpt_value() at insexpand.c
vim: use-after-free in process_next_cpt_value() at insexpand.c
Use After Free in GitHub repository vim/vim prior to 9.0.0579.
A heap use-after-free vulnerability was found in Vim's process_next_cpt_value() function of the src/insexpand.c file. This flaw occurs due to the usage of freed memory when 'tagfunc' wipes out the buffer that holds 'complete.' This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap use-after-free issue that causes an application to crash, possibly executing code and corrupting memory.
Statement: Red Hat Product Security has rated this issue as having a Low security impact, because the "victim" has to run an untrusted file IN SCRIPT MODE. Someone who is running untrusted files in script mode is equivalent to someone ju
Microsoft
Use After Free in vim/vim
vendor_msrc·2022-09-13·CVSS 7.8
CVE-2022-3297 [HIGH] CWE-416 Use After Free in vim/vim
Use After Free in vim/vim
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
@huntrdev: @huntrdev
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.com/en-us/a
Debian
CVE-2022-3297: vim - Use After Free in GitHub repository vim/vim prior to 9.0.0579.
vendor_debian·2022·CVSS 7.8
CVE-2022-3297 [HIGH] CVE-2022-3297: vim - Use After Free in GitHub repository vim/vim prior to 9.0.0579.
Use After Free in GitHub repository vim/vim prior to 9.0.0579.
Scope: local
bookworm: resolved (fixed in 2:9.0.0626-1)
bullseye: open
forky: resolved (fixed in 2:9.0.0626-1)
sid: resolved (fixed in 2:9.0.0626-1)
trixie: resolved (fixed in 2:9.0.0626-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/vim/vim/commit/0ff01835a40f549c5c4a550502f62a2ac9ac447chttps://huntr.dev/bounties/1aa9ec92-0355-4710-bf85-5bce9effa01chttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4QI7AETXBHPC7SGA77Q7O5IEGULWYET7/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GTBVD4J2SKVSWK4VBN5JP5OEVK6GDS3N/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSSEWQLK55MCNT4Z2IIJEJYEI5HLCODI/https://security.gentoo.org/glsa/202305-16https://github.com/vim/vim/commit/0ff01835a40f549c5c4a550502f62a2ac9ac447chttps://huntr.dev/bounties/1aa9ec92-0355-4710-bf85-5bce9effa01chttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4QI7AETXBHPC7SGA77Q7O5IEGULWYET7/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GTBVD4J2SKVSWK4VBN5JP5OEVK6GDS3N/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSSEWQLK55MCNT4Z2IIJEJYEI5HLCODI/https://security.gentoo.org/glsa/202305-16
2022-09-25
Published