CVE-2023-4735
published 2023-09-02CVE-2023-4735: Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847.
PriorityP336high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.62%
45.4th percentile
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847.
Affected
20 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | macos | — | — |
| apple | macos_sonoma | — | — |
| debian | vim | < vim 2:9.0.1894-1 (forky) | vim 2:9.0.1894-1 (forky) |
| linux | linux_kernel | >= 2.6.22 < 4.14.308 | 4.14.308 |
| linux | linux_kernel | >= 4.15.0 < 4.19.276 | 4.19.276 |
| linux | linux_kernel | >= 4.20.0 < 5.4.235 | 5.4.235 |
| linux | linux_kernel | >= 5.11.0 < 5.15.100 | 5.15.100 |
| linux | linux_kernel | >= 5.16.0 < 6.1.18 | 6.1.18 |
| linux | linux_kernel | >= 5.5.0 < 5.10.173 | 5.10.173 |
| linux | linux_kernel | >= 6.2.0 < 6.2.5 | 6.2.5 |
| msrc | cbl2_vim_9.0.1897-1_on_cbl_mariner_2.0 | — | — |
| vim | vim | < 9.0.1847 | 9.0.1847 |
| vim | vim | >= 0 < 2:9.0.1894-1 | 2:9.0.1894-1 |
| vim | vim | >= 0 < 2:9.0.1894-1 | 2:9.0.1894-1 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.20 | 2:8.1.2269-1ubuntu5.20 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.13 | 2:8.2.3995-1ubuntu2.13 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm14 | 2:7.4.052-1ubuntu3.1+esm14 |
| vim | vim | >= 0 < 2:7.4.1689-3ubuntu1.5+esm20 | 2:7.4.1689-3ubuntu1.5+esm20 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.13+esm6 | 2:8.0.1453-1ubuntu1.13+esm6 |
| vim | vim_vim | >= unspecified < 9.0.1847 | 9.0.1847 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv3.04.8MEDIUMCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
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.
Red Hat
kernel: ubi: Fix use-after-free when volume resizing failed
vendor_redhat·2025-12-09·CVSS 5.5
CVE-2023-53800 [MEDIUM] CWE-825 kernel: ubi: Fix use-after-free when volume resizing failed
kernel: ubi: Fix use-after-free when volume resizing failed
In the Linux kernel, the following vulnerability has been resolved:
ubi: Fix use-after-free when volume resizing failed
There is an use-after-free problem reported by KASAN:
BUG: KASAN: use-after-free in ubi_eba_copy_table+0x11f/0x1c0 [ubi]
Read of size 8 at addr ffff888101eec008 by task ubirsvol/4735
CPU: 2 PID: 4735 Comm: ubirsvol
Not tainted 6.1.0-rc1-00003-g84fa3304a7fc-dirty #14
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),
BIOS 1.14.0-1.fc33 04/01/2014
Call Trace:
dump_stack_lvl+0x34/0x44
print_report+0x171/0x472
kasan_report+0xad/0x130
ubi_eba_copy_table+0x11f/0x1c0 [ubi]
ubi_resize_volume+0x4f9/0xbc0 [ubi]
ubi_cdev_ioctl+0x701/0x1850 [ubi]
__x64_sys_ioctl+0x11d/0x170
do_syscall_64+0x35/0x80
entry_SYSCALL_64_afte
Apple
CVE-2023-4735: macOS Sonoma 14.1
vendor_apple·2023-10-25·CVSS 7.8
CVE-2023-4735 [HIGH] CVE-2023-4735: macOS Sonoma 14.1
Apple Security Update: About the security content of macOS Sonoma 14.1
Product: macOS Sonoma
Version: 14.1
CVE: CVE-2023-4735
Component: CVE-2023-4735
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-10-25·CVSS 7.8
CVE-2023-4752 [HIGH] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
It was discovered that Vim could be made to divide by zero. An attacker
could possibly use this issue to cause a denial of service. This issue
only affected Ubuntu 23.04. (CVE-2023-3896)
It was discovered that Vim did not properly manage memory. An attacker
could possibly use this issue to cause a denial of service or execute
arbitrary code. (CVE-2023-4733, CVE-2023-4750)
It was discovered that Vim contained an arithmetic overflow. An attacker
could possibly use this issue to cause a denial of service. This issue
only affected Ubuntu 22.04 LTS, Ubuntu 23.04, and Ubuntu 23.10.
(CVE-2023-4734)
It was discovered that Vim could be made to write out of bounds. An
attacker could possibly use this issue to cause a
Microsoft
Out-of-bounds Write in vim/vim
vendor_msrc·2023-09-12·CVSS 7.8
CVE-2023-4735 [HIGH] CWE-787 Out-of-bounds Write in vim/vim
Out-of-bounds Write 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
Red Hat
vim: OOB Write ops.c in vim/vim
vendor_redhat·2023-09-02·CVSS 7.8
CVE-2023-4735 [HIGH] CWE-787 vim: OOB Write ops.c in vim/vim
vim: OOB Write ops.c in vim/vim
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847.
Package: vim (Red Hat Enterprise Linux 8) - Fix deferred
Package: vim (Red Hat Enterprise Linux 9) - Fix deferred
Debian
CVE-2023-4735: vim - Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847.
vendor_debian·2023·CVSS 7.8
CVE-2023-4735 [HIGH] CVE-2023-4735: vim - Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847.
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 2:9.0.1894-1)
sid: resolved (fixed in 2:9.0.1894-1)
trixie: resolved (fixed in 2:9.0.1894-1)
VulDB
vim up to 9.0.1846 out-of-bounds write (Nessus ID 242732)
vuldb·2026-06-23·CVSS 7.8
CVE-2023-4735 [HIGH] vim up to 9.0.1846 out-of-bounds write (Nessus ID 242732)
A vulnerability was found in vim. It has been declared as critical. Affected is an unknown function. Such manipulation leads to out-of-bounds write.
This vulnerability is uniquely identified as CVE-2023-4735. Local access is required to approach this attack. No exploit exists.
It is recommended to upgrade the affected component.
OSV
ubi: Fix use-after-free when volume resizing failed
osv·2025-12-09
CVE-2023-53800 ubi: Fix use-after-free when volume resizing failed
ubi: Fix use-after-free when volume resizing failed
In the Linux kernel, the following vulnerability has been resolved:
ubi: Fix use-after-free when volume resizing failed
There is an use-after-free problem reported by KASAN:
BUG: KASAN: use-after-free in ubi_eba_copy_table+0x11f/0x1c0 [ubi]
Read of size 8 at addr ffff888101eec008 by task ubirsvol/4735
CPU: 2 PID: 4735 Comm: ubirsvol
Not tainted 6.1.0-rc1-00003-g84fa3304a7fc-dirty #14
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),
BIOS 1.14.0-1.fc33 04/01/2014
Call Trace:
dump_stack_lvl+0x34/0x44
print_report+0x171/0x472
kasan_report+0xad/0x130
ubi_eba_copy_table+0x11f/0x1c0 [ubi]
ubi_resize_volume+0x4f9/0xbc0 [ubi]
ubi_cdev_ioctl+0x701/0x1850 [ubi]
__x64_sys_ioctl+0x11d/0x170
do_syscall_64+0x35/0x80
entry_SYSCALL_64_after_hwf
OSV
vim vulnerabilities
osv·2023-10-25·CVSS 7.8
CVE-2023-3896 [HIGH] vim vulnerabilities
vim vulnerabilities
It was discovered that Vim could be made to divide by zero. An attacker
could possibly use this issue to cause a denial of service. This issue
only affected Ubuntu 23.04. (CVE-2023-3896)
It was discovered that Vim did not properly manage memory. An attacker
could possibly use this issue to cause a denial of service or execute
arbitrary code. (CVE-2023-4733, CVE-2023-4750)
It was discovered that Vim contained an arithmetic overflow. An attacker
could possibly use this issue to cause a denial of service. This issue
only affected Ubuntu 22.04 LTS, Ubuntu 23.04, and Ubuntu 23.10.
(CVE-2023-4734)
It was discovered that Vim could be made to write out of bounds. An
attacker could possibly use this issue to cause a denial of service or
execute arbitrary code. (CVE-2023-4735
GHSA
GHSA-3q9r-pq9x-wfp4: Out-of-bounds Write in GitHub repository vim/vim prior to 9
ghsa_unreviewed·2023-09-02
CVE-2023-4735 [MEDIUM] CWE-787 GHSA-3q9r-pq9x-wfp4: Out-of-bounds Write in GitHub repository vim/vim prior to 9
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847.
OSV
CVE-2023-4735: Out-of-bounds Write in GitHub repository vim/vim prior to 9
osv·2023-09-02·CVSS 7.8
CVE-2023-4735 [HIGH] CVE-2023-4735: Out-of-bounds Write in GitHub repository vim/vim prior to 9
Out-of-bounds Write in GitHub repository vim/vim prior to 9.0.1847.
No detection rules found.
No public exploits indexed.
http://seclists.org/fulldisclosure/2023/Oct/24https://github.com/vim/vim/commit/889f6af37164775192e33b233a90e86fd3df0f57https://huntr.dev/bounties/fc83bde3-f621-42bd-aecb-8c1ae44cba51https://support.apple.com/kb/HT213984http://seclists.org/fulldisclosure/2023/Oct/24https://github.com/vim/vim/commit/889f6af37164775192e33b233a90e86fd3df0f57https://huntr.dev/bounties/fc83bde3-f621-42bd-aecb-8c1ae44cba51https://support.apple.com/kb/HT213984
2023-09-02
Published