---
title: "CVE-2022-2819\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-2819?format=md
keywords: index, follow
---

# CVE-2022-2819

Publication date 15 August 2022

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2022-2819?format=md#impact-score)

Toggle side navigation

## Description

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0211.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2022-2819?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| vim | 23.04 lunar | Not affected |
| 22.10 kinetic | Ignored end of life, was needs-triage |
| 22.04 LTS jammy | Fixed 2:8.2.3995-1ubuntu2.11 |
| 20.04 LTS focal | Not affected |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2022-2819?format=md#patch-details)

## Notes

---

### [rodrigo-zaiden](https://launchpad.net/~rodrigo-zaiden)

faulty code was added in version 8.2.2672, with commit
b2cb6c8b, so, versions earlier than that are not affected.
there is a possibility that version 8.2.2301 (commit
752fc692) is also affected, but the PoC provided didn't
reproduce in this version. Anyway, at least versions
prior to 8.2.2301 are not affected.

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| vim | * Upstream:   [d1d8f6b](https://github.com/vim/vim/commit/d1d8f6bacb489036d0fd479c9dd3c0102c988889) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2819)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-2819)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-2819)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-2819)

### Related Ubuntu Security Notices (USN)

+ [USN-6302-1](https://usn.ubuntu.com/USN-6302-1)
+ Vim vulnerabilities
+ 21 August 2023

### Other references

* <https://huntr.dev/bounties/0a9bd71e-66b8-4eb1-9566-7dfd9b097e59>
* <https://github.com/vim/vim/commit/d1d8f6bacb489036d0fd479c9dd3c0102c988889>
* <https://www.cve.org/CVERecord?id=CVE-2022-2819>
