USN-5093-1

Type: Security
Severity: Medium
Published: 2021-09-28
Ubuntu 20.04 LTS (Focal Fossa)

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 possibly execute arbitrary code with user privileges. This issue only affected Ubuntu 20.04 LTS and Ubuntu 21.04. (CVE-2021-3770) 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 possibly execute arbitrary code with user privileges. (CVE-2021-3778) Dhiraj Mishra 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 possibly execute arbitrary code with user privileges. (CVE-2021-3796) Update Instructions: Run `sudo pro fix USN-5093-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.3 vim-athena - 2:8.1.2269-1ubuntu5.3 xxd - 2:8.1.2269-1ubuntu5.3 vim-gtk - 2:8.1.2269-1ubuntu5.3 vim-gui-common - 2:8.1.2269-1ubuntu5.3 vim - 2:8.1.2269-1ubuntu5.3 vim-doc - 2:8.1.2269-1ubuntu5.3 vim-tiny - 2:8.1.2269-1ubuntu5.3 vim-runtime - 2:8.1.2269-1ubuntu5.3 vim-gtk3 - 2:8.1.2269-1ubuntu5.3 vim-nox - 2:8.1.2269-1ubuntu5.3 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:51:15.560Z UTC.

Upstream Advisory

Affected Packages

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

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

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

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

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

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

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

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

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

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

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

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