USN-6302-1

    Dashboard / Vulnerabilities / USN-6302-1

    USN-6302-1

    Published: 21 Aug 2023Last Modified: 29 Jun 2026

    Summary: vim vulnerabilities

    Details: It was discovered that Vim incorrectly handled memory when opening certain files. If an attacker could trick a user into opening a specially crafted file, it could cause Vim to crash, or possibly execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-2522, CVE-2022-2580, CVE-2022-2817, CVE-2022-2819, CVE-2022-2862, CVE-2022-2889, CVE-2022-2982, CVE-2022-3134) It was discovered that Vim did not properly perform bounds checks in the diff mode in certain situations. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-2598) It was discovered that Vim did not properly perform bounds checks in certain situations. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-2816) It was discovered that Vim incorrectly handled memory when skipping compiled code. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-2874) It was discovered that Vim incorrectly handled memory when opening certain files. If an attacker could trick a user into opening a specially crafted file, it could cause Vim to crash, or possibly execute arbitrary code. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-3016, CVE-2022-3037) It was discovered that Vim incorrectly handled memory when invalid line number on ":for" is ignored. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-3099) It was discovered that Vim incorrectly handled memory when passing invalid arguments to the assert_fails() method. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-3153)

    Affected packages

    Package

    Name: vim

    Purl: pkg:deb/ubuntu/vim?arch=source&distro=trusty%2Fesm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2:7.4.052-1ubuntu3.1+esm12

    Affected versions

    2:7.4.000-1ubuntu2
    2:7.4.052-1ubuntu1
    2:7.4.052-1ubuntu2
    2:7.4.052-1ubuntu3
    2:7.4.052-1ubuntu3.1
    2:7.4.052-1ubuntu3.1+esm1
    2:7.4.052-1ubuntu3.1+esm3
    2:7.4.052-1ubuntu3.1+esm4
    2:7.4.052-1ubuntu3.1+esm5
    2:7.4.052-1ubuntu3.1+esm6
    2:7.4.052-1ubuntu3.1+esm7
    2:7.4.052-1ubuntu3.1+esm8
    2:7.4.052-1ubuntu3.1+esm9
    2:7.4.052-1ubuntu3.1+esm10
    2:7.4.052-1ubuntu3.1+esm11

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    USN-6302-1 | CVE-DB