QID 198571

Date Published: 2021-11-17

QID 198571: Ubuntu Security Notification for Vim Vulnerabilities (USN-5147-1)

Vim incorrectly handled permissions on the.
Vim incorrectly handled restricted mode.
Vim incorrectly handled memory when opening certain files.

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

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).
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).
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).
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).
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).
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).

  • CVSS V3 rated as High - 7.8 severity.
  • CVSS V2 rated as High - 6.8 severity.
  • Solution
    Refer to Ubuntu advisory: USN-5147-1 for affected packages and patching details, or update with your package manager.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    USN-5147-1 Ubuntu Linux URL Logo ubuntu.com/security/notices/USN-5147-1
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report