Vulnerability in xrdp package - Buffer Overflow and Application Crash

xrdp Updated 02 Oct 2025

Summary

11/12/2017
N/A
Yes i
Unrated
Not published

DLA-1203-1: xrdp - security update. Affects xrdp versions < 0.5.0-2+deb7u2. Fixed in 0.5.0-2+deb7u2. 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

The xrdp package is a session manager that provides remote desktop functionality for Linux systems. It allows users to connect to a remote desktop environment using the Remote Desktop Protocol (RDP). The package includes the sesman component, which handles session management and authentication. However, a vulnerability has been discovered in the scp_v0s_accept function within the libscp_v0.c file of sesman. This function uses an untrusted integer as a write length, which can be exploited by local users to cause a denial of service (buffer overflow and application crash) or potentially have other unspecified impacts.

Vulnerability Detail

The vulnerability in xrdp arises from the scp_v0s_accept function's improper handling of write lengths. By providing a crafted input stream, a local user can trigger a buffer overflow, leading to a denial of service condition or other unknown consequences. This vulnerability can be exploited without requiring any special privileges or authentication. It is important to note that this vulnerability only affects the xrdp package in Debian 7 Wheezy.

How To Fix

Minimum fixed version

0.5.0-2+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade xrdp

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

Workaround

There is no known workaround for this vulnerability. It is essential to apply the provided security update to ensure the system is protected against potential exploitation.

Conclusion

The xrdp package in Debian 7 Wheezy is vulnerable to a buffer overflow and application crash due to improper handling of write lengths in the scp_v0s_accept function. To mitigate this vulnerability, it is recommended to upgrade the xrdp package to version 0.5.0-2+deb7u2 or later. There are no known workarounds, so applying the security update is crucial. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for xrdp →

Share this vulnerability

FAQ

xrdp is a session manager that enables remote desktop functionality on Linux systems. It allows users to connect to a remote desktop environment using the Remote Desktop Protocol (RDP).

This vulnerability affects the xrdp package in Debian 7 Wheezy. It can be exploited by local users to cause a denial of service (buffer overflow and application crash) or potentially have other unspecified impacts.

No, this vulnerability can only be exploited by local users.

No, there are no known workarounds for this vulnerability. It is crucial to apply the provided security update.

The security update for the xrdp package can be obtained from the Debian repository. Users can install it using their preferred package manager.

How To Fix

Minimum fixed version

0.5.0-2+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade xrdp

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