# CVE-2022-1381: global heap buffer overflow in skip\_range 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-04-17 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2022-1381, DEBIAN-CVE-2022-1381, openSUSE-SU-2024:12051-1
- Record: https://cvemate.com/vulnerability/CVE-2022-1381 · JSON: https://cvemate.com/vulnerability/CVE-2022-1381/json

## Description

```text
global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution
```

## Signals

- CVSS: 7.8 high (v3.0, CVE.org) CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
- EPSS: 3.078%, percentile 88.088%, 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.4836-r0
- apple macos: \< 13.0
- debian vim (Debian): \< 2:8.2.4793-1
- fedoraproject fedora: 34 \| 35 \| 36
- opensuse vim&distro=openSUSE Tumbleweed (openSUSE): \< 8.2.4877-1.1
- vim vim: \< 8.2.4763
- vim vim/vim: ≥ unspecified, \< 8.2.4763

## References

- <https://huntr.dev/bounties/55f9c0e8-c221-48b6-a00e-bdcaebaba4a4>
- <https://github.com/vim/vim/commit/f50808ed135ab973296bca515ae4029b321afe47>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X6E457NYOIRWBJHKB7ON44UY5AVTG4HU/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KVPZVE2CIE2NGCHZDMEHPBWN3LK2UQAA/>
- <https://security.gentoo.org/glsa/202208-32>
- <https://support.apple.com/kb/HT213488>
- <http://seclists.org/fulldisclosure/2022/Oct/41>
- <http://seclists.org/fulldisclosure/2022/Oct/28>
- <https://security.gentoo.org/glsa/202305-16>
- <https://security.alpinelinux.org/vuln/CVE-2022-1381>
- <https://security-tracker.debian.org/tracker/CVE-2022-1381>
- <https://www.suse.com/security/cve/CVE-2022-1381>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1381>

---

Data as of 2026-12-05T08:38:26.738Z. 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
