Memory Leak Vulnerability in libvncserver: CVE-2019-15681

libvncserver Updated 02 Oct 2025

Summary

29/10/2019
N/A
Yes i
High
7.5

ALPINE-CVE-2019-15681: LibVNC commit before d01e1bb4246323ba6fcee3b82ef1faa9b1dac82a contains a memory leak (CWE-655) in VNC server code, which allow an attacker to read stack memory and can be abused for information disclosure. Affects libvncserver versions < 0.9.11-r3. Fixed in 0.9.11-r3. 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 Penetration testing for web, API and mobile 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 an open-source library that enables the implementation of VNC (Virtual Network Computing) server functionality. It allows remote access to graphical user interfaces over a network. The library is widely used in various applications that require remote desktop capabilities. However, it has been identified to have a critical vulnerability that can lead to information disclosure through a memory leak.

Vulnerability Detail

The vulnerability, identified as CVE-2019-15681, originates from a memory leak in the VNC server code prior to commit d01e1bb4246323ba6fcee3b82ef1faa9b1dac82a. This flaw allows an attacker to read stack memory, potentially leading to sensitive information disclosure. The vulnerability can be exploited over network connectivity, and when combined with other vulnerabilities, it may allow attackers to bypass Address Space Layout Randomization (ASLR), increasing the risk of further exploitation.

How To Fix

Minimum fixed version

0.9.11-r3

This is the first release that contains the fix.

sudo apk add --upgrade libvncserver

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

Workaround

As a temporary workaround, consider restricting network access to the VNC server or implementing firewall rules to limit exposure until the package can be updated. Additionally, monitoring network traffic for unusual activity may help mitigate risks.

Conclusion

The CVE-2019-15681 vulnerability in libvncserver poses a significant risk due to its potential for information disclosure through a memory leak. It is crucial for users of affected versions to update their packages to the patched versions to mitigate this risk. Additionally, employing temporary workarounds can help protect systems until updates are applied.

See every vulnerability recorded for libvncserver →

Share this vulnerability

FAQ

CVE-2019-15681 is a memory leak vulnerability in the libvncserver library that can lead to information disclosure.

An attacker can exploit this vulnerability over network connectivity to read sensitive stack memory.

The vulnerability can lead to information disclosure and, when combined with other vulnerabilities, may allow attackers to bypass ASLR.

You can use Vulert, which monitors open-source vulnerabilities in your software by analyzing the manifest file. Visit Vulert Scanner to check your application without signup.

The CVSS score for CVE-2019-15681 is 7.5, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for libvncserver.

How To Fix

Minimum fixed version

0.9.11-r3

This is the first release that contains the fix.

sudo apk add --upgrade 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