CVE-2023-1175
published 2023-03-04CVE-2023-1175: Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378.
PriorityP420medium6.6CVSS 3.1
AVLACLPRNUIRSUCLILAH
EPSS
0.44%
35.1th percentile
Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378.
Affected
14 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.1378 | 9.0.1378 |
| vim | vim | >= 0 < 2:8.2.2434-3+deb11u2 | 2:8.2.2434-3+deb11u2 |
| 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.1378 | 9.0.1378 |
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.6MEDIUM
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
OSV
CVE-2023-1175: Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9
osv·2023-03-04·CVSS 6.6
CVE-2023-1175 [MEDIUM] CVE-2023-1175: Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9
Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378.
GHSA
GHSA-w4c8-8fhq-883p: Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9
ghsa_unreviewed·2023-03-04
CVE-2023-1175 [HIGH] CWE-131 GHSA-w4c8-8fhq-883p: Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9
Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378.
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
Incorrect Calculation of Buffer Size in vim/vim
vendor_msrc·2023-03-14·CVSS 6.6
CVE-2023-1175 [MEDIUM] CWE-131 Incorrect Calculation of Buffer Size in vim/vim
Incorrect Calculation of Buffer Size 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
Red Hat
vim: Incorrect Calculation of Buffer Size
vendor_redhat·2023-03-04·CVSS 6.6
CVE-2023-1175 [MEDIUM] CWE-131 vim: Incorrect Calculation of Buffer Size
vim: Incorrect Calculation of Buffer Size
Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378.
A flaw was found in Vim. There is an incorrect calculation of buffer size issue found in Vim's yank_copy_line() function of the register.c file. This flaw allows illegal memory access when using virtual editing as "startspaces" goes negative. An attacker can trick a user into opening a specially crafted file, triggering an issue that causes an application to crash leading to a denial of service, corrupting memory, and possibly executing code.
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
Debian
CVE-2023-1175: vim - Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1...
vendor_debian·2023·CVSS 6.6
CVE-2023-1175 [MEDIUM] CVE-2023-1175: vim - Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1...
Incorrect Calculation of Buffer Size in GitHub repository vim/vim prior to 9.0.1378.
Scope: local
bookworm: resolved (fixed in 2:9.0.1378-1)
bullseye: resolved (fixed in 2:8.2.2434-3+deb11u2)
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/c99cbf8f289bdda5d4a77d7ec415850a520330bahttps://huntr.dev/bounties/7e93fc17-92eb-4ae7-b01a-93bb460b643ehttps://lists.debian.org/debian-lts-announce/2023/06/msg00015.htmlhttps://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/c99cbf8f289bdda5d4a77d7ec415850a520330bahttps://huntr.dev/bounties/7e93fc17-92eb-4ae7-b01a-93bb460b643ehttps://lists.debian.org/debian-lts-announce/2023/06/msg00015.htmlhttps://lists.debian.org/debian-lts-announce/2025/03/msg00023.htmlhttps://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-04
Published