USN-5247-1

Type: Security
Severity: Medium
Published: 2022-01-27
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that vim incorrectly handled parsing of filenames in its search functionality. If a user was tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service. This issue only affected Ubuntu 21.10. (CVE-2021-3973) It was discovered that vim incorrectly handled memory when opening and searching the contents of certain files. If a user was 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 20.04 LTS and Ubuntu 21.10. (CVE-2021-3974) It was discovered that vim incorrectly handled memory when opening and editing certain files. If a user was 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. (CVE-2021-3984) It was discovered that vim incorrectly handled memory when opening and editing certain files. If a user was 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. (CVE-2021-4019) It was discovered that vim incorrectly handled memory when opening and editing certain files. If a user was 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.(CVE-2021-4069) Update Instructions: Run `sudo pro fix USN-5247-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.6 vim-athena - 2:8.1.2269-1ubuntu5.6 xxd - 2:8.1.2269-1ubuntu5.6 vim-gtk - 2:8.1.2269-1ubuntu5.6 vim-gui-common - 2:8.1.2269-1ubuntu5.6 vim - 2:8.1.2269-1ubuntu5.6 vim-doc - 2:8.1.2269-1ubuntu5.6 vim-tiny - 2:8.1.2269-1ubuntu5.6 vim-runtime - 2:8.1.2269-1ubuntu5.6 vim-gtk3 - 2:8.1.2269-1ubuntu5.6 vim-nox - 2:8.1.2269-1ubuntu5.6 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T07:57:47.248Z UTC.

Upstream Advisory

Affected Packages

  • vim-common 2:8.1.2269-1ubuntu5.6-2:8.1.2269-1ubuntu5.6

  • vim-athena 2:8.1.2269-1ubuntu5.6-2:8.1.2269-1ubuntu5.6

  • xxd 2:8.1.2269-1ubuntu5.6-2:8.1.2269-1ubuntu5.6

  • vim-gtk 2:8.1.2269-1ubuntu5.6-2:8.1.2269-1ubuntu5.6

  • vim-gui-common 2:8.1.2269-1ubuntu5.6-2:8.1.2269-1ubuntu5.6

  • vim 2:8.1.2269-1ubuntu5.6-2:8.1.2269-1ubuntu5.6

  • vim-doc 2:8.1.2269-1ubuntu5.6-2:8.1.2269-1ubuntu5.6

  • vim-tiny 2:8.1.2269-1ubuntu5.6-2:8.1.2269-1ubuntu5.6

  • vim-runtime 2:8.1.2269-1ubuntu5.6-2:8.1.2269-1ubuntu5.6

  • vim-gtk3 2:8.1.2269-1ubuntu5.6-2:8.1.2269-1ubuntu5.6

  • vim-nox 2:8.1.2269-1ubuntu5.6-2:8.1.2269-1ubuntu5.6

Interested in being alerted when there are new versions of vim-common and the other packages? Set up an alert.
USN-5247-1: Vim vulnerabilities | Package Alert