Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-40254

Fixed in a distro release EPSS <1%CVSS 4.2

FreeRDP is a free implementation of the Remote Desktop Protocol. Versions prior to 3.25.0 have an off-by-one in the path traversal filter in `channels/drive/client/drive_file.c`. The `contains_dotdot()` function catches `../` and `..\` mid-path but misses `..` when it's the last component with no trailing separator. A rogue RDP server can read, list, or write files one directory above the client's shared folder through RDPDR requests. This requires the victim to connect with drive redirection enabled. Version 3.25.0 patches the issue.

Published 2026-04-24 · CVE record · OSV

Products: FreeRDP

Distro releases

ReleasePackageFixed in
Amazon Linux 2023freerdp2:3.6.3-1.amzn2023.0.11
Amazon Linux 2023freerdp-devel2:3.6.3-1.amzn2023.0.11
Amazon Linux 2023freerdp-libs2:3.6.3-1.amzn2023.0.11
Amazon Linux 2023freerdp-server2:3.6.3-1.amzn2023.0.11
Amazon Linux 2023libwinpr2:3.6.3-1.amzn2023.0.11
Amazon Linux 2023libwinpr-devel2:3.6.3-1.amzn2023.0.11
Debian 12freerdp2no fix
Debian 13freerdp33.15.0+dfsg-2.1+deb13u3
Debian 14freerdp33.25.0+dfsg-1
SUSE Linux Enterprise Module for Package Hub 15 SP7freerdp3.10.3-150700.3.17.1
SUSE Linux Enterprise Server 16.0freerdp3.26.0-160000.1.1
SUSE Linux Enterprise Server for SAP applications 16.0freerdp3.26.0-160000.1.1
SUSE Linux Enterprise Workstation Extension 15 SP7freerdp3.10.3-150700.3.17.1
Ubuntu 16.04 LTSfreerdpno fix
Ubuntu 18.04 LTSfreerdpno fix
Ubuntu 22.04 LTSfreerdp2no fix
Ubuntu 24.04 LTSfreerdp33.30.0+dfsg-0ubuntu0.24.04.1
Ubuntu 25.10freerdp3no fix
Ubuntu 26.04 LTSfreerdp33.30.0+dfsg-0ubuntu0.26.04.1
Ubuntu Pro 18.04 LTSfreerdp2no fix
Ubuntu Pro 20.04 LTSfreerdp2no fix
Ubuntu Pro 24.04 LTSfreerdp2no fix
openSUSE Leap 16.0freerdp3.26.0-160000.1.1
openSUSE Tumbleweedfreerdp3.26.0-1.1