Moderate: libvncserver security update

libvncserver Updated 02 Oct 2025

Summary

18/05/2021
N/A
Yes i
Unrated
Not published

ALSA-2021:1811: Moderate: libvncserver security update. Affects libvncserver versions < 0.9.11-17.el8. Fixed in 0.9.11-17.el8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

LibVNCServer is a C library that enables the implementation of VNC server functionality into own programs. It provides the necessary tools and functions to create and manage VNC servers. The library is widely used in various applications and systems that require remote desktop access. However, several security vulnerabilities have been identified in the libvncserver library.

Vulnerability Detail

The libvncserver library is affected by multiple security vulnerabilities:

  1. CVE-2018-21247: Uninitialized memory contents are vulnerable to Information Leak.
  2. CVE-2019-20839: Buffer overflow in ConnectClientToUnixSock().
  3. CVE-2020-14397: NULL pointer dereference in libvncserver/rfbregion.c.
  4. CVE-2020-14405: TextChat size is not limited in libvncclient/rfbproto.c.
  5. CVE-2020-25708: Divide by zero in libvncserver/rfbserver.c, leading to a potential denial-of-service (DoS) attack.

These vulnerabilities can have various impacts, including information leakage, remote code execution, and denial-of-service attacks. Attackers may exploit these vulnerabilities to gain unauthorized access, manipulate data, or disrupt the availability of VNC servers.

How To Fix

Minimum fixed version

0.9.11-17.el8

This is the first release that contains the fix.

sudo dnf update libvncserver

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no specific workarounds mentioned for these vulnerabilities. However, users can mitigate the risk by ensuring that their VNC servers are not exposed to untrusted networks or unauthorized users. Implementing proper network segmentation, access controls, and monitoring can help reduce the attack surface and detect any potential exploitation attempts.

Conclusion

The libvncserver library is affected by multiple security vulnerabilities that can have significant impacts on the security and stability of VNC server implementations. It is crucial for users to update their libvncserver package to the latest version and implement necessary security measures to protect their VNC servers. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libvncserver →

Share this vulnerability

FAQ

LibVNCServer is a C library that enables the implementation of VNC server functionality into own programs. It provides the necessary tools and functions to create and manage VNC servers.

These vulnerabilities can lead to information leakage, remote code execution, and denial-of-service attacks. Attackers may exploit these vulnerabilities to gain unauthorized access, manipulate data, or disrupt the availability of VNC servers.

To fix these vulnerabilities, it is recommended to update the libvncserver package to version 0.9.11-17.el8 or later. This update includes patches and fixes for the identified security issues.

There are no specific workarounds mentioned for these vulnerabilities. However, users can mitigate the risk by ensuring that their VNC servers are not exposed to untrusted networks or unauthorized users.

To protect VNC servers, it is recommended to implement proper network segmentation, access controls, and monitoring. This can help reduce the attack surface and detect any potential exploitation attempts.

Related vulnerabilities

Recent vulnerabilities recorded for libvncserver.

How To Fix

Minimum fixed version

0.9.11-17.el8

This is the first release that contains the fix.

sudo dnf update libvncserver

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback