CVE-2026-40033
FreeRDP - Heap-buffer-overflow in gdi_CacheToSurface via rectangle validation bypass
02 Description
FreeRDP - Heap-buffer-overflow in gdi_CacheToSurface via rectangle validation bypass
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 1.36% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 71.6% of scored records. A rank, not a probability.
- NVD base score
- 8.7 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD CVSS vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVD analysis status
- Modified. NVD last modified this record on 2026-07-27.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-05-26 14:08Z5 MO AGO
- Last updated
- 2026-07-27 12:05Z3 MO AGO
- Reserved
- 2026-04-08
- Assigning CNA
- VulnCheck
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.6)
- CNA CVSS vector
- 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
- Weaknesses
- Data version
- 5.2
- Document digest
- ce1b7467e5fdf3477f3667f60e903de84a850da1be237a28abd8ec93d5e775ff
05 Affected products
06 References
- github.comhttps://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-p6r2-4hgm-m6ff
- github.comhttps://github.com/FreeRDP/FreeRDP/pull/12713
- github.comhttps://github.com/FreeRDP/FreeRDP/commit/d7508ebcd82842a691ae4941e5104d14240a89ae
- www.vulncheck.comhttps://www.vulncheck.com/advisories/freerdp-heap-buffer-overflow-in-gdi-cachetosurface-via-rectangle-validation-bypass
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2026-40033
- bugzilla.redhat.comRHBZ#2481473https://bugzilla.redhat.com/show_bug.cgi?id=2481473
- security.access.redhat.comhttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40033.json
- access.redhat.comhttps://access.redhat.com/errata/RHSA-2026:46393
- access.redhat.comhttps://access.redhat.com/errata/RHSA-2026:36203
07 Fixed in
AlmaLinux 10
- freerdp Fixed in 2:3.10.3-12.el10_2.6
- freerdp-devel Fixed in 2:3.10.3-12.el10_2.6
- freerdp-libs Fixed in 2:3.10.3-12.el10_2.6
- freerdp-server Fixed in 2:3.10.3-12.el10_2.6
- libwinpr Fixed in 2:3.10.3-12.el10_2.6
- libwinpr-devel Fixed in 2:3.10.3-12.el10_2.6
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 10
- freerdp Fixed in 2:3.10.3-12.el10_2.6
- freerdp-devel Fixed in 2:3.10.3-12.el10_2.6
- freerdp-libs Fixed in 2:3.10.3-12.el10_2.6
- freerdp-server Fixed in 2:3.10.3-12.el10_2.6
- libwinpr Fixed in 2:3.10.3-12.el10_2.6
- libwinpr-devel Fixed in 2:3.10.3-12.el10_2.6
Derived from AlmaLinux 10. Partial coverage: only packages taken from AlmaLinux 10 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- freerdp2 No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- freerdp3 No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- freerdp3 Fixed in 3.26.0+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- freerdp No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- freerdp No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- freerdp2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- freerdp3 Fixed in 3.30.0+dfsg-0ubuntu0.24.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- freerdp3 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- freerdp3 Fixed in 3.30.0+dfsg-0ubuntu0.26.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- freerdp2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- freerdp2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 24.04 LTS
- freerdp2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.