CVE-2022-0318
CVE-2022-0318 · Heap-based Buffer Overflow in vim/vim
CVSS 6.6 · Medium · EPSS 2.2% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- vim/vimUpdate to 8.2
- vim Debian 12Update to 2:8.2.4659-1
- vim Debian 13Update to 2:8.2.4659-1
- vim Debian 14Update to 2:8.2.4659-1
- and 5 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="vim"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Heap-based Buffer Overflow in vim/vim prior to 8.2.
- Published
- Updated
Fixes in distributions
- RHSA-2022:0894 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 baseos ·
- openSUSE-SU-2024:12337-1 · openSUSE Tumbleweed ·
- USN-6026-1 · Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu Pro 14.04 LTS ·
- SUSE-SU-2022:4619-1 · SUSE Linux Enterprise Server 12 SP2-BCL, SUSE Linux Enterprise Server 12 SP3-BCL, SUSE Linux Enterprise Server 12 SP4-LTSS, SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP4, SUSE Linux Enterprise Server for SAP Applications 12 SP5, SUSE OpenStack Cloud 9, SUSE OpenStack Cloud Crowbar 9 ·
- DLA-3204-1 · Debian 10 ·
- SUSE-SU-2022:2102-1 · openSUSE Leap 15.3, openSUSE Leap 15.4, SUSE Enterprise Storage 6, SUSE Enterprise Storage 7, SUSE Linux Enterprise High Performance Computing 15-ESPOS, SUSE Linux Enterprise High Performance Computing 15-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise Micro 5.1, SUSE Linux Enterprise Micro 5.2, SUSE Linux Enterprise Module for Basesystem 15 SP3, SUSE Linux Enterprise Module for Basesystem 15 SP4, SUSE Linux Enterprise Module for Desktop Applications 15 SP3, SUSE Linux Enterprise Module for Desktop Applications 15 SP4, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server 15 SP1-BCL, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server 15 SP2-BCL, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server for SAP Applications 15, SUSE Linux Enterprise Server for SAP Applications 15 SP1, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Manager Proxy 4.1, SUSE Manager Retail Branch Server 4.1, SUSE Manager Server 4.1 ·
- USN-5433-1 · Ubuntu Pro 16.04 LTS ·
- SUSE-SU-2022:0736-2 · SUSE Linux Enterprise Micro 5.2 ·
- ALSA-2022:0894 · AlmaLinux 8 ·
- RLSA-2022:0894 · Rocky Linux 8 ·
- SUSE-SU-2022:0736-1 · SUSE Enterprise Storage 6, SUSE Enterprise Storage 7, SUSE Linux Enterprise High Performance Computing 15-ESPOS, SUSE Linux Enterprise High Performance Computing 15-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise Micro 5.0, SUSE Linux Enterprise Micro 5.1, SUSE Linux Enterprise Module for Basesystem 15 SP3, SUSE Linux Enterprise Module for Desktop Applications 15 SP3, SUSE Linux Enterprise Real Time 15 SP2, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server 15 SP1-BCL, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server 15 SP2-BCL, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server for SAP Applications 15, SUSE Linux Enterprise Server for SAP Applications 15 SP1, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Manager Proxy 4.1, SUSE Manager Retail Branch Server 4.1, SUSE Manager Server 4.1 ·
- openSUSE-SU-2022:0736-1 · openSUSE Leap 15.3 ·
Stack: system
Affected products and versions
vim/vim
- Versions
- ≥ unspecified, < 8.2: Affected (custom)
Update to 8.2
vim Debian 12
- Affected ranges
- ECOSYSTEM: < 2:8.2.4659-1
Update to 2:8.2.4659-1
vim Debian 13
- Affected ranges
- ECOSYSTEM: < 2:8.2.4659-1
Update to 2:8.2.4659-1
vim Debian 14
- Affected ranges
- ECOSYSTEM: < 2:8.2.4659-1
Update to 2:8.2.4659-1
vim Ubuntu Pro 14.04 LTS
- Versions
- 2:7.4.000-1ubuntu2
- 2:7.4.052-1ubuntu1
- 2:7.4.052-1ubuntu2
- 2:7.4.052-1ubuntu3
- 2:7.4.052-1ubuntu3.1
- 2:7.4.052-1ubuntu3.1+esm1
All versions (37)
- 2:7.4.052-1ubuntu3.1+esm3
- 2:7.4.052-1ubuntu3.1+esm4
- 2:7.4.052-1ubuntu3.1+esm5
- 2:7.4.052-1ubuntu3.1+esm6
- 2:7.4.052-1ubuntu3.1+esm7
- 2:7.4.052-1ubuntu3.1+esm8
- 2:7.4.052-1ubuntu3.1+esm9
- 2:7.4.052-1ubuntu3.1+esm10
- 2:7.4.052-1ubuntu3.1+esm11
- 2:7.4.052-1ubuntu3.1+esm12
- 2:7.4.052-1ubuntu3.1+esm13
- 2:7.4.052-1ubuntu3.1+esm14
- 2:7.4.052-1ubuntu3.1+esm15
- 2:7.4.052-1ubuntu3.1+esm16
- 2:7.4.052-1ubuntu3.1+esm17
- 2:7.4.052-1ubuntu3.1+esm18
- 2:7.4.052-1ubuntu3.1+esm19
- 2:7.4.052-1ubuntu3.1+esm20
- 2:7.4.052-1ubuntu3.1+esm21
- 2:7.4.052-1ubuntu3.1+esm22
- 2:7.4.052-1ubuntu3.1+esm23
- 2:7.4.052-1ubuntu3.1+esm24
- 2:7.4.052-1ubuntu3.1+esm25
- 2:7.4.052-1ubuntu3.1+esm26
- 2:7.4.052-1ubuntu3.1+esm27
- 2:7.4.052-1ubuntu3.1+esm28
- 2:7.4.052-1ubuntu3.1+esm29
- 2:7.4.052-1ubuntu3.1+esm30
- 2:7.4.052-1ubuntu3.1+esm31
- 2:7.4.052-1ubuntu3.1+esm32
- 2:7.4.052-1ubuntu3.1+esm33
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
vim Ubuntu Pro 16.04 LTS
- Versions
- 2:7.4.712-2ubuntu4
- 2:7.4.826-1ubuntu1
- 2:7.4.826-1ubuntu2
- 2:7.4.826-1ubuntu3
- 2:7.4.963-1ubuntu1
- 2:7.4.963-1ubuntu4
All versions (15)
- 2:7.4.963-1ubuntu5
- 2:7.4.1689-3ubuntu1
- 2:7.4.1689-3ubuntu1.1
- 2:7.4.1689-3ubuntu1.2
- 2:7.4.1689-3ubuntu1.3
- 2:7.4.1689-3ubuntu1.4
- 2:7.4.1689-3ubuntu1.5
- 2:7.4.1689-3ubuntu1.5+esm2
- 2:7.4.1689-3ubuntu1.5+esm3
- Affected ranges
- ECOSYSTEM: < 2:7.4.1689-3ubuntu1.5+esm4
Update to 2:7.4.1689-3ubuntu1.5+esm4
vim Ubuntu 18.04 LTS
- Versions
- 2:8.0.0197-4ubuntu5
- 2:8.0.1144-1ubuntu1
- 2:8.0.1401-1ubuntu1
- 2:8.0.1401-1ubuntu2
- 2:8.0.1401-1ubuntu3
- 2:8.0.1453-1ubuntu1
All versions (16)
- 2:8.0.1453-1ubuntu1.1
- 2:8.0.1453-1ubuntu1.3
- 2:8.0.1453-1ubuntu1.4
- 2:8.0.1453-1ubuntu1.6
- 2:8.0.1453-1ubuntu1.7
- 2:8.0.1453-1ubuntu1.8
- 2:8.0.1453-1ubuntu1.9
- 2:8.0.1453-1ubuntu1.10
- 2:8.0.1453-1ubuntu1.11
- 2:8.0.1453-1ubuntu1.12
- Affected ranges
- ECOSYSTEM: < 2:8.0.1453-1ubuntu1.13
Update to 2:8.0.1453-1ubuntu1.13
vim Ubuntu 20.04 LTS
- Versions
- 2:8.1.0875-5ubuntu2
- 2:8.1.0875-5ubuntu3
- 2:8.1.0875-5ubuntu4
- 2:8.1.2269-1ubuntu1
- 2:8.1.2269-1ubuntu4
- 2:8.1.2269-1ubuntu5
All versions (15)
- 2:8.1.2269-1ubuntu5.3
- 2:8.1.2269-1ubuntu5.4
- 2:8.1.2269-1ubuntu5.6
- 2:8.1.2269-1ubuntu5.7
- 2:8.1.2269-1ubuntu5.8
- 2:8.1.2269-1ubuntu5.9
- 2:8.1.2269-1ubuntu5.11
- 2:8.1.2269-1ubuntu5.12
- 2:8.1.2269-1ubuntu5.13
- Affected ranges
- ECOSYSTEM: < 2:8.1.2269-1ubuntu5.14
Update to 2:8.1.2269-1ubuntu5.14
vim Ubuntu 22.04 LTS
- Versions
- 2:8.2.2434-3ubuntu3
- 2:8.2.2434-3ubuntu4
- 2:8.2.3565-1ubuntu1
- 2:8.2.3565-1ubuntu2
- 2:8.2.3565-1ubuntu3
- 2:8.2.3565-1ubuntu5
All versions (12)
- 2:8.2.3995-1ubuntu1
- 2:8.2.3995-1ubuntu2
- 2:8.2.3995-1ubuntu2.1
- 2:8.2.3995-1ubuntu2.3
- 2:8.2.3995-1ubuntu2.4
- 2:8.2.3995-1ubuntu2.5
- Affected ranges
- ECOSYSTEM: < 2:8.2.3995-1ubuntu2.7
Update to 2:8.2.3995-1ubuntu2.7
Original sources
- https://huntr.dev/bounties/0d10ba02-b138-4e68-a284-67f781a62d08
- https://github.com/vim/vim/commit/57df9e8a9f9ae1aafdde9b86b10ad907627a87dc
- https://security.gentoo.org/glsa/202208-32
- https://support.apple.com/kb/HT213444
- https://support.apple.com/kb/HT213488
- http://seclists.org/fulldisclosure/2022/Oct/41
- http://seclists.org/fulldisclosure/2022/Oct/28
- http://seclists.org/fulldisclosure/2022/Oct/43
- https://lists.debian.org/debian-lts-announce/2022/11/msg00032.html
- https://security.netapp.com/advisory/ntap-20241115-0004/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0318