Out-of-bounds Read Affecting freerdp package, versions <2:3.6.3-1.amzn2023.0.8


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.03% (11th 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-AMZN2023-FREERDP-15921177
  • published7 Apr 2026
  • disclosed13 Mar 2026

Introduced: 13 Mar 2026

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

How to fix?

Upgrade Amazon-Linux:2023 freerdp to version 2:3.6.3-1.amzn2023.0.8 or higher.
This issue was patched in ALAS2023-2026-1520.

NVD Description

Note: Versions mentioned in the description apply only to the upstream freerdp package and not the freerdp package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.24.0, there is an out-of-bounds read in freerdp_bitmap_decompress_planar when SrcSize is 0. The function dereferences *srcp (which points to pSrcData) without first verifying that SrcSize >= 1. When SrcSize is 0 and pSrcData is non-NULL, this reads one byte past the end of the source buffer. This vulnerability is fixed in 3.24.0.

CVSS Base Scores

version 3.1