Out-of-bounds Read Affecting freerdp3 package, versions <3.5.1+dfsg1-0ubuntu1.4


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.12% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2404-FREERDP3-15011035
  • published20 Mar 2026
  • disclosed14 Jan 2026

Introduced: 14 Jan 2026

CVE-2026-22858  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-758  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 freerdp3 to version 3.5.1+dfsg1-0ubuntu1.4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream freerdp3 package and not the freerdp3 package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1