CVE-2018-20786: Null Pointer Dereference

Published Feb 24, 2019
·
Updated

Last updated 11 July 2025

Other sources

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.

Affected Software

14 affected componentsFixes available
Leonerd Libvterm<=0\+bzr726
debian/libvterm<=0.1.4-1, <=0.3.3-3
debian/vim
2:9.0.1378-2+deb12u22:9.1.1230-22:9.2.0858-1
alpine/libvterm<0.1.20190920-r1
0.1.20190920-r1
alpine/libvterm<0.1.4-r0
0.1.4-r0
alpine/libvterm<0.1.4-r0
0.1.4-r0
alpine/libvterm<0.1.4-r0
0.1.4-r0
alpine/libvterm<0.1.4-r0
0.1.4-r0
alpine/libvterm<0.1.4-r0
0.1.4-r0
alpine/libvterm<0.1.4-r0
0.1.4-r0
alpine/libvterm<0.1.4-r0
0.1.4-r0
alpine/libvterm<0.1.4-r0
0.1.4-r0
alpine/libvterm<0.1.4-r0
0.1.4-r0
alpine/libvterm<0.1.4-r0
0.1.4-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/vim to a version that resolves this vulnerability.

    Fixed in 2:9.0.1378-2+deb12u2Fixed in 2:9.1.1230-2Fixed in 2:9.2.0858-1
  2. Upgrade

    Upgrade alpine/libvterm to a version that resolves this vulnerability.

    Fixed in 0.1.20190920-r1
  3. Upgrade

    Upgrade alpine/libvterm to a version that resolves this vulnerability.

    Fixed in 0.1.4-r0

Event History

Feb 24, 2019
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
via NVD·02:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:29 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-20786?

CVE-2018-20786 has a severity level classified as high due to its potential to cause application crashes.

2

How do I fix CVE-2018-20786?

To fix CVE-2018-20786, update to libvterm version 0.1.4-2 or later, and for Vim, ensure you are using version 2:8.2.2434-3+deb11u1 or later.

3

What software is affected by CVE-2018-20786?

CVE-2018-20786 affects libvterm versions up to and including 0+bzr726, and specific versions of Vim that use this library.

4

What kind of vulnerability is CVE-2018-20786?

CVE-2018-20786 is a denial of service vulnerability that arises from improper handling of out-of-memory conditions.

5

How can I determine if I am affected by CVE-2018-20786?

You can determine if you're affected by checking if you are using vulnerable versions of libvterm or Vim that are listed in the CVE description.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203