Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

USN-5147-1

Active Moderate

vim vulnerabilities

Published
15 Nov 2021, 13:47:04 UTC
Updated
24 Nov 2026, 09:37:17 UTC

Related CVEs

CVE identifiers linked by this publisher.

3
Publisher relationship details 3 records
Explicit publisher CVE relationships
CVE
CVE-2021-3903
CVE-2021-3927
CVE-2021-3928

Description

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

Read full publisher description 1854 characters

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)

No solution guidance was provided.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

12

Shared package data

Applies to all 12 occurrences
Ecosystem
Ubuntu:18.04:LTS
Fixed version
2:8.0.1453-1ubuntu1.7
  1. 1vimSource package

    Occurrence-specific details
    Package role
    Source package

    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
    • 2:8.0.1453-1ubuntu1.1
    • 2:8.0.1453-1ubuntu1.3
    • 2:8.0.1453-1ubuntu1.4
    • 2:8.0.1453-1ubuntu1.6

    Affected ranges and events

    • ECOSYSTEMRepository Not supplied in this record
      • introduced: 0
      • Fixed at 2:8.0.1453-1ubuntu1.7
  2. 2vimBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

  3. 3vim-athenaBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

  4. 4vim-commonBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

  5. 5vim-gnomeBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

  6. 6vim-gtkBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

  7. 7vim-gtk3Binary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

  8. 8vim-gui-commonBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

  9. 9vim-noxBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

  10. 10vim-runtimeBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

  11. 11vim-tinyBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

  12. 12xxdBinary package

    Occurrence-specific details
    Package role
    Binary package

    Versions

    Not supplied in this occurrence.

    Affected ranges and events

    Not supplied in this occurrence.

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

9
CVSS values preserved from advisory sources
ScopeVersionScoreSeveritySourceVector
ubuntu/bionic3.0UnknownUnknownCanonicalCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ubuntu/bionicUnknownUnknownLowUbuntuUnknown
ubuntu/bionic3.0UnknownUnknownCanonicalCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
ubuntu/bionicUnknownUnknownModerateUbuntuUnknown
ubuntu/bionic3.0UnknownUnknownCanonicalCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ubuntu/bionicUnknownUnknownModerateUbuntuUnknown

Publisher references

7

Provenance

Schema version
1.9.2
Parser version
ubuntu-osv/1
Data license
CC-BY-SA-4.0
Attribution
Canonical / Ubuntu Security Team
Severity origin
publisher

No publisher provenance records were supplied.

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected