# USN-6302-1

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2023-08-21 · Modified: 2026-11-24
- Record: https://cvemate.com/vulnerability/USN-6302-1 · JSON: https://cvemate.com/vulnerability/USN-6302-1/json

## Description

```text
vim vulnerabilities

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)
```

## Signals

- CVSS: none published
- EPSS: not scored
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm12 \| \< 2:8.0.1453-1ubuntu1.13+esm4 \| \< 2:8.1.2269-1ubuntu5.17 \| \< 2:8.2.3995-1ubuntu2.11

## References

- <https://ubuntu.com/security/notices/USN-6302-1>
- <https://ubuntu.com/security/CVE-2022-2522>
- <https://ubuntu.com/security/CVE-2022-2580>
- <https://ubuntu.com/security/CVE-2022-2598>
- <https://ubuntu.com/security/CVE-2022-2816>
- <https://ubuntu.com/security/CVE-2022-2817>
- <https://ubuntu.com/security/CVE-2022-2819>
- <https://ubuntu.com/security/CVE-2022-2862>
- <https://ubuntu.com/security/CVE-2022-2874>
- <https://ubuntu.com/security/CVE-2022-2889>
- <https://ubuntu.com/security/CVE-2022-2982>
- <https://ubuntu.com/security/CVE-2022-3016>
- <https://ubuntu.com/security/CVE-2022-3037>
- <https://ubuntu.com/security/CVE-2022-3099>
- <https://ubuntu.com/security/CVE-2022-3134>
- <https://ubuntu.com/security/CVE-2022-3153>

---

Data as of 2026-12-05T05:32:39.631Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
