Heap-based Buffer Overflow Affecting libwinpr package, versions <2:2.11.7-1.amzn2.0.4


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.09% (25th 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 Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-LIBWINPR-15323850
  • published20 Feb 2026
  • disclosed14 Jan 2026

Introduced: 14 Jan 2026

CVE-2026-22854  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libwinpr to version 2:2.11.7-1.amzn2.0.4 or higher.
This issue was patched in ALAS2-2026-3166.

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:2 relevant fixed versions and status.

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.20.1, a heap-buffer-overflow occurs in drive read when a server-controlled read length is used to read file data into an IRP output stream buffer without a hard upper bound, allowing an oversized read to overwrite heap memory. This vulnerability is fixed in 3.20.1.

CVSS Base Scores

version 3.1