| Name | CVE-2018-20786 |
| Description | libvterm through 0+bzr726, as used in Vim and other products, mishandles certain out-of-memory conditions, leading to a denial of service (application crash), related to screen.c, state.c, and vterm.c. |
| 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) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libvterm (PTS) | bookworm, bullseye | 0.1.4-1 | vulnerable |
| forky, sid, trixie | 0.3.3-3 | vulnerable | |
| 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 |
|---|---|---|---|---|---|---|
| libvterm | source | (unstable) | (unfixed) | unimportant | ||
| vim | source | jessie | (not affected) | |||
| vim | source | stretch | (not affected) | |||
| vim | source | (unstable) | 2:8.1.0693-1 | unimportant |
[stretch] - vim <not-affected> (Vulnerable code introduced later)
[jessie] - vim <not-affected> (Vulnerable code introduced later)
Introduced by: https://github.com/vim/vim/commit/e4f25e4a8db2c8a8a71a4ba2a68540b3ab341e42 (v8.0.0693)
Fixed by: https://github.com/vim/vim/commit/cd929f7ba8cc5b6d6dcf35c8b34124e969fed6b8 (v8.1.0633)
MISC:https://github.com/vim/vim/issues/3711
No security impact