6.1

CVE-2026-40254: freerdp Off-by-one Error

CVSS: 6.1v3.1MediumAnalyzed
AliasesUBUNTU-CVE-2026-40254DEBIAN-CVE-2026-40254openSUSE-SU-2026:10832-1
Published 24-04-2026Last modified 24-04-2026

Vulnerability summary

CVE-2026-40254 is a medium (CVSS 6.1) Off-by-one Error vulnerability in freerdp. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 12.7% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
34/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
0.23%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 4 · Related 4

Timeline

  1. 24-04-2026
    PublishedVulnerability first disclosed.
  2. 24-04-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

+0.03 pp

From 0.20% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.23%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Freerdp

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Ubuntu3 products
  • freerdpAll versions (No fix recorded)
  • freerdp2All versions (No fix recorded)
  • freerdp3< 3.30.0+dfsg-0ubuntu0.24.04.1 | All versions (No fix recorded) | < 3.30.0+dfsg-0ubuntu0.26.04.1
Debian2 products
  • freerdp2All versions (No fix recorded)
  • freerdp3< 3.15.0+dfsg-2.1+deb13u3 | < 3.25.0+dfsg-1
Freerdp1 product
Opensuse1 product
  • freerdp&distro=openSUSE Tumbleweed< 3.26.0-1.1

4 vendors · 7 products

References

6 links