FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.24.0, the gdi_surface_bits() function processes SURFACE_BITS_COMMAND messages sent by the RDP server. When the command is handled using NSCodec, the bmp.width and bmp.height values provided by the server are not properly validated against the actual desktop dimensions. A malicious RDP server can supply crafted bmp.width and bmp.height values that exceed the expected surface size. Because these values are used during bitmap decoding and memory operations without proper bounds checking, this can lead to a heap buffer overflow. Since the attacker can also control the associated pixel data transmitted by the server, the overflow may be exploitable to overwrite adjacent heap memory. This vulnerability is fixed in 3.24.0.
CVE-2026-31806
This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(low)
- EPSS
- 47.0%
- KEV
- Not listed
Published
March 13, 2026
Last Modified
June 30, 2026
Advisory Details (10)
Auto-updated Jun 30, 2026Affected: Red Hat Enterprise Linux 9.6 Extended Update Support.
https://access.redhat.com/errata/RHSA-2026:6727Affected: Red Hat Enterprise Linux 9.
https://access.redhat.com/errata/RHSA-2026:6340Affected: Red Hat Enterprise Linux 10.
https://access.redhat.com/errata/RHSA-2026:19033Affected: Red Hat Enterprise Linux 7 Extended Lifecycle Support.
https://access.redhat.com/errata/RHSA-2026:11323Affected: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support.
https://access.redhat.com/errata/RHSA-2026:10951Affected: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support and Red Hat Enterprise Linux 8.4 Extended Update Support
https://access.redhat.com/errata/RHSA-2026:10735Affected: Red Hat Enterprise Linux 8.2 Advanced Update Support.
https://access.redhat.com/errata/RHSA-2026:10734Affected: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions and Red Hat Enterprise Linux 8.8 Telecommunications Update Serv
https://access.redhat.com/errata/RHSA-2026:10076Heap Buffer Overflow in nsc_process_message() via Unchecked SURFACE_BITS_COMMAND Bitmap Dimensions · Advisory · FreeRDP/FreeRDP · GitHub
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-rrqm-46rj-cmx2commit 83d9aedea278 (FreeRDP/FreeRDP)
Fix landed in FreeRDP/FreeRDP commit 83d9aedea278 — awaiting tagged release
https://github.com/FreeRDP/FreeRDP/commit/83d9aedea278a74af3e490ff5eeb889c016dbb2bVendor Advisories for CVE-2026-31806(7)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:19033Red Hat Product SecurityHigh
Red Hat Security Advisory: freerdp security update
- RHSA-2026:6958Red Hat Product SecurityHigh
Red Hat Security Advisory: freerdp security update
- RHSA-2026:6918Red Hat Product SecurityHigh
Red Hat Security Advisory: freerdp security update
- RHSA-2026:6799Red Hat Product SecurityHigh
Red Hat Security Advisory: freerdp security update
- RHSA-2026:6743Red Hat Product SecurityHigh
Red Hat Security Advisory: freerdp security update
- RHSA-2026:6727Red Hat Product SecurityHigh
Red Hat Security Advisory: freerdp security update
- RHSA-2026:6340Red Hat Product SecurityHigh
Red Hat Security Advisory: freerdp security update
Patch Availability(14)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | freerdp-2:3.10.3-12.el10_2.2 | 2026-05-19 | redhat |
| redhat | freerdp-0:2.1.1-5.el7_9.7 | 2026-04-28 | redhat |
| redhat | freerdp-2:2.0.0-46.rc4.el8_2.10 | 2026-04-27 | redhat |
| redhat | freerdp-2:2.2.0-7.el8_6.5 | 2026-04-27 | redhat |
| redhat | freerdp-2:2.2.0-12.el8_4 | 2026-04-27 | redhat |
| redhat | freerdp-2:2.2.0-12.el8_8.5 | 2026-04-23 | redhat |
| redhat | freerdp-2:2.4.1-3.el9_0.4 | 2026-04-22 | redhat |
| redhat | freerdp-2:2.4.1-6.el9_2.6 | 2026-04-22 | redhat |
| redhat | freerdp-2:2.11.2-1.el9_4.5 | 2026-04-08 | redhat |
| redhat | freerdp-2:2.11.7-6.el8_10 | 2026-04-07 | redhat |
| redhat | freerdp-2:3.10.3-5.el10_1.5 | 2026-04-07 | redhat |
| redhat | freerdp-2:2.11.7-1.el9_6.7 | 2026-04-07 | redhat |
| redhat | freerdp-2:3.10.3-3.el10_0.5 | 2026-04-07 | redhat |
| redhat | freerdp-2:2.11.7-1.el9_7.5 | 2026-04-01 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(7)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2026:10076IMPORTANT2026-03-13
RHSA-2026:10076 — Important
- Red HatRHSA-2026:10734IMPORTANT2026-03-13
RHSA-2026:10734 — Important
- Red HatRHSA-2026:10735IMPORTANT2026-03-13
RHSA-2026:10735 — Important
- Red HatRHSA-2026:10951IMPORTANT2026-03-13
RHSA-2026:10951 — Important
- Red HatRHSA-2026:11323IMPORTANT2026-03-13
RHSA-2026:11323 — Important
- Red HatRHSA-2026:9640IMPORTANT2026-03-13
RHSA-2026:9640 — Important
- Red HatRHSA-2026:9641IMPORTANT2026-03-13
RHSA-2026:9641 — Important
Data Freshness Timeline
(refreshed 9× in last 7d / 15× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 04:33 UTCEG score recompute
- 2026-06-30 04:33 UTCVendor advisory
- 2026-06-30 04:31 UTCNVD updatefirst tracked
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-122 · CWE-131
- CVE-2016-9603NVD 5.5EG 9.9EPSS 90%MEDIUM
- CVE-2006-10003EG 9.8CRITICAL
- CVE-2019-10500EG 9.8CRITICAL
- CVE-2019-14901EG 9.8EPSS 97%CRITICAL
- CVE-2019-14895EG 9.8EPSS 94%CRITICAL
- CVE-2019-14896EG 9.8EPSS 94%CRITICAL
- CVE-2019-10627EG 9.8CRITICAL
- CVE-2019-18240EG 9.8EPSS 96%CRITICAL
- CVE-2019-15679EG 9.8EPSS 96%CRITICAL
- CVE-2019-15678EG 9.8EPSS 96%CRITICAL
Frequently asked(5)
What is CVE-2026-31806?
When was CVE-2026-31806 disclosed?
Is CVE-2026-31806 actively exploited?
What is the CVSS score of CVE-2026-31806?
How do I remediate CVE-2026-31806?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-31806
Is Your Infrastructure Affected by CVE-2026-31806?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.