CVE-2020-25708
Description
A divide by zero issue was found to occur in libvncserver-0.9.12. A malicious client could use this flaw to send a specially crafted message that, when processed by the VNC server, would lead to a floating point exception, resulting in a denial of service.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A divide-by-zero in libvncserver 0.9.12 lets a malicious client trigger a floating-point exception, causing denial of service.
Vulnerability
The vulnerability is a divide-by-zero flaw in libvncserver version 0.9.12, specifically in the rfbProcessFileTransferReadBuffer function within rfbserver.c. A malicious VNC client can send a specially crafted message that triggers this issue when the server processes the request, causing a floating-point exception (FPE). The code path is reachable during file transfer operations, which may require enabling the file transfer feature in the VNC server configuration [1].
Exploitation
An attacker needs to be able to connect as a client to a vulnerable VNC server (libvncserver). The attack requires sending a crafted file transfer message that causes the server to compute a division by zero. No authentication is needed if file transfer is enabled, but the server must have file transfer support active (often disabled by default). The exploit steps involve establishing a TCP connection and sending the malicious payload to trigger the divide-by-zero [1].
Impact
Successful exploitation leads to a floating-point exception in the VNC server process, causing a crash. This results in a denial of service (DoS) for legitimate users, as the server becomes unavailable. The impact is limited to availability; confidentiality and integrity are not directly compromised. The attack does not provide any code execution or privilege escalation [1].
Mitigation
The vulnerability was fixed in later releases of libvncserver. Users should update to a version after 0.9.12 (e.g., 0.9.13 or later). If upgrading is not possible, disabling the file transfer feature can mitigate the risk, as the vulnerable code path requires that feature to be active. Note that some downstream projects (e.g., TurboVNC, TigerVNC) are not affected, as confirmed by the developers [1].
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
29- libvncserver/libvncserverdescription
- osv-coords28 versionspkg:rpm/almalinux/libvncserverpkg:rpm/almalinux/libvncserver-develpkg:rpm/opensuse/LibVNCServer&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/LibVNCServer&distro=openSUSE%20Leap%2015.2pkg:rpm/suse/LibVNCServer&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/LibVNCServer&distro=SUSE%20Enterprise%20Storage%205pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP1pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP2pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSSpkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP1pkg:rpm/suse/LibVNCServer&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2015%20SP2pkg:rpm/suse/LibVNCServer&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/LibVNCServer&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/LibVNCServer&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/LibVNCServer&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208pkg:rpm/suse/LibVNCServer&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 0.9.11-17.el8+ 27 more
- (no CPE)range: < 0.9.11-17.el8
- (no CPE)range: < 0.9.11-17.el8
- (no CPE)range: < 0.9.10-lp151.7.12.1
- (no CPE)range: < 0.9.10-lp152.9.8.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.10-4.25.1
- (no CPE)range: < 0.9.10-4.25.1
- (no CPE)range: < 0.9.1-160.22.1
- (no CPE)range: < 0.9.1-160.22.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.10-4.25.1
- (no CPE)range: < 0.9.10-4.25.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
- (no CPE)range: < 0.9.9-17.34.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2- bugzilla.redhat.com/show_bug.cgimitrex_refsource_MISC
- lists.debian.org/debian-lts-announce/2022/09/msg00035.htmlmitremailing-listx_refsource_MLIST
News mentions
0No linked articles in our index yet.