CVE-2022-1733
published 2022-05-17CVE-2022-1733: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4968.
PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.60%
44.2th percentile
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4968.
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | macos | < 13.0 | 13.0 |
| apple | macos_ventura | — | — |
| debian | vim | < vim 2:9.0.0135-1 (bookworm) | vim 2:9.0.0135-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_vim_8.2.5064-1_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_vim_8.2.5064-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 8.2.4968 | 8.2.4968 |
| vim | vim | >= 0 < 2:9.0.0135-1 | 2:9.0.0135-1 |
| vim | vim | >= 0 < 2:9.0.0135-1 | 2:9.0.0135-1 |
| vim | vim | >= 0 < 2:9.0.0135-1 | 2:9.0.0135-1 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.12 | 2:8.0.1453-1ubuntu1.12 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.13 | 2:8.1.2269-1ubuntu5.13 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.5 | 2:8.2.3995-1ubuntu2.5 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm8 | 2:7.4.052-1ubuntu3.1+esm8 |
| vim | vim_vim | >= unspecified < 8.2.4968 | 8.2.4968 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv3.06.6MEDIUMCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
nvdv2.04.6MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
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-04-04·CVSS 7.8
CVE-2022-0413 [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 possible execute arbitrary code. This
issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS,
and Ubuntu 22.04 LTS. (CVE-2022-0413, CVE-2022-1629, CVE-2022-1674,
CVE-2022-1733, CVE-2022-1735, CVE-2022-1785, CVE-2022-1796, CVE-2022-1851,
CVE-2022-1898, CVE-2022-1942, CVE-2022-1968, CVE-2022-2124, CVE-2022-2125,
CVE-2022-2126, CVE-2022-2129, CVE-2022-2175, CVE-2022-2183, CVE-2022-2206,
CVE-2022-2304, CVE-2022-2345, CVE-2022-2581)
It was discovered that Vim incorrectly handled memory when opening certain
files. If an attacker could trick a user into opening a specially
GHSA
GHSA-x282-2jwx-hvgg: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8
ghsa_unreviewed·2022-05-18
CVE-2022-1733 [HIGH] CWE-122 GHSA-x282-2jwx-hvgg: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
OSV
CVE-2022-1733: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8
osv·2022-05-17·CVSS 7.8
CVE-2022-1733 [HIGH] CVE-2022-1733: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4968.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-04-04·CVSS 7.8
CVE-2022-1968 [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 possible execute arbitrary code. This
issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS,
and Ubuntu 22.04 LTS. (CVE-2022-0413, CVE-2022-1629, CVE-2022-1674,
CVE-2022-1733, CVE-2022-1735, CVE-2022-1785, CVE-2022-1796, CVE-2022-1851,
CVE-2022-1898, CVE-2022-1942, CVE-2022-1968, CVE-2022-2124, CVE-2022-2125,
CVE-2022-2126, CVE-2022-2129, CVE-2022-2175, CVE-2022-2183, CVE-2022-2206,
CVE-2022-2304, CVE-2022-2345, CVE-2022-2581)
It was discovered that Vim incorrectly handled memory when opening certain
files.
Apple
CVE-2022-1733: macOS Ventura 13
vendor_apple·2022-10-24·CVSS 7.8
CVE-2022-1733 [HIGH] CVE-2022-1733: macOS Ventura 13
Apple Security Update: About the security content of macOS Ventura 13
Product: macOS Ventura
Version: 13
CVE: CVE-2022-1733
Component: CVE-2022-1733
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2022-06-30
CVE-2022-1733 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 possible execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
vim: Heap-based Buffer Overflow in cindent.c
vendor_redhat·2022-05-17·CVSS 7.8
CVE-2022-1733 [HIGH] vim: Heap-based Buffer Overflow in cindent.c
vim: Heap-based Buffer Overflow in cindent.c
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4968.
A flaw was found in vim. The vulnerability occurs due to Illegal memory access and leads to a heap buffer overflow vulnerability. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution.
Mitigation: Untrusted vim scripts with -s [scriptin] are not recommended to run.
Package: vim (Red Hat Enterprise Linux 6) - Not affected
Package: vim (Red Hat Enterprise Linux 7) - Not affected
Package: vim (Red Hat Enterprise Linux 8) - Not affected
Package: vim (Red Hat Enterprise Linux 9) - Not affected
Package: vim (Red Hat Virtualization 4) - Not affected
Microsoft
Heap-based Buffer Overflow in vim/vim
vendor_msrc·2022-05-10·CVSS 7.8
CVE-2022-1733 [HIGH] CWE-122 Heap-based Buffer Overflow in vim/vim
Heap-based Buffer Overflow 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
Debian
CVE-2022-1733: vim - Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4968.
vendor_debian·2022·CVSS 7.8
CVE-2022-1733 [HIGH] CVE-2022-1733: vim - Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4968.
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4968.
Scope: local
bookworm: resolved (fixed in 2:9.0.0135-1)
bullseye: open
forky: resolved (fixed in 2:9.0.0135-1)
sid: resolved (fixed in 2:9.0.0135-1)
trixie: resolved (fixed in 2:9.0.0135-1)
No detection rules found.
No public exploits indexed.
arXiv
Exploring the Security Threats of Knowledge Base Poisoning in Retrieval-Augmented Code Generation
arxiv_fulltext·2025-02-05
Exploring the Security Threats of Knowledge Base Poisoning in Retrieval-Augmented Code Generation
Exploring the Security Threats of Knowledge Base Poisoning in Retrieval-Augmented Code Generation
Bo Lin
National University of Defense Technology
Shangwen Wang
National University of Defense Technology
Liqian Chen
National University of Defense Technology
Xiaoguang Mao
National University of Defense Technology
empty
new
old
LEADER
* e.g.,
* i.e.,
* etc.
* et al.
* w.r.t
mygreenRGB138,155,110
myredRGB196,90,101
yellowRGB255,255,153
greyRGB224,224,224
mybleuRGB4,81,165
[1]blue#1
grey
[3]
myboxcounter
tcolorbox[colback=gray!10, colframe=black!80,
width= , arc=2mm, auto outer arc, title= #1, label=prompt:#2, center, left=2mm,right=2mm]
-1mm
0.7
#3
-2mm
tcolorbox
diff
basicstyle= ,
morecomment=[f][red]-,
morecomment=[f][green!60!black]+,
morecomment=[f][gray]@@,
breaklines=true,
Bugzilla
CVE-2022-1733 vim: Heap-based Buffer Overflow in cindent.c
bugzilla·2022-05-18·CVSS 7.8
CVE-2022-1733 [HIGH] CVE-2022-1733 vim: Heap-based Buffer Overflow in cindent.c
CVE-2022-1733 vim: Heap-based Buffer Overflow in cindent.c
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
https://huntr.dev/bounties/6ff03b27-472b-4bef-a2bf-410fae65ff0a
https://github.com/vim/vim/commit/60ae0e71490c97f2871a6344aca61cacf220f813
Discussion:
Created vim tracking bugs for this issue:
Affects: fedora-34 [bug 2087602]
Affects: fedora-35 [bug 2087601]
---
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):
https://access.redhat.com/security/cve/cve-2022-1733
http://seclists.org/fulldisclosure/2022/Oct/28http://seclists.org/fulldisclosure/2022/Oct/41https://github.com/vim/vim/commit/60ae0e71490c97f2871a6344aca61cacf220f813https://huntr.dev/bounties/6ff03b27-472b-4bef-a2bf-410fae65ff0ahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFAZTAT5CZC2R6KYDYA2HBAVEDSIX6MW/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUPOLEX5GXC733HL4EFYMHFU7NISJJZG/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QKIX5HYKWXWG6QBCPPTPQ53GNOFHSAIS/https://security.gentoo.org/glsa/202208-32https://security.gentoo.org/glsa/202305-16https://support.apple.com/kb/HT213488http://seclists.org/fulldisclosure/2022/Oct/28http://seclists.org/fulldisclosure/2022/Oct/41https://github.com/vim/vim/commit/60ae0e71490c97f2871a6344aca61cacf220f813https://huntr.dev/bounties/6ff03b27-472b-4bef-a2bf-410fae65ff0ahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFAZTAT5CZC2R6KYDYA2HBAVEDSIX6MW/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUPOLEX5GXC733HL4EFYMHFU7NISJJZG/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QKIX5HYKWXWG6QBCPPTPQ53GNOFHSAIS/https://security.gentoo.org/glsa/202208-32https://security.gentoo.org/glsa/202305-16https://support.apple.com/kb/HT213488
2022-05-17
Published