| Name | CVE-2017-5953 |
| Description | vim before patch 8.0.0322 does not properly validate values for tree length when handling a spell file, which may result in an integer overflow at a memory allocation site and a resultant buffer overflow. |
| 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) |
| References | DLA-822-1, DSA-3786-1 |
| Debian Bugs | 854969 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| neovim (PTS) | bullseye | 0.4.4-1 | fixed |
| bookworm | 0.7.2-7 | fixed | |
| trixie | 0.10.4-8 | fixed | |
| forky, sid | 0.11.4-4 | fixed | |
| vim (PTS) | bullseye | 2:8.2.2434-3+deb11u1 | fixed |
| bullseye (security) | 2:8.2.2434-3+deb11u3 | fixed | |
| 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 |
|---|---|---|---|---|---|---|
| neovim | source | (unstable) | 0.1.7-4 | |||
| vim | source | wheezy | 2:7.3.547-7+deb7u2 | DLA-822-1 | ||
| vim | source | jessie | 2:7.4.488-7+deb8u2 | DSA-3786-1 | ||
| vim | source | (unstable) | 2:8.0.0197-2 | 854969 |
Fixed by https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d