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-6026-1

Active Moderate

vim vulnerabilities

Published
19 Apr 2023, 08:57:30 UTC
Updated
24 Nov 2026, 09:37:27 UTC

Related CVEs

CVE identifiers linked by this publisher.

18

Description

It was discovered that Vim was incorrectly processing Vim buffers. An attacker could possibly use this issue to perform illegal memory access and expose sensitive information. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-4166) It was discovered that Vim was using freed memory when dealing with regular expressions inside a visual selection. If

Read full publisher description 4973 characters

It was discovered that Vim was incorrectly processing Vim buffers. An attacker could possibly use this issue to perform illegal memory access and expose sensitive information. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-4166) It was discovered that Vim was using freed memory when dealing with regular expressions inside a visual selection. If a user were 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 14.04 ESM, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-4192) It was discovered that Vim was incorrectly handling virtual column position operations, which could result in an out-of-bounds read. An attacker could possibly use this issue to expose sensitive information. This issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-4193) It was discovered that Vim was not properly performing bounds checks when updating windows present on a screen, which could result in a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0213) It was discovered that Vim was incorrectly performing read and write operations when in visual block mode, going beyond the end of a line and causing a heap buffer overflow. If a user were 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 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-0261, CVE-2022-0318) It was discovered that Vim was incorrectly handling window exchanging operations when in Visual mode, which could result in an out-of-bounds read. An attacker could possibly use this issue to expose sensitive information. (CVE-2022-0319) It was discovered that Vim was incorrectly handling recursion when parsing conditional expressions. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0351) It was discovered that Vim was not properly handling memory allocation when processing data in Ex mode, which could result in a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0359) It was discovered that Vim was not properly performing bounds checks when executing line operations in Visual mode, which could result in a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-0361, CVE-2022-0368) It was discovered that Vim was not properly handling loop conditions when looking for spell suggestions, which could result in a stack buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0408) It was discovered that Vim was incorrectly handling memory access when executing buffer operations, which could result in the usage of freed memory. An attacker could possibly use this issue to execute arbitrary code. (CVE-2022-0443) It was discovered that Vim was incorrectly processing Vim buffers. An attacker could possibly use this issue to perform illegal memory access and expose sensitive information. (CVE-2022-0554) It was discovered that Vim was not properly performing bounds checks for column numbers when replacing tabs with spaces or spaces with tabs, which could cause a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0572) It was discovered that Vim was incorrectly processing Vim buffers. An attacker could possibly use this issue to perform illegal memory access and expose sensitive information. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-0629) It was discovered that Vim was not properly performing validation of data that contained special multi-byte characters, which could cause an out-of-bounds read. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-0685) It was discovered that Vim was incorrectly processing data used to define indentation in a file, which could cause a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-0714) It was discovered that Vim was incorrectly processing certain regular expression patterns and strings, which could cause an out-of-bounds read. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-0729) It was discovered that Vim incorrectly handled memory access. An attacker could potentially use this issue to cause the corruption of sensitive information, a crash, or arbitrary code execution. (CVE-2022-2207)

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.13
  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
    • 2:8.0.1453-1ubuntu1.7
    • 2:8.0.1453-1ubuntu1.8
    • 2:8.0.1453-1ubuntu1.9
    • 2:8.0.1453-1ubuntu1.10
    • 2:8.0.1453-1ubuntu1.11
    • 2:8.0.1453-1ubuntu1.12

    Affected ranges and events

    • ECOSYSTEMRepository Not supplied in this record
      • introduced: 0
      • Fixed at 2:8.0.1453-1ubuntu1.13
  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.

50
CVSS values preserved from advisory sources
ScopeVersionScoreSeveritySourceVector
ubuntu/bionic3.0UnknownUnknownCanonicalCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
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:H/I:N/A:N
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
ubuntu/bionicUnknownUnknownLowUbuntuUnknown
ubuntu/bionic3.0UnknownUnknownCanonicalCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
ubuntu/bionicUnknownUnknownModerateUbuntuUnknown
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:L/UI:N/S:U/C:L/I:L/A:H
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/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:H/I:N/A:N
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
ubuntu/bionicUnknownUnknownModerateUbuntuUnknown
ubuntu/bionic3.0UnknownUnknownCanonicalCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/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
ubuntu/bionic3.0UnknownUnknownCanonicalCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
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:N/S:U/C:H/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:H/I:N/A:N
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:N/S:U/C:H/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:N/S:U/C:H/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/bionicUnknownUnknownLowUbuntuUnknown
ubuntu/bionic3.0UnknownUnknownCanonicalCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/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:N/S:U/C:H/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:N/S:U/C:H/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:N/S:U/C:H/I:H/A:H
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
ubuntu/bionicUnknownUnknownModerateUbuntuUnknown
ubuntu/bionic3.0UnknownUnknownCanonicalCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ubuntu/bionic3.1UnknownUnknownCanonicalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ubuntu/bionicUnknownUnknownLowUbuntuUnknown

3 additional CVSS values omitted from this page.

Publisher references

21

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