USN-5147-1
It was discovered that Vim incorrectly handled permissions on the .swp file. A local attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 14.04 ESM. (CVE-2017-17087) It was discovered that Vim incorrectly handled restricted mode. A local attacker could possibly use this issue to bypass restricted mode and execute arbitrary commands. Note: This update only makes executing shell commands more difficult. Restricted mode should not be considered a complete security measure. This issue only affected Ubuntu 14.04 ESM. (CVE-2019-20807) Brian Carpenter discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. This issue only affected Ubuntu 20.04 LTS, Ubuntu 21.04 and Ubuntu 21.10. (CVE-2021-3872) It was discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. (CVE-2021-3903) It was discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. (CVE-2021-3927) It was discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. (CVE-2021-3928) Update Instructions: Run `sudo pro fix USN-5147-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: vim-common - 2:8.1.2269-1ubuntu5.4 vim-athena - 2:8.1.2269-1ubuntu5.4 xxd - 2:8.1.2269-1ubuntu5.4 vim-gtk - 2:8.1.2269-1ubuntu5.4 vim-gui-common - 2:8.1.2269-1ubuntu5.4 vim - 2:8.1.2269-1ubuntu5.4 vim-doc - 2:8.1.2269-1ubuntu5.4 vim-tiny - 2:8.1.2269-1ubuntu5.4 vim-runtime - 2:8.1.2269-1ubuntu5.4 vim-gtk3 - 2:8.1.2269-1ubuntu5.4 vim-nox - 2:8.1.2269-1ubuntu5.4 No subscription required
Evidence and freshness
Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC
Upstream Advisory
Affected Packages
vim-common 2:8.1.2269-1ubuntu5.4-2:8.1.2269-1ubuntu5.4
vim-athena 2:8.1.2269-1ubuntu5.4-2:8.1.2269-1ubuntu5.4
xxd 2:8.1.2269-1ubuntu5.4-2:8.1.2269-1ubuntu5.4
vim-gtk 2:8.1.2269-1ubuntu5.4-2:8.1.2269-1ubuntu5.4
vim-gui-common 2:8.1.2269-1ubuntu5.4-2:8.1.2269-1ubuntu5.4
vim 2:8.1.2269-1ubuntu5.4-2:8.1.2269-1ubuntu5.4
vim-doc 2:8.1.2269-1ubuntu5.4-2:8.1.2269-1ubuntu5.4
vim-tiny 2:8.1.2269-1ubuntu5.4-2:8.1.2269-1ubuntu5.4
vim-runtime 2:8.1.2269-1ubuntu5.4-2:8.1.2269-1ubuntu5.4
vim-gtk3 2:8.1.2269-1ubuntu5.4-2:8.1.2269-1ubuntu5.4
vim-nox 2:8.1.2269-1ubuntu5.4-2:8.1.2269-1ubuntu5.4