CVE-2023-5344 json
Heap-based Buffer Overflow in vim/vim
published 2023-10-02 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-57661
- cvss
- 4.0
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.1969.
Patch / fix
- vim vim/vim 9.0.1969
- vim Debian 12 2:9.0.1378-2+deb12u1
- vim Debian 14, Debian 13 2:9.0.2018-1
debian advisories DEBIAN-CVE-2023-5344
- vim Ubuntu 20.04 LTS 2:8.1.2269-1ubuntu5.20
- vim Ubuntu 22.04 LTS 2:8.2.3995-1ubuntu2.13
- vim Ubuntu Pro 14.04 LTS 2:7.4.052-1ubuntu3.1+esm14
- vim Ubuntu Pro 16.04 LTS 2:7.4.1689-3ubuntu1.5+esm20
- vim Ubuntu Pro 18.04 LTS 2:8.0.1453-1ubuntu1.13+esm6
ubuntu advisories UBUNTU-CVE-2023-5344
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- vim SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES for SAP 15 SP1 +17 more 9.0.2103-150000.5.57.1
- vim SLES for SAP 12 SP5, SLES 12 SP5 9.0.2103-17.26.1
- vim SLE Module for Desktop Applications 15 SP5, SLE Module for Basesystem 15 SP5, SLE Micro 5.5 +1 more 9.0.2103-150500.20.6.1
suse advisories SUSE-SU-2023:4587-1SUSE-SU-2023:4560-1SUSE-SU-2023:4557-1
- vim Alpine 3.18 9.0.2073-r0
- vim Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 9.0.1994-r0
alpine advisories ALPINE-CVE-2023-5344
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-5344 updated cvss 5.3
vim: Heap-based Buffer Overflow in trunc_string()
-
Red Hat Enterprise Linux 6 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 7 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemaffected: workaround, no fix planned “Untrusted vim scripts with -s [scriptin] are not recommended to run.”
-
Red Hat Enterprise Linux 8 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystem Red Hat Enterprise Linux 9 vim, vim-X11, vim-common, vim-minimal, vim-enhanced, vim-filesystemaffected: workaround, no fix available “Untrusted vim scripts with -s [scriptin] are not recommended to run.”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9under investigation
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 16 mo ago
Exploit prediction
1.27% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/530cb762-899e-48d7-b50e-dad09eb775bf referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 4.0 | CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected products
- vim vim/vim
Classification
References
-
github.com
/vim/vim/commit/3bd7fa12e146c6051490d048a4acbfba974eeb04
patch
-
huntr.dev
/bounties/530cb762-899e-48d7-b50e-dad09eb775bf
exploit, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/4W665GQBN6S6ZDMYWVF4X7KMFI7AQKJL/
mailing-list
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/ZOXBUJLJ5VSPN3YXWN7XZA4JDYKNE7GZ/
mailing-list
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/XPT7NMYJRLBPIALGSE24UWTY6F774GZW/
- support.apple.com /kb/HT214038
- support.apple.com /kb/HT214036
- support.apple.com /kb/HT214037
- seclists.org /fulldisclosure/2023/Dec/9
- seclists.org /fulldisclosure/2023/Dec/10
- seclists.org /fulldisclosure/2023/Dec/11
- lists.debian.org /debian-lts-announce/2025/03/msg00023.html
Sources
- CVE List CVE-2023-5344
- NVD CVE-2023-5344
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.