Critical Integer Overflow Vulnerability in rdesktop Package

rdesktop Updated 02 Oct 2025

Summary

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

ALPINE-CVE-2018-8794: rdesktop versions up to and including v1.8.3 contain an Integer Overflow that leads to an Out-Of-Bounds Write in function process_bitmap_updates() and results in a memory corruption and possibly even a remote code execut... 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

rdesktop is an open-source client for the Remote Desktop Protocol (RDP), allowing users to connect to Windows desktops from Unix-like systems. It supports various features such as sound redirection, clipboard sharing, and multiple session management. However, versions up to and including v1.8.3 are vulnerable to a critical integer overflow issue that can lead to severe security risks.

Vulnerability Detail

The vulnerability arises from an integer overflow in the function process_bitmap_updates() within rdesktop. This flaw can lead to an out-of-bounds write, resulting in memory corruption. The potential ramifications include remote code execution, where an attacker could exploit this vulnerability to execute arbitrary code on the affected system, compromising its integrity and confidentiality.

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

If immediate updating is not feasible, consider disabling remote desktop access temporarily until the package can be updated. Additionally, implement network-level security measures such as firewalls to restrict access to the affected service.

Conclusion

The rdesktop package has a critical vulnerability due to an integer overflow that can lead to severe security implications, including remote code execution. It is essential to update to the patched version 1.8.6-r0 or later to mitigate these risks. Users are encouraged to monitor their systems for vulnerabilities using tools like Vulert.

See every vulnerability recorded for rdesktop →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.8, indicating a critical level of severity.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The risks include potential remote code execution, which could allow attackers to gain unauthorized access to your system and execute malicious actions.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.

If you cannot update the package, consider disabling remote desktop access and implementing additional security measures to protect your system.

Related vulnerabilities

Recent vulnerabilities recorded for rdesktop.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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