CVE-2023-1170
published 2023-03-03CVE-2023-1170: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1376.
PriorityP423medium6.6CVSS 3.1
AVLACLPRNUIRSUCLILAH
EPSS
0.48%
38.1th percentile
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1376.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | vim | < vim 2:9.0.1378-1 (bookworm) | vim 2:9.0.1378-1 (bookworm) |
| msrc | cbl2_vim_9.0.1402-1_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_vim_9.0.1402-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 9.0.1376 | 9.0.1376 |
| vim | vim | >= 0 < 2:9.0.1378-1 | 2:9.0.1378-1 |
| vim | vim | >= 0 < 2:9.0.1378-1 | 2:9.0.1378-1 |
| vim | vim | >= 0 < 2:9.0.1378-1 | 2:9.0.1378-1 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.11 | 2:8.0.1453-1ubuntu1.11 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.12 | 2:8.1.2269-1ubuntu5.12 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.4 | 2:8.2.3995-1ubuntu2.4 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm7 | 2:7.4.052-1ubuntu3.1+esm7 |
| vim | vim | >= 0 < 2:7.4.1689-3ubuntu1.5+esm17 | 2:7.4.1689-3ubuntu1.5+esm17 |
| vim | vim_vim | >= unspecified < 9.0.1376 | 9.0.1376 |
CVSS provenance
nvdv3.16.6MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
nvdv3.07.3HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian6.6LOW
vendor_msrc6.6MEDIUM
vendor_redhat6.6MEDIUM
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-03-20·CVSS 7.8
CVE-2022-47024 [HIGH] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim was not properly performing memory management
operations. An attacker could possibly use this issue to cause a denial
of service or execute arbitrary code. This issue only affected Ubuntu 18.04
LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 22.10. (CVE-2022-47024,
CVE-2023-0049, CVE-2023-0054, CVE-2023-0288, CVE-2023-0433)
It was discovered that Vim was not properly performing memory management
operations. An attacker could possibly use this issue to cause a denial
of service or execute arbitrary code. This issue only affected Ubuntu 22.04
LTS, and Ubuntu 22.10. (CVE-2023-0051)
It was discovered that Vim was not properly performing memory management
operations. An attacker could possibly use this issue to cause a denial
of service or e
GHSA
GHSA-4f5c-477m-3p63: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9
ghsa_unreviewed·2023-03-04
CVE-2023-1170 [HIGH] CWE-122 GHSA-4f5c-477m-3p63: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1376.
OSV
CVE-2023-1170: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9
osv·2023-03-03·CVSS 6.6
CVE-2023-1170 [MEDIUM] CVE-2023-1170: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1376.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-03-20·CVSS 7.8
CVE-2023-0054 [HIGH] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim was not properly performing memory management
operations. An attacker could possibly use this issue to cause a denial
of service or execute arbitrary code. This issue only affected Ubuntu 18.04
LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 22.10. (CVE-2022-47024,
CVE-2023-0049, CVE-2023-0054, CVE-2023-0288, CVE-2023-0433)
It was discovered that Vim was not properly performing memory management
operations. An attacker could possibly use this issue to cause a denial
of service or execute arbitrary code. This issue only affected Ubuntu 22.04
LTS, and Ubuntu 22.10. (CVE-2023-0051)
It was discovered that Vim was not properly performing memory management
operations. An attacker cou
Microsoft
Heap-based Buffer Overflow in vim/vim
vendor_msrc·2023-03-14·CVSS 6.6
CVE-2023-1170 [MEDIUM] 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
Red Hat
vim: Heap-based Buffer Overflow
vendor_redhat·2023-03-04·CVSS 6.6
CVE-2023-1170 [MEDIUM] CWE-122 vim: Heap-based Buffer Overflow
vim: Heap-based Buffer Overflow
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1376.
A heap-based buffer overflow vulnerability was found in Vim's utf_ptr2char() function of the src/mbyte.c file. This flaw occurs because there is access to invalid memory with put in visual block mode. An attacker can trick a user into opening a specially crafted file, triggering an out-of-bounds read that causes an application to crash, leading to a denial of service.
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 just taking a random python script and running it.
Since Red Hat Enterprise Linux 6,
Debian
CVE-2023-1170: vim - Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1376.
vendor_debian·2023·CVSS 6.6
CVE-2023-1170 [MEDIUM] CVE-2023-1170: vim - Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1376.
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1376.
Scope: local
bookworm: resolved (fixed in 2:9.0.1378-1)
bullseye: open
forky: resolved (fixed in 2:9.0.1378-1)
sid: resolved (fixed in 2:9.0.1378-1)
trixie: resolved (fixed in 2:9.0.1378-1)
No detection rules found.
No public exploits indexed.
https://github.com/vim/vim/commit/1c73b65229c25e3c1fd8824ba958f7cc4d604f9chttps://huntr.dev/bounties/286e0090-e654-46d2-ac60-29f81799d0a4https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DIAKPMKJ4OZ6NYRZJO7YWMNQL2BICLYV/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IE44W6WMMREYCW3GJHPSYP7NK2VT5NY6/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X4KDAU76Z7QNSPKZX2JAJ6O7KIEOXWTL/https://github.com/vim/vim/commit/1c73b65229c25e3c1fd8824ba958f7cc4d604f9chttps://huntr.dev/bounties/286e0090-e654-46d2-ac60-29f81799d0a4https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DIAKPMKJ4OZ6NYRZJO7YWMNQL2BICLYV/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IE44W6WMMREYCW3GJHPSYP7NK2VT5NY6/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X4KDAU76Z7QNSPKZX2JAJ6O7KIEOXWTL/
2023-03-03
Published