CVE-2026-22858 MEDIUM

CVE-2026-22858: FreeRDP has a global-buffer-overflow in crypto_base64_decode

Vendor Freerdp
Product FreeRDP
Weakness CWE-125
Published January 14, 2026
Last update June 30, 2026

CVSS base score

5.6/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:P

What the vulnerability does

01Description

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.20.1, global-buffer-overflow was observed in FreeRDP's Base64 decoding path. The root cause appears to be implementation-defined char signedness: on Arm/AArch64 builds, plain char is treated as unsigned, so the guard c <= 0 can be optimized into a simple c != 0 check. As a result, non-ASCII bytes (e.g., 0x80-0xFF) may bypass the intended range restriction and be used as an index into a global lookup table, causing out-of-bounds access. This vulnerability is fixed in 3.20.1.

Key dates

02Disclosure timeline

January 14, 2026 CVE published
June 30, 2026 Record updated