CVE-2020-25708
NixOS vulnerability analysis and mitigation

Overview

A divide by zero issue was discovered 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 (NVD, Debian Security).

Technical details

The vulnerability exists in the rfbSendRectEncodingRaw function within libvncserver/rfbserver.c. The issue occurs due to missing checks that could lead to a divide by zero condition. The vulnerability has a CVSS v3.1 Base Score of 7.5 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating it can be exploited remotely with no privileges or user interaction required (NVD, Ubuntu Security).

Impact

When successfully exploited, this vulnerability can lead to a denial of service condition through a floating point exception. The impact is limited to availability, with no effect on confidentiality or integrity of the system (NVD).

Exploitability

The vulnerability can be triggered by sending a specially crafted message to the VNC server. The attack vector is network-based and requires no authentication or user interaction, making it relatively easy to exploit (Red Hat Bugzilla).

Mitigation and workarounds

The vulnerability has been fixed in libvncserver version 0.9.13. Various distributions have released security updates to address this issue, including Ubuntu, Debian, and Red Hat. Users are recommended to upgrade to the patched versions available through their respective package managers (Debian LTS).

Community reactions

Commercial firewalls have flagged TurboVNC connections as potentially vulnerable to this CVE, although testing has shown that only LibVNCServer was affected among TightVNC-compatible code bases. TightVNC 1.3.x, TigerVNC, and TurboVNC were reportedly not vulnerable to this issue (Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util-bdb
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util-ldap
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util-ldap
NoYesAug 06, 2026
CVE-2025-49506HIGH7.5
  • NixOS logoNixOS
  • apr-util-sqlite
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management