cve.bz

CVE-2019-20840 Out-of-bounds Write

7.5 highEPSS 2.7%Fix available

High (7.5). EPSS 2.7% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in LibVNCServer before 0.9.13. libvncserver/ws_decode.c can lead to a crash because of unaligned accesses in hybiReadAndDecode.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.7% (unchanged from 2.7% a week ago; 2.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-20840 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-20840?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-20840?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-20840 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libvnc_project:libvncserverthrough 0.9.12
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
canonical:ubuntu_linux20.04
debian:debian_linux8.0
debian:debian_linux9.0
siemens:simatic_itc1500_firmwarefrom 3.0.0.0 before 3.2.1.0
siemens:simatic_itc1500_pro_firmwarefrom 3.0.0.0 before 3.2.1.0
siemens:simatic_itc1900_firmwarefrom 3.0.0.0 before 3.2.1.0
siemens:simatic_itc1900_pro_firmwarefrom 3.0.0.0 before 3.2.1.0
siemens:simatic_itc2200_firmwarefrom 3.0.0.0 before 3.2.1.0
siemens:simatic_itc2200_pro_firmwarefrom 3.0.0.0 before 3.2.1.0
opensuse:leap15.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libvncserver0.9.13+dfsg-1DEBIAN-CVE-2019-20840
Ubuntu14.04:LTSx11vncno fix listedUBUNTU-CVE-2019-20840
Ubuntu16.04:LTSlibvncserver0.9.10+dfsg-3ubuntu0.16.04.5UBUNTU-CVE-2019-20840 USN-4434-1
Ubuntu18.04:LTSlibvncserver0.9.11+dfsg-1ubuntu1.3UBUNTU-CVE-2019-20840 USN-4434-1
Ubuntu20.04:LTSlibvncserver0.9.12+dfsg-9ubuntu0.2USN-4434-1
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 moreveyonno fix listedUBUNTU-CVE-2019-20840
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 15 moreLibVNCServer0.9.9-17.31.1SUSE-SU-2020:2167-1
SUSELinux Enterprise Module for Package Hub 15 SP1, Linux Enterprise Module for Package Hub 15 SP2, Linux Enterprise Workstation Extension 15 SP1 and 1 moreLibVNCServer0.9.10-4.22.1SUSE-SU-2020:1922-1
openSUSELeap 15.1LibVNCServer0.9.10-lp151.7.9.1openSUSE-SU-2020:0988-1
openSUSELeap 15.2LibVNCServer0.9.10-lp152.9.4.2openSUSE-SU-2020:1056-1
openSUSELeap 15.2LibVNCServer0.9.10-lp152.9.8.1openSUSE-SU-2020:1025-1
Alpinev3.12, v3.13, v3.14 and 10 morelibvncserver0.9.13-r0ALPINE-CVE-2019-20840

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6libvncserverNot affected
Red Hat Enterprise Linux 7libvncserverNot affected
Red Hat Enterprise Linux 8libvncserverNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-20840.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-21-350-12Siemens SIMATIC ITC2021-12-14MultipleSIMATIC ITC1500 V3, SIMATIC ITC1500 V3 PRO, SIMATIC ITC1900 V3 and 3 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON