CVE-2020-14398
NixOS vulnerability analysis and mitigation

Overview

An issue was discovered in LibVNCServer before 0.9.13 where an improperly closed TCP connection causes an infinite loop in libvncclient/sockets.c. The vulnerability was disclosed on June 17, 2020, and affects multiple systems including Ubuntu, OpenSUSE, and Siemens industrial products (NVD, Ubuntu).

Technical details

The vulnerability occurs when a TCP connection is not reset properly at the TCP level (e.g., due to sudden power loss or process crash). In such cases, the connection becomes half-open, causing read() to always return -1 with errno = EAGAIN while select() always returns 0. This leads to an infinite loop in the libvncclient/sockets.c file. The vulnerability has been assigned a CVSS v3.1 Base Score of 7.5 HIGH with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

A remote attacker could exploit this vulnerability to cause a denial of service condition by triggering an infinite loop in the application. This would result in the affected system becoming unresponsive (Ubuntu).

Exploitability

The vulnerability can be exploited remotely without requiring any privileges or user interaction. The attack complexity is considered low, making it relatively straightforward to exploit (NVD).

Mitigation and workarounds

The vulnerability was fixed in LibVNCServer version 0.9.13. The fix involves implementing a timeout mechanism for handling half-open TCP connections. The patch adds a readTimeout parameter and closes the connection after a certain number of retries has been exceeded (GitHub). Users are advised to upgrade to the fixed version or apply the available security updates for their respective systems.

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-13097CRITICAL9.1
  • NixOS logoNixOS
  • python3-samba-test
NoYesAug 20, 2026
CVE-2026-11861HIGH8.1
  • NixOS logoNixOS
  • samba-common
NoYesAug 20, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • ctdb-ceph-mutex
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • samba-test-libs-debuginfo
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • samba-ldb-ldap-modules-debuginfo
NoYesAug 20, 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