Out-of-bounds Write Affecting freerdp2 package, versions <2.6.1+dfsg1-0ubuntu0.20.04.2+esm4


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.46% (37th 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 IDSNYK-UBUNTU2004-FREERDP2-17117100
  • published15 Jun 2026
  • disclosed29 May 2026

Introduced: 29 May 2026

CVE-2026-45700  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 freerdp2 to version 2.6.1+dfsg1-0ubuntu0.20.04.2+esm4 or higher.

NVD Description

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

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.26.0, FreeRDP's planar bitmap decoder has an out-of-bounds heap write when decoding RLE planar data. In libfreerdp/codec/planar.c, freerdp_bitmap_decompress_planar() validates the X destination coordinate nXDst against the caller-provided destination stride (nDstStep) even when it is writing into the internal temp buffer pTempData. An attacker can bypass the check with a large nDstStep and a large nXDst, causing planar_decompress_plane_rle() to write past the end of pTempData. This vulnerability is fixed in 3.26.0.

CVSS Base Scores

version 3.1