Client memory disclosure via unchecked path length
Published Nov 16, 2022 · Updated Nov 3, 2025
Out-of-bounds read in FreeRDP before 2.9.0 allows remote attackers controlling an RDP server to receive client memory via drive redirection. drive_process_irp_query_directory reads a server-supplied PathLength, advances the input stream, and takes a path pointer without first verifying that PathLength bytes remain. Exploitation requires the client to connect to the server with drive redirection enabled, after which out-of-bounds data can be returned over the same RDP session.
Summary
What happened
Out-of-bounds read in FreeRDP before 2.9.0 allows remote attackers controlling an RDP server to receive client memory via drive redirection. drive_process_irp_query_directory reads a server-supplied PathLength, advances the input stream, and takes a path pointer without first verifying that PathLength bytes remain. Exploitation requires the client to connect to the server with drive redirection enabled, after which out-of-bounds data can be returned over the same RDP session.
The record
- CVE
- CVE-2022-41877
- Published
- Nov 16, 2022
- Updated
- Nov 3, 2025
- Vendor
- FreeRDP
- Product
- FreeRDP
- Classifications
- CWE-1284, T1041
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 16, 2022CVE publishedPublication date reported by the CVE source.
- Nov 3, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 2.9.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo