CVE-2026-22858 PUBLISHED

FreeRDP has a global-buffer-overflow in crypto_base64_decode

Assigner: GitHub_M
Reserved: 12.01.2026 Published: 14.01.2026 Updated: 14.01.2026

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.

Metrics

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
CVSS Score: 5.6

Product Status

Vendor FreeRDP
Product FreeRDP
Versions
  • Version < 3.20.1 is affected

References

Problem Types

  • CWE-125: Out-of-bounds Read CWE
  • CWE-758: Reliance on Undefined, Unspecified, or Implementation-Defined Behavior CWE