# CVE-2022-2126: Out-of-bounds Read in vim/vim

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-06-19 · Modified: 2026-10-08
- Aliases: ALPINE-CVE-2022-2126, UBUNTU-CVE-2022-2126, DEBIAN-CVE-2022-2126
- Record: https://cvemate.com/vulnerability/CVE-2022-2126 · JSON: https://cvemate.com/vulnerability/CVE-2022-2126/json

## Description

```text
Out-of-bounds Read in GitHub repository vim/vim prior to 8.2.
```

## Signals

- CVSS: 7.8 high (v3.0, CVE.org) CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.561%, percentile 76.098%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine vim (Alpine Linux): \< 8.2.5170-r0
- apple macos: \< 11.7 \| ≥ 12.0, \< 12.6
- debian vim (Debian): \< 2:9.0.0135-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm8 \| \< 2:7.4.1689-3ubuntu1.5+esm13 \| \< 2:8.0.1453-1ubuntu1.12 \| \< 2:8.1.2269-1ubuntu5.13 \| \< 2:8.2.3995-1ubuntu2.5
- debian debian\_linux: 9.0
- fedoraproject fedora: 35 \| 36
- vim vim: \< 8.2.5123
- vim vim/vim: ≥ unspecified, \< 8.2

## References (first 20 of 21)

- <https://huntr.dev/bounties/8d196d9b-3d10-41d2-9f70-8ef0d08c946e>
- <https://github.com/vim/vim/commit/156d3911952d73b03d7420dc3540215247db0fe8>
- <https://lists.debian.org/debian-lts-announce/2022/06/msg00014.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GFD2A4YLBR7OIRHTL7CK6YNMEIQ264CN/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U743FMJGFQ35GBPCQ6OWMVZEJPDFVEWM/>
- <https://security.gentoo.org/glsa/202208-32>
- <https://support.apple.com/kb/HT213443>
- <https://support.apple.com/kb/HT213444>
- <https://support.apple.com/kb/HT213488>
- <http://seclists.org/fulldisclosure/2022/Oct/41>
- <http://seclists.org/fulldisclosure/2022/Oct/28>
- <http://seclists.org/fulldisclosure/2022/Oct/43>
- <http://seclists.org/fulldisclosure/2022/Oct/45>
- <https://security.gentoo.org/glsa/202305-16>
- <https://security.alpinelinux.org/vuln/CVE-2022-2126>
- <https://ubuntu.com/security/CVE-2022-2126>
- <https://ubuntu.com/security/notices/USN-5723-1>
- <https://ubuntu.com/security/notices/USN-5995-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-2126>
- <https://security-tracker.debian.org/tracker/CVE-2022-2126>

---

Data as of 2026-12-05T04:19:04.796Z. 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
