CVE & CISA-KEV Catalog

CVE-2026-31806

CRITICAL
9.8
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
freerdpAmazon
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:3.6.3-1.amzn2023.0.7
Fixed in:2:3.6.3-1.amzn2023.0.7
freerdp-debuginfoAmazon
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:3.6.3-1.amzn2023.0.7
Fixed in:2:3.6.3-1.amzn2023.0.7
freerdp-debugsourceAmazon
Fixed in:2:3.6.3-1.amzn2023.0.7
Fixed in:2:3.6.3-1.amzn2023.0.7
freerdp-develAmazon
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:3.6.3-1.amzn2023.0.7
Fixed in:2:3.6.3-1.amzn2023.0.7
freerdp-libsAmazon
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:3.6.3-1.amzn2023.0.7
Fixed in:2:3.6.3-1.amzn2023.0.7
freerdp-libs-debuginfoAmazon
Fixed in:2:3.6.3-1.amzn2023.0.7
Fixed in:2:3.6.3-1.amzn2023.0.7
freerdp-serverAmazon
Fixed in:2:3.6.3-1.amzn2023.0.7
Fixed in:2:3.6.3-1.amzn2023.0.7
freerdp-server-debuginfoAmazon
Fixed in:2:3.6.3-1.amzn2023.0.7
Fixed in:2:3.6.3-1.amzn2023.0.7
libwinprAmazon
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:3.6.3-1.amzn2023.0.7
Fixed in:2:3.6.3-1.amzn2023.0.7
libwinpr-debuginfoAmazon
Fixed in:2:3.6.3-1.amzn2023.0.7
Fixed in:2:3.6.3-1.amzn2023.0.7
libwinpr-develAmazon
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:2.11.7-1.amzn2.0.8
Fixed in:2:3.6.3-1.amzn2023.0.7
Fixed in:2:3.6.3-1.amzn2023.0.7
freerdpRed Hat / RHEL
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
freerdpRocky
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
freerdp-debuginfoRocky
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
freerdp-debuginfoRed Hat / RHEL
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
freerdp-debugsourceRocky
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
freerdp-debugsourceRed Hat / RHEL
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
freerdp-develRed Hat / RHEL
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
freerdp-develRocky
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
freerdp-libsRocky
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
freerdp-libsRed Hat / RHEL
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
freerdp-libs-debuginfoRocky
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
freerdp-libs-debuginfoRed Hat / RHEL
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
freerdp-serverRocky
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
freerdp-serverRed Hat / RHEL
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
freerdp-server-debuginfoRed Hat / RHEL
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
freerdp-server-debuginfoRocky
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
libwinprRed Hat / RHEL
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
libwinprRocky
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
libwinpr-debuginfoRed Hat / RHEL
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-12.el10_2.2RHSA-2026:19033
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743
Fixed in:2:3.10.3-5.el10_1.5RHSA-2026:6799
Fixed in:2:3.10.3-3.el10_0.5RHSA-2026:6743

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.66%probability of exploitation in 30 days
50thpercentile

Moderate risk: more likely to be exploited than 50% of all known CVEs.

References

Related Vulnerabilities

Other CWE-122 (Heap-based Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-3113Critical9.8100%KEVFix
CVE-2020-25687Medium5.987%-Fix
CVE-2009-3459High8.887%KEVFix
CVE-2021-21017High8.886%KEV-
CVE-2020-25683Medium5.986%-Fix
CVE-2023-27997Critical9.886%KEV + Ransom-

Common questions

How do I fix CVE-2026-31806?

Published advisories record a fix for 36 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2026-31806 being actively exploited?

Not that we know of. CVE-2026-31806 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.66% is the estimated probability that it will be exploited in the next 30 days. That is higher than 50% of all scored CVEs.

How severe is CVE-2026-31806?

CVE-2026-31806 has a CVSS v3 base score of 9.8, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-31806 affect?

Published advisories record a fix for freerdp (Amazon), freerdp-debuginfo (Amazon), freerdp-debugsource (Amazon), freerdp-devel (Amazon), and 32 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-31806
CVE-2026-31806 severity badge

Markdown

[![CVE-2026-31806](https://tridentstack.com/cve/badge/CVE-2026-31806.svg)](https://tridentstack.com/cve/CVE-2026-31806)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-31806"><img src="https://tridentstack.com/cve/badge/CVE-2026-31806.svg" alt="CVE-2026-31806"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-07-15.