| Name | CVE-2022-2522 | 
| Description | Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0061. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| Debian Bugs | 1016068 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| vim (PTS) | bullseye | 2:8.2.2434-3+deb11u1 | vulnerable | 
|  | bullseye (security) | 2:8.2.2434-3+deb11u3 | vulnerable | 
|  | bookworm | 2:9.0.1378-2+deb12u2 | fixed | 
|  | forky, trixie | 2:9.1.1230-2 | fixed | 
|  | sid | 2:9.1.1882-1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| vim | source | (unstable) | 2:9.0.0135-1 | unimportant |  | 1016068 | 
Notes
https://huntr.dev/bounties/3a2d83af-9542-4d93-8784-98b115135a22
https://github.com/vim/vim/commit/5fa9f23a63651a8abdb074b4fc2ec9b1adc6b089 (v9.0.0061)
Crash in CLI tool, no security impact