VDB

CVE-2026-40033

CVE-2026-40033 PUBLISHED CVSS 8.6 HIGH

FreeRDP - Heap-buffer-overflow in gdi_CacheToSurface via rectangle validation bypass

Reported by vulncheck · Published May 26, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
freerdp-debugsourceerrata.rockylinux.org3.10.3-12.el10
libwinprerrata.rockylinux.org3.10.3-12.el10
freerdp-libsAmazon Linux2:3.6.3-1.amzn2023.0.12
freerdp-server-debuginfoerrata.rockylinux.org3.10.3-12.el10
freerdperrata.rockylinux.org3.10.3-12.el10
libwinpr-develerrata.rockylinux.org3.10.3-12.el10
freerdp-debuginfoerrata.rockylinux.org3.10.3-12.el10
freerdp-develAmazon Linux2:2.11.7-1.amzn2.0.12
libwinprAmazon Linux2:3.6.3-1.amzn2023.0.12
freerdp-servererrata.rockylinux.org3.10.3-12.el10

Risk scores

CVSS 4.0
8.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
FreeRDPFreeRDP0, 3.26.0
Red HatRed Hat Enterprise Linux 7
amazon:2023freerdp-libs0
amazon:2freerdp-devel0
amazon:2023libwinpr0
freerdpfreerdp0
amazon:2libwinpr-devel0
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 6
amazon:2freerdp0
Red HatRed Hat Enterprise Linux CodeReady Linux Builder (v. 10)
Red HatRed Hat Enterprise Linux 8
amazon:2023freerdp-devel0
amazon:2023libwinpr-devel0
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux AppStream (v. 10)
FreeRDPFreeRDP0, 3.26.0
amazon:2libwinpr0

…and 6 more

Timeline

  • May 11, 2026 CVE Published
  • May 27, 2026 EPSS Score (30 in total, the first dated here)
  • May 28, 2026 Security Advisory (6 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score
  • Jul 7, 2026 Distribution Patch (4 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-40033
vulnetix vdb fixes CVE-2026-40033

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40033/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›