USN-6026-1
USN-6026-1 · Ubuntu security update: vim
Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- vim Ubuntu Pro 14.04 LTSUpdate to 2:7.4.052-1ubuntu3.1+esm9
- vim Ubuntu 18.04 LTSUpdate to 2:8.0.1453-1ubuntu1.13
- vim Ubuntu 20.04 LTSUpdate to 2:8.1.2269-1ubuntu5.14
- vim Ubuntu 22.04 LTSUpdate to 2:8.2.3995-1ubuntu2.7
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 the distribution’s bulletin. Check the original advisory before installing the update.
It was discovered that Vim was incorrectly processing Vim buffers. An attacker could possibly use this issue to perform illegal memory access and expose sensitive information. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-4166)
It was discovered that Vim was using freed memory when dealing with regular expressions inside a visual selection. If a user were tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service, or possibly achieve code execution with user privileges. This issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-4192)
It was discovered that Vim was incorrectly handling virtual column position operations, which could result in an out-of-bounds read. An attacker could possibly use this issue to expose sensitive information. This issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-4193)
It was discovered that Vim was not properly performing bounds checks when updating windows present on a screen, which could result in a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0213)
It was discovered that Vim was incorrectly performing read and write operations when in visual block mode, going beyond the end of a line and causing a heap buffer overflow. If a user were tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service, or possibly achieve code execution with user privileges. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-0261, CVE-2022-0318)
It was discovered that Vim was incorrectly handling window exchanging operations when in Visual mode, which could result in an out-of-bounds read. An attacker could possibly use this issue to expose sensitive information. (CVE-2022-0319)
It was discovered that Vim was incorrectly handling recursion when parsing conditional expressions. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0351)
It was discovered that Vim was not properly handling memory allocation when processing data in Ex mode, which could result in a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0359)
It was discovered that Vim was not properly performing bounds checks when executing line operations in Visual mode, which could result in a heap buffer overflow. 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 and Ubuntu 22.04 LTS. (CVE-2022-0361, CVE-2022-0368)
It was discovered that Vim was not properly handling loop conditions when looking for spell suggestions, which could result in a stack buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0408)
It was discovered that Vim was incorrectly handling memory access when executing buffer operations, which could result in the usage of freed memory. An attacker could possibly use this issue to execute arbitrary code. (CVE-2022-0443)
It was discovered that Vim was incorrectly processing Vim buffers. An attacker could possibly use this issue to perform illegal memory access and expose sensitive information. (CVE-2022-0554)
It was discovered that Vim was not properly performing bounds checks for column numbers when replacing tabs with spaces or spaces with tabs, which could cause a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0572)
It was discovered that Vim was incorrectly processing Vim buffers. An attacker could possibly use this issue to perform illegal memory access and expose sensitive information. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-0629)
It was discovered that Vim was not properly performing validation of data that contained special multi-byte characters, which could cause an out-of-bounds read. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-0685)
It was discovered that Vim was incorrectly processing data used to define indentation in a file, which could cause a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-0714)
It was discovered that Vim was incorrectly processing certain regular expression patterns and strings, which could cause an out-of-bounds read. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-0729)
It was discovered that Vim incorrectly handled memory access. An attacker could potentially use this issue to cause the corruption of sensitive information, a crash, or arbitrary code execution. (CVE-2022-2207)
- Published
- Updated
Vulnerabilities closed
Stack: system
Updated packages and versions
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 (12)
- 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
- Affected ranges
- ECOSYSTEM: < 2:7.4.052-1ubuntu3.1+esm9
Update to 2:7.4.052-1ubuntu3.1+esm9
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://ubuntu.com/security/notices/USN-6026-1
- https://ubuntu.com/security/CVE-2021-4166
- https://ubuntu.com/security/CVE-2021-4192
- https://ubuntu.com/security/CVE-2021-4193
- https://ubuntu.com/security/CVE-2022-0213
- https://ubuntu.com/security/CVE-2022-0261
- https://ubuntu.com/security/CVE-2022-0318
- https://ubuntu.com/security/CVE-2022-0319
- https://ubuntu.com/security/CVE-2022-0351
- https://ubuntu.com/security/CVE-2022-0359
- https://ubuntu.com/security/CVE-2022-0361
- https://ubuntu.com/security/CVE-2022-0368
- https://ubuntu.com/security/CVE-2022-0408
- https://ubuntu.com/security/CVE-2022-0443
- https://ubuntu.com/security/CVE-2022-0554
- https://ubuntu.com/security/CVE-2022-0572
- https://ubuntu.com/security/CVE-2022-0629
- https://ubuntu.com/security/CVE-2022-0685
- https://ubuntu.com/security/CVE-2022-0714
- https://ubuntu.com/security/CVE-2022-0729
- https://ubuntu.com/security/CVE-2022-2207
- https://osv.dev/vulnerability/USN-6026-1