# CVE-2022-1771: Uncontrolled Recursion in vim/vim

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-05-18 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2022-1771, DEBIAN-CVE-2022-1771
- Record: https://cvemate.com/vulnerability/CVE-2022-1771 · JSON: https://cvemate.com/vulnerability/CVE-2022-1771/json

## Description

```text
Uncontrolled Recursion in GitHub repository vim/vim prior to 8.2.4975.
```

## Signals

- CVSS: 5.5 medium (v3.0, CVE.org) CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 1.207%, percentile 69.341%, 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

- debian vim (Debian): \< 2:9.0.0135-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm15 \| \< 2:7.4.1689-3ubuntu1.5+esm22 \| \< 2:8.0.1453-1ubuntu1.13+esm7 \| \< 2:8.1.2269-1ubuntu5.21 \| \< 2:8.2.3995-1ubuntu2.15
- vim vim: \< 8.2.4975
- vim vim/vim: ≥ unspecified, \< 8.2.4975

## References

- <https://huntr.dev/bounties/faa74175-5317-4b71-a363-dfc39094ecbb>
- <https://github.com/vim/vim/commit/51f0bfb88a3554ca2dde777d78a59880d1ee37a8>
- <https://security.gentoo.org/glsa/202208-32>
- <https://security.gentoo.org/glsa/202305-16>
- <https://ubuntu.com/security/CVE-2022-1771>
- <https://ubuntu.com/security/notices/USN-6557-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-1771>
- <https://security-tracker.debian.org/tracker/CVE-2022-1771>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1771>

---

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