Critical Heap-Based Buffer Overflow in rdesktop Package

rdesktop Updated 02 Oct 2025

Summary

05/02/2019
N/A
Yes i
Critical
9.8

ALPINE-CVE-2018-8800: rdesktop versions up to and including v1.8.3 contain a Heap-Based Buffer Overflow in function ui_clip_handle_data() that results in a memory corruption and probably even a remote code execution. Affects rdesktop versions < 1.8.6-r0. Fixed in 1.8.6-r0. 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

rdesktop is an open-source client for the Remote Desktop Protocol (RDP), allowing users to connect to Windows desktops and servers. It is widely used for remote access to Windows environments from Unix-like systems. The package is known for its lightweight nature and ease of use, but it has been found to be vulnerable to a serious security flaw that could compromise system integrity.

Vulnerability Detail

The vulnerability identified as CVE-2018-8800 is a Heap-Based Buffer Overflow in the function ui_clip_handle_data() of rdesktop versions up to and including v1.8.3. This flaw can lead to memory corruption, which may allow an attacker to execute arbitrary code remotely. The severity of this vulnerability is rated at a CVSS score of 9.8, indicating a critical risk to systems using affected versions of rdesktop.

How To Fix

Minimum fixed version

1.8.6-r0

This is the first release that contains the fix.

sudo apk add --upgrade rdesktop

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

Workaround

As a temporary measure, users can limit access to the rdesktop service or disable it until the package is updated. Additionally, consider using alternative remote desktop solutions that do not have this vulnerability.

Conclusion

The rdesktop package has a critical vulnerability (CVE-2018-8800) that can lead to severe security risks, including remote code execution. Users are strongly advised to update to version 1.8.6-r0 or later to mitigate these risks. For ongoing monitoring of vulnerabilities, tools like Vulert can be invaluable.

See every vulnerability recorded for rdesktop →

Share this vulnerability

FAQ

CVE-2018-8800 is a vulnerability in the rdesktop package that allows for a heap-based buffer overflow, potentially leading to remote code execution.

You can check your rdesktop version by running 'rdesktop -version' in the terminal. If it is 1.8.3 or earlier, it is vulnerable.

If immediate updates are not possible, consider restricting access to the rdesktop service or using alternative remote desktop solutions.

Detailed information can be found in the CVE database or through security advisories related to rdesktop.

Vulert monitors open-source vulnerabilities in real-time using a manifest file like package-lock.json, allowing users to stay informed about potential risks without needing to access the code.

Related vulnerabilities

Recent vulnerabilities recorded for rdesktop.

How To Fix

Minimum fixed version

1.8.6-r0

This is the first release that contains the fix.

sudo apk add --upgrade rdesktop

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