Out-of-bounds Write Affecting libwinpr package, versions <2:3.6.3-1.amzn2023.0.12


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.81% (53rd 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-AMZN2023-LIBWINPR-17414131
  • published23 Jun 2026
  • disclosed26 May 2026

Introduced: 26 May 2026

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

How to fix?

Upgrade Amazon-Linux:2023 libwinpr to version 2:3.6.3-1.amzn2023.0.12 or higher.
This issue was patched in ALAS2023-2026-1822.

NVD Description

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

FreeRDP before 3.26.0 contains a heap-buffer-overflow vulnerability in gdi_CacheToSurface that allows remote attackers to write out-of-bounds heap memory. The vulnerability occurs because rectangle validation clamps coordinates to UINT16_MAX but performs copy operations using unclamped cache entry dimensions, enabling malicious RDP servers to trigger large out-of-bounds writes and potentially achieve remote code execution or client crash.

CVSS Base Scores

version 3.1