CVE-2026-22858CWE-125CWE-758

FreeRDP has a global-buffer-overflow in crypto_base64_decode

Medium · published January 14, 2026

CVSS v4.0
5.6
EPSS
1%
Percentile
52.7
In the wild
Unconfirmed
What it is

⚠️ A sneaky twist in Base64 encoding could lead to global buffer overflow! This vulnerability hides in FreeRDP versions before 3.20.1, potentially causing headaches if left unaddressed. 😱 Think of it like a restaurant that has a secret menu. If the chef misinterprets an order and mistakenly uses the wrong recipe, it could lead to unexpected and possibly disastrous results for dinner guests! Similarly, this flaw allows non-ASCII bytes to slip through the cracks and cause chaos. If exploited, an attacker could leverage this buffer overflow to manipulate memory, leading to unexpected behavior or information leakage. While not known to be actively exploited yet, the potential for remote access makes it a considerable risk. This could disrupt operations or compromise sensitive data.

Put simply

Think of it like a restaurant that has a secret menu. If the chef misinterprets an order and mistakenly uses the wrong recipe, it could lead to unexpected and possibly disastrous results for dinner guests! Similarly, this flaw allows non-ASCII bytes to slip through the cracks and cause chaos. The vulnerability arises from how the FreeRDP implementation handles character signedness during Base64 decoding. Non-ASCII bytes can bypass checks meant to restrict input range, leading to out-of-bounds access in a global lookup table.

What to do

If exploited, an attacker could leverage this buffer overflow to manipulate memory, leading to unexpected behavior or information leakage. While not known to be actively exploited yet, the potential for remote access makes it a considerable risk. This could disrupt operations or compromise sensitive data. To mitigate this risk, upgrade FreeRDP to version 3.20.1 or later. Additionally, review your implementation for any further character handling issues and ensure robust input validation practices are in place. You've got this! By taking these steps, you're not just fixing a bug; you're leveling up your security game! 🛡️

The record
Technical detail
CVSS v4.0
5.6 · MEDIUM
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
EPSS
0.00703 · 52.7th percentile
Weaknesses
CWE-125 · Out-of-bounds Read; CWE-758 · Reliance on Undefined, Unspecified, or Implementation-Defined Behavior
Published
2026-01-14T17:56Z
EPSS history
Timeline
  • 14 JAN 17:56Z
    FreeRDP has a global-buffer-overflow in crypto_base64_decode
    cvelistv5