Read the docs
TI-2026-28876 Aliases CVE-2026-40033GHSA-xmr8-h8p4-932m

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

Priority HIGH 72CWE-122Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 4 fixed, 2 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-122 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01365 71st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial FreeRDP (FreeRDP): 3.26.0Red Hat: 2 advisoriesRed Hat: 4 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
FreeRDPFreeRDPbefore 3.26.03.26.0Patch availableCNA
  • FreeRDP VendorFreeRDP Affected before 3.26.0 Fixed in 3.26.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*before 3.26.0VulnerableFreeRDP
  • cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:* Versions before 3.26.0 Vulnerable ·FreeRDP

Remediation

  • Fix · CNA FreeRDP (FreeRDP) Fixed in 3.26.0

Red Hat 2 advisories

  • RHSA-2026:46393 Released 2026-07-27 · Red Hat rating Important
    freerdp security update
    • Red Hat Enterprise Linux AppStream EUS (v. 10.0) freerdp-2:3.10.3-3.el10_0.9, freerdp-libs-2:3.10.3-3.el10_0.9, libwinpr-2:3.10.3-3.el10_0.9
    • Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) freerdp-devel-2:3.10.3-3.el10_0.9, freerdp-server-2:3.10.3-3.el10_0.9, libwinpr-devel-2:3.10.3-3.el10_0.9
  • RHSA-2026:36203 Released 2026-07-07 · Red Hat rating Important
    freerdp security update
    • Red Hat Enterprise Linux AppStream (v. 10) freerdp-2:3.10.3-12.el10_2.6, freerdp-libs-2:3.10.3-12.el10_2.6, libwinpr-2:3.10.3-12.el10_2.6
    • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) freerdp-devel-2:3.10.3-12.el10_2.6, freerdp-server-2:3.10.3-12.el10_2.6, libwinpr-devel-2:3.10.3-12.el10_2.6

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 9AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2026:36203
Red Hat Enterprise Linux AppStream EUS (v. 10.0)Fixed RHSA-2026:46393
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)Fixed RHSA-2026:36203
Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0)Fixed RHSA-2026:46393
Not affected: 2 products
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-40033
  2. 2026-10-03 Alias added: GHSA-xmr8-h8p4-932m

References

  • TI-2026-85092 Use-after-free in FreeRDP rdpgfx channel close handling CVSS 4.0CRITICAL 9.3
  • TI-2026-85091 Out-of-bounds write in FreeRDP proxy via bitmap cache v2 capability CVSS 4.0CRITICAL 9.3
  • TI-2026-24435 FreeRDP has a `size_t` underflow in ADPCM decoder leads to heap-buffer-overflow write CVSS 3.1CRITICAL 9.8
  • TI-2023-21373 Out-Of-Bounds Write in FreeRDP CVSS 3.1CRITICAL 9.8
  • TI-2022-08692 Server side NTLM does not properly check parameters in FreeRDP CVSS 3.1CRITICAL 9.1
  • TI-2023-21374 Out-Of-Bounds Read in FreeRDP CVSS 3.1CRITICAL 9.1
See all 336 →

Sources