Description
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, a missing bounds check in `smartcard_unpack_read_size_align()` (`libfreerdp/utils/smartcard_pack.c:1703`) allows a malicious RDP server to crash the FreeRDP client via a reachable `WINPR_ASSERT` → `abort()`. The crash occurs in upstream builds where `WITH_VERBOSE_WINPR_ASSERT=ON` (default in FreeRDP 3.22.0 / current WinPR CMake defaults). Smartcard redirection must be explicitly enabled by the user (e.g., `xfreerdp /smartcard`; `/smartcard-logon` implies `/smartcard`). Version 3.23.0 fixes the issue.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| FreeRDP | FreeRDP | < 3.23.0 |
References
- https://github.com/FreeRDP/FreeRDP/commit/65d59d3b3c2f630f2ea862687ecf5f95f8115244Patch
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-7g72-39pq-4725Exploit, Mitigation, Patch, Vendor Advisory
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-7g72-39pq-4725Exploit, Mitigation, Patch, Vendor Advisory
Timeline
- Published
- Feb 25, 2026
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed