Advisory

DEBIAN-CVE-2026-40254

Also known as: CVE-2026-40254

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2026-04-24 03:16 UTC
Modified
2026-11-12 09:47 UTC

Affected packages and fixes

freerdp2

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

freerdp3

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.15.0+dfsg-2.1+deb13u3 (ecosystem)

Fixed versions

3.15.0+dfsg-2.1+deb13u3

Fix

  • Fixed version 3.15.0+dfsg-2.1+deb13u3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

freerdp3

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.25.0+dfsg-1 (ecosystem)

Fixed versions

3.25.0+dfsg-1

Fix

  • Fixed version 3.25.0+dfsg-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences