CVE-2022-0943
published 2022-03-14CVE-2022-0943: Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8.2.4563.
PriorityP336high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.70%
48.4th percentile
Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8.2.4563.
Affected
20 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | macos | < 13.0 | 13.0 |
| apple | macos_ventura | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | vim | < vim 2:8.2.4659-1 (bookworm) | vim 2:8.2.4659-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_vim_8.2.4743-1_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_vim_8.2.4563-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 8.2.4563 | 8.2.4563 |
| vim | vim | >= 0 < 2:8.2.4659-1 | 2:8.2.4659-1 |
| vim | vim | >= 0 < 2:8.2.4659-1 | 2:8.2.4659-1 |
| vim | vim | >= 0 < 2:8.2.4659-1 | 2:8.2.4659-1 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.9 | 2:8.0.1453-1ubuntu1.9 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.9 | 2:8.1.2269-1ubuntu5.9 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.8 | 2:8.1.2269-1ubuntu5.8 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.1 | 2:8.2.3995-1ubuntu2.1 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm5 | 2:7.4.052-1ubuntu3.1+esm5 |
| vim | vim | >= 0 < 2:7.4.1689-3ubuntu1.5+esm6 | 2:7.4.1689-3ubuntu1.5+esm6 |
| vim | vim_vim | >= unspecified < 8.2.4563 | 8.2.4563 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv3.08.4HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/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 regression
osv·2022-09-19·CVSS 7.8
CVE-2022-0943 [HIGH] vim regression
vim regression
USN-5613-1 fixed vulnerabilities in Vim. Unfortunately that update failed
to include binary packages for some architectures. This update fixes that
regression.
We apologize for the inconvenience.
Original advisory details:
It was discovered that Vim was not properly performing bounds checks
when executing spell suggestion commands. An attacker could possibly use
this issue to cause a denial of service or execute arbitrary code.
(CVE-2022-0943)
It was discovered that Vim was using freed memory when dealing with
regular expressions through its old regular expression engine. If a user
were tricked into opening a specially crafted file, an attacker could
crash the application, leading to a denial of service, or possibly achieve
code execution. (CVE-2022-1154)
It was discov
OSV
vim vulnerabilities
osv·2022-09-15·CVSS 7.8
CVE-2022-0943 [HIGH] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim was not properly performing bounds checks
when executing spell suggestion commands. An attacker could possibly use
this issue to cause a denial of service or execute arbitrary code.
(CVE-2022-0943)
It was discovered that Vim was using freed memory when dealing with
regular expressions through its old regular expression engine. If a user
were tricked into opening a specially crafted file, an attacker could
crash the application, leading to a denial of service, or possibly achieve
code execution. (CVE-2022-1154)
It was discovered that Vim was not properly performing checks on name of
lambda functions. An attacker could possibly use this issue to cause a
denial of service. This issue affected only Ubuntu 22.04 LTS.
(CVE-2022-1420)
It was disc
OSV
vim vulnerabilities
osv·2022-06-06·CVSS 7.8
CVE-2022-0554 [HIGH] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim was incorrectly processing Vim buffers.
An attacker could possibly use this issue to perform illegal memory
access and expose sensitive information. (CVE-2022-0554)
It was discovered that Vim was not properly performing bounds checks
for column numbers when replacing tabs with spaces or spaces with
tabs, which could cause a heap buffer overflow. An attacker could
possibly use this issue to cause a denial of service or execute
arbitrary code. (CVE-2022-0572)
It was discovered that Vim was not properly performing validation of
data that contained special multi-byte characters, which could cause
an out-of-bounds read. An attacker could possibly use this issue to
cause a denial of service. (CVE-2022-0685)
It was discovered that Vim was incorre
GHSA
GHSA-6rgq-99c6-8587: Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8
ghsa_unreviewed·2022-03-15
CVE-2022-0943 [HIGH] CWE-122 GHSA-6rgq-99c6-8587: Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8
Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8.2.
OSV
CVE-2022-0943: Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8
osv·2022-03-14·CVSS 7.8
CVE-2022-0943 [HIGH] CVE-2022-0943: Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8
Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8.2.4563.
Apple
CVE-2022-0943: macOS Ventura 13
vendor_apple·2022-10-24·CVSS 7.8
CVE-2022-0943 [HIGH] CVE-2022-0943: macOS Ventura 13
Apple Security Update: About the security content of macOS Ventura 13
Product: macOS Ventura
Version: 13
CVE: CVE-2022-0943
Component: CVE-2022-0943
Ubuntu
Vim regression
vendor_ubuntu·2022-09-19·CVSS 7.8
CVE-2022-0943 [HIGH] Vim regression
Title: Vim regression
Summary: USN-5613-1 caused a regression in Vim.
USN-5613-1 fixed vulnerabilities in Vim. Unfortunately that update failed
to include binary packages for some architectures. This update fixes that
regression.
We apologize for the inconvenience.
Original advisory details:
It was discovered that Vim was not properly performing bounds checks
when executing spell suggestion commands. An attacker could possibly use
this issue to cause a denial of service or execute arbitrary code.
(CVE-2022-0943)
It was discovered that Vim was using freed memory when dealing with
regular expressions through its old regular expression engine. If a user
were tricked into opening a specially crafted file, an attacker could
crash the application, leading to a denial of service, or possibl
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2022-09-15·CVSS 7.8
CVE-2022-1621 [HIGH] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim was not properly performing bounds checks
when executing spell suggestion commands. An attacker could possibly use
this issue to cause a denial of service or execute arbitrary code.
(CVE-2022-0943)
It was discovered that Vim was using freed memory when dealing with
regular expressions through its old regular expression engine. If a user
were tricked into opening a specially crafted file, an attacker could
crash the application, leading to a denial of service, or possibly achieve
code execution. (CVE-2022-1154)
It was discovered that Vim was not properly performing checks on name of
lambda functions. An attacker could possibly use this issue to cause a
denial of service. This issue
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2022-06-06·CVSS 7.8
CVE-2022-1616 [HIGH] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim was incorrectly processing Vim buffers.
An attacker could possibly use this issue to perform illegal memory
access and expose sensitive information. (CVE-2022-0554)
It was discovered that Vim was not properly performing bounds checks
for column numbers when replacing tabs with spaces or spaces with
tabs, which could cause a heap buffer overflow. An attacker could
possibly use this issue to cause a denial of service or execute
arbitrary code. (CVE-2022-0572)
It was discovered that Vim was not properly performing validation of
data that contained special multi-byte characters, which could cause
an out-of-bounds read. An attacker could possibly use this issue to
cause a denial of serv
Red Hat
vim: Heap-based Buffer Overflow occurs in vim
vendor_redhat·2022-03-14·CVSS 7.8
CVE-2022-0943 [HIGH] CWE-120 vim: Heap-based Buffer Overflow occurs in vim
vim: Heap-based Buffer Overflow occurs in vim
Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8.2.4563.
A heap buffer overflow flaw was found in vim's suggest_try_change() function of the spellsuggest.c file. This flaw allows an attacker to trick a user into opening a crafted file, triggering a heap-overflow and causing an application to crash, which leads to a denial of service.
Statement: Red Hat Enterprise Linux - 6, 7, 8 are not affected, because vulnerable code is not present in binary RPMs of Vim shipped with RHEL.
Red Hat Enterprise Virtualization 4 consumes RHEL-8 vim, and as RHEL-8 is not affected, Hence, RHEV is also not affected.
Red Hat Product Security has rated this issue as having a Moderate security impact. For additional information, refer
Microsoft
Heap-based Buffer Overflow occurs in vim in vim/vim
vendor_msrc·2022-03-08·CVSS 7.8
CVE-2022-0943 [HIGH] CWE-122 Heap-based Buffer Overflow occurs in vim in vim/vim
Heap-based Buffer Overflow occurs in vim 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://l
Debian
CVE-2022-0943: vim - Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8...
vendor_debian·2022·CVSS 7.8
CVE-2022-0943 [HIGH] CVE-2022-0943: vim - Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8...
Heap-based Buffer Overflow occurs in vim in GitHub repository vim/vim prior to 8.2.4563.
Scope: local
bookworm: resolved (fixed in 2:8.2.4659-1)
bullseye: open
forky: resolved (fixed in 2:8.2.4659-1)
sid: resolved (fixed in 2:8.2.4659-1)
trixie: resolved (fixed in 2:8.2.4659-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://seclists.org/fulldisclosure/2022/Oct/28http://seclists.org/fulldisclosure/2022/Oct/41https://github.com/vim/vim/commit/5c68617d395f9d7b824f68475b24ce3e38d653a3https://huntr.dev/bounties/9e4de32f-ad5f-4830-b3ae-9467b5ab90a1https://lists.debian.org/debian-lts-announce/2022/06/msg00014.htmlhttps://lists.debian.org/debian-lts-announce/2022/11/msg00009.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C3R36VSLO4TRX72SWB6IDJOD24BQXPX2/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RAIQTUO35U5WO2NYMY47637EMCVDJRSL/https://security.gentoo.org/glsa/202208-32https://support.apple.com/kb/HT213488http://seclists.org/fulldisclosure/2022/Oct/28http://seclists.org/fulldisclosure/2022/Oct/41https://github.com/vim/vim/commit/5c68617d395f9d7b824f68475b24ce3e38d653a3https://huntr.dev/bounties/9e4de32f-ad5f-4830-b3ae-9467b5ab90a1https://lists.debian.org/debian-lts-announce/2022/06/msg00014.htmlhttps://lists.debian.org/debian-lts-announce/2022/11/msg00009.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C3R36VSLO4TRX72SWB6IDJOD24BQXPX2/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RAIQTUO35U5WO2NYMY47637EMCVDJRSL/https://security.gentoo.org/glsa/202208-32https://support.apple.com/kb/HT213488
2022-03-14
Published