CVE-2019-20788

Source
https://cve.org/CVERecord?id=CVE-2019-20788
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-20788.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-20788
Downstream
DEBIAN (1)
MGASA (1)
openSUSE (2)
RHSA (3)
SUSE (4)
UBUNTU (1)
Related
Published
2020-04-23T19:15:12Z
Modified
2026-10-26T13:03:42Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

libvncclient/cursor.c in LibVNCServer through 0.9.12 has a HandleCursorShape integer overflow and heap-based buffer overflow via a large height or width value. NOTE: this may overlap CVE-2019-15690.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:a:libvnc_project:libvncserver:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "last_affected":  "0.9.12"
                        }
                    ],
                    "source":  "CPE_RANGE"
                }
            ],
            "vendor_product":  "libvnc_project:libvncserver"
        },
        {
            "cpes":  [
                "cpe:2.3:o:siemens:simatic_itc1500_firmware:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "3.0.0.0"
                        },
                        {
                            "fixed":  "3.2.1.0"
                        }
                    ],
                    "source":  "CPE_RANGE"
                }
            ],
            "vendor_product":  "siemens:simatic_itc1500_firmware"
        },
        {
            "cpes":  [
                "cpe:2.3:o:siemens:simatic_itc1500_pro_firmware:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "3.0.0.0"
                        },
                        {
                            "fixed":  "3.2.1.0"
                        }
                    ],
                    "source":  "CPE_RANGE"
                }
            ],
            "vendor_product":  "siemens:simatic_itc1500_pro_firmware"
        },
        {
            "cpes":  [
                "cpe:2.3:o:siemens:simatic_itc1900_firmware:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "3.0.0.0"
                        },
                        {
                            "fixed":  "3.2.1.0"
                        }
                    ],
                    "source":  "CPE_RANGE"
                }
            ],
            "vendor_product":  "siemens:simatic_itc1900_firmware"
        },
        {
            "cpes":  [
                "cpe:2.3:o:siemens:simatic_itc1900_pro_firmware:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "3.0.0.0"
                        },
                        {
                            "fixed":  "3.2.1.0"
                        }
                    ],
                    "source":  "CPE_RANGE"
                }
            ],
            "vendor_product":  "siemens:simatic_itc1900_pro_firmware"
        },
        {
            "cpes":  [
                "cpe:2.3:o:siemens:simatic_itc2200_firmware:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "3.0.0.0"
                        },
                        {
                            "fixed":  "3.2.1.0"
                        }
                    ],
                    "source":  "CPE_RANGE"
                }
            ],
            "vendor_product":  "siemens:simatic_itc2200_firmware"
        },
        {
            "cpes":  [
                "cpe:2.3:o:siemens:simatic_itc2200_pro_firmware:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "3.0.0.0"
                        },
                        {
                            "fixed":  "3.2.1.0"
                        }
                    ],
                    "source":  "CPE_RANGE"
                }
            ],
            "vendor_product":  "siemens:simatic_itc2200_pro_firmware"
        },
        {
            "cpes":  [
                "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "14.04"
                        },
                        {
                            "last_affected":  "14.04"
                        },
                        {
                            "introduced":  "16.04"
                        },
                        {
                            "last_affected":  "16.04"
                        },
                        {
                            "introduced":  "16.04"
                        },
                        {
                            "last_affected":  "16.04"
                        },
                        {
                            "introduced":  "18.04"
                        },
                        {
                            "last_affected":  "18.04"
                        },
                        {
                            "introduced":  "18.10"
                        },
                        {
                            "last_affected":  "18.10"
                        }
                    ],
                    "source":  "CPE_STRING"
                }
            ],
            "vendor_product":  "canonical:ubuntu_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "8.0"
                        },
                        {
                            "last_affected":  "8.0"
                        },
                        {
                            "introduced":  "9.0"
                        },
                        {
                            "last_affected":  "9.0"
                        }
                    ],
                    "source":  "CPE_STRING"
                }
            ],
            "vendor_product":  "debian:debian_linux"
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "last_affected":  "0.9.12"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/libvnc/libvncserver

Affected ranges

Type
GIT
Repo
https://github.com/libvnc/libvncserver
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "54220248886b5001fbbb9fa73c4e1a2cb9413fed"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

LibVNCServer-0.*
LibVNCServer-0.9.10
LibVNCServer-0.9.11
LibVNCServer-0.9.12
LibVNCServer-0.9.8
LibVNCServer-0.9.9
Other
X11VNC_0_9_10
X11VNC_0_9_11
X11VNC_0_9_12
X11VNC_0_9_7
X11VNC_0_9_8
X11VNC_0_9_9
X11VNC_REL_0_9_4
X11VNC_REL_0_9_5
X11VNC_REL_0_9_6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-20788.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "166509097659370788785687778228924176187",
            "length":  2878
        },
        "id":  "CVE-2019-20788-189abd97",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libvnc/libvncserver/commit/54220248886b5001fbbb9fa73c4e1a2cb9413fed",
        "target":  {
            "file":  "libvncclient/cursor.c",
            "function":  "HandleCursorShape"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "102057262279662452688778988803141241357",
                "175955773102106351237323041340518821685",
                "240545567691954465949188256110399956644",
                "204796747639085440341262894639991613085"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2019-20788-36246abd",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libvnc/libvncserver/commit/54220248886b5001fbbb9fa73c4e1a2cb9413fed",
        "target":  {
            "file":  "libvncclient/cursor.c"
        }
    }
]
vanir_signatures_modified
"2026-10-26T13:03:42Z"