# CVE-2022-0943: Heap-based Buffer Overflow occurs in vim in vim/vim

- Severity: High 8.4 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-14T00:00:00.000Z
- Modified: 2026-06-17T04:21:31.490Z
- Weaknesses: CWE-122, CWE-787
- Assigned by: @huntrdev

## Description

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

(As written by CVE List.)

## Affected

- vim vim/vim: from unspecified before 8.2.4563
- vim vim: before 8.2.4563
- fedoraproject fedora: 34; 36
- debian debian_linux: 9.0; 10.0
- apple macos: before 13.0

## Every score

- @huntrdev: CVSS:3.0 8.4 High `CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://huntr.dev/bounties/9e4de32f-ad5f-4830-b3ae-9467b5ab90a1> (exploit, third-party-advisory)
- <https://github.com/vim/vim/commit/5c68617d395f9d7b824f68475b24ce3e38d653a3> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C3R36VSLO4TRX72SWB6IDJOD24BQXPX2/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RAIQTUO35U5WO2NYMY47637EMCVDJRSL/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/06/msg00014.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-32> (third-party-advisory, vendor-advisory)
- <https://support.apple.com/kb/HT213488> (release-notes, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Oct/41> (mailing-list, release-notes, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Oct/28> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2022-0943](https://www.cve.org/CVERecord?id=CVE-2022-0943), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2022-0943](https://nvd.nist.gov/vuln/detail/CVE-2022-0943), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0943 · Whole record: https://cve.day/CVE-2022-0943.json · Rebuilt by cve.day 2026-11-25T22:58:10.097Z
