FreeRDP: Heap-buffer-overflow write in TS Gateway RPC fragment receive due to uncapped bind_ack max_xmit_frag
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.27.0, FreeRDP clients using TS Gateway accept a server-controlled max_xmit_frag value in libfreerdp/core/gateway/rpc_bind.c without bounding it to the 4088-byte ReceiveFragment allocation. A malicious gateway can advertise 65535 and then send a response fragment of the same length, causing rpc_channel_read in libfreerdp/core/gateway/rpc.c to write up to 65535 bytes into the smaller ReceiveFragment buffer. This can crash the client and may permit code execution through attacker-controlled heap corruption. This issue is fixed in version 3.27.0.
- Published
- Aug 19, 2026
- Updated
- Sep 29, 2026
- EPSS
- 0.4% · 37th percentile
- CWE
- CWE-122
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
34
Monitor
Low priority for now.
- CVSS
- 34 / 40 · 8.7 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · GitHub_M
- 8.7
- NVD has not scored this yet; the score shown is the CNA’s.
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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| freerdp | freerdp | cpe:2.3:a:freerdp:freerdp |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- freerdp freerdpbefore 3.27.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
FreeRDP FreeRDP
- < 3.27.0affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | freerdp | before 2:3.10.3-12.el10_2.11 | 2:3.10.3-12.el10_2.11 |
| AlmaLinux:10 | freerdp-devel | before 2:3.10.3-12.el10_2.11 | 2:3.10.3-12.el10_2.11 |
| AlmaLinux:10 | freerdp-libs | before 2:3.10.3-12.el10_2.11 | 2:3.10.3-12.el10_2.11 |
| AlmaLinux:10 | freerdp-server | before 2:3.10.3-12.el10_2.11 | 2:3.10.3-12.el10_2.11 |
| AlmaLinux:10 | libwinpr | before 2:3.10.3-12.el10_2.11 | 2:3.10.3-12.el10_2.11 |
| AlmaLinux:10 | libwinpr-devel | before 2:3.10.3-12.el10_2.11 | 2:3.10.3-12.el10_2.11 |
| AlmaLinux:8 | freerdp | before 2:2.11.7-13.el8_10 | 2:2.11.7-13.el8_10 |
| AlmaLinux:8 | freerdp-devel | before 2:2.11.7-13.el8_10 | 2:2.11.7-13.el8_10 |
| AlmaLinux:8 | freerdp-libs | before 2:2.11.7-13.el8_10 | 2:2.11.7-13.el8_10 |
| AlmaLinux:8 | libwinpr | before 2:2.11.7-13.el8_10 | 2:2.11.7-13.el8_10 |
| AlmaLinux:8 | libwinpr-devel | before 2:2.11.7-13.el8_10 | 2:2.11.7-13.el8_10 |
| AlmaLinux:9 | freerdp | before 2:2.11.7-7.el9_8.7 | 2:2.11.7-7.el9_8.7 |
| AlmaLinux:9 | freerdp-devel | before 2:2.11.7-7.el9_8.7 | 2:2.11.7-7.el9_8.7 |
| AlmaLinux:9 | freerdp-libs | before 2:2.11.7-7.el9_8.7 | 2:2.11.7-7.el9_8.7 |
| AlmaLinux:9 | libwinpr | before 2:2.11.7-7.el9_8.7 | 2:2.11.7-7.el9_8.7 |
| AlmaLinux:9 | libwinpr-devel | before 2:2.11.7-7.el9_8.7 | 2:2.11.7-7.el9_8.7 |
| Debian:12 | freerdp2 | all versions | — |
| Debian:13 | freerdp3 | all versions | — |
| Debian:14 | freerdp3 | before 3.27.0+dfsg-1 | 3.27.0+dfsg-1 |
| openSUSE:Tumbleweed | freerdp | before 3.27.1-1.1 | 3.27.1-1.1 |
| Red Hat:enterprise_linux:10.2 | freerdp | before 2:3.10.3-12.el10_2.11 | 2:3.10.3-12.el10_2.11 |
| Red Hat:enterprise_linux:10.2 | freerdp-debuginfo | before 2:3.10.3-12.el10_2.11 | 2:3.10.3-12.el10_2.11 |
| Red Hat:enterprise_linux:10.2 | freerdp-debugsource | before 2:3.10.3-12.el10_2.11 | 2:3.10.3-12.el10_2.11 |
| Red Hat:enterprise_linux:10.2 | freerdp-devel | before 2:3.10.3-12.el10_2.11 | 2:3.10.3-12.el10_2.11 |
+68
Same product
freerdp: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-8787FreeRDP prior to version 2.0.0-rc4 contains an Integer Overflow that leads to a Heap-Based Buffer Overflow in function gdi_Bitmap_Decompress42Plan
- CVE-2018-8788FreeRDP prior to version 2.0.0-rc4 contains an Out-Of-Bounds Write of up to 4 bytes in function nsc_rle_decode() that results in a memory co41Plan
- CVE-2018-8786FreeRDP prior to version 2.0.0-rc4 contains an Integer Truncation that leads to a Heap-Based Buffer Overflow in function update_read_bitmap_41Plan
- CVE-2018-8785FreeRDP prior to version 2.0.0-rc4 contains a Heap-Based Buffer Overflow in function zgfx_decompress() that results in a memory corruption a41Plan
- CVE-2018-8784FreeRDP prior to version 2.0.0-rc4 contains a Heap-Based Buffer Overflow in function zgfx_decompress_segment() that results in a memory corr41Plan
- CVE-2024-32460FreeRDP Out-Of-Bounds Read in interleaved_decompress40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| FreeRDP FreeRDP | 3.27.0 · description | Vendor (CNA) |
| almalinux:freerdp | 2:2.11.7-7.el9_8.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:freerdp-devel | 2:2.11.7-7.el9_8.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:freerdp-libs | 2:2.11.7-7.el9_8.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:freerdp-server | 2:3.10.3-12.el10_2.11 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libwinpr | 2:2.11.7-7.el9_8.7 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:libwinpr-devel | 2:2.11.7-7.el9_8.7 · AlmaLinux:9 | Package registry (OSV) |
| debian:freerdp3 | 3.27.0+dfsg-1 · Debian:14 | Package registry (OSV) |
| opensuse:freerdp | 3.27.1-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:freerdp | 2:2.11.7-7.el9_8.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:freerdp-debuginfo | 2:2.11.7-7.el9_8.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:freerdp-debugsource | 2:2.11.7-7.el9_8.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:freerdp-devel | 2:2.11.7-7.el9_8.7 · Red Hat:enterprise_linux:9::crb | Package registry (OSV) |
| red hat:freerdp-libs | 2:2.11.7-7.el9_8.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:freerdp-libs-debuginfo | 2:2.11.7-7.el9_8.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:freerdp-server | 2:3.10.3-12.el10_2.11 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:freerdp-server-debuginfo | 2:3.10.3-12.el10_2.11 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:libwinpr | 2:2.11.7-7.el9_8.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:libwinpr-debuginfo | 2:2.11.7-7.el9_8.7 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:libwinpr-devel | 2:2.11.7-7.el9_8.7 · Red Hat:enterprise_linux:9::crb | Package registry (OSV) |
| rocky linux:freerdp | 2:2.11.7-7.el9_8.7 · Rocky Linux:9 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-31883159 days apartFreeRDP has a `size_t` underflow in ADPCM decoder leads to heap-buffer-overflow write39Monitor
- CVE-2026-6730518 days apartFreeRDP Windows Client before 3.29.0 Heap Buffer Overflow via Cliprdr37Monitor
- CVE-2026-6462030 days apartFreeRDP before 3.28.0 Heap Buffer Overflow via crypto_rsa_common37Monitor
- CVE-2026-31806159 days apartFreeRDP has a Heap Buffer Overflow in nsc_process_message() via Unchecked SURFACE_BITS_COMMAND Bitmap Dimensions37Monitor
- CVE-2026-4442082 days apartFreeRDP cliprdr server heap-buffer-overflow via undersized capabilitySetLength in CB_CLIP_CAPS35Monitor
- CVE-2026-4442182 days apartFreeRDP RDPGFX CacheToSurface heap-buffer-overflow via clamped-rectangle validation bypass35Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- P
- Scope
- X
Weakness class (CWE)
CWE-122 · Heap-based Buffer OverflowCVSS 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-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- github.com/FreeRDP/FreeRDP/commit/a863ef1cf1cdabf9019280e5658f806e73bb50e8
- github.com/FreeRDP/FreeRDP/pull/12873
- github.com/FreeRDP/FreeRDP/releases/tag/3.27.0
Vendor advisories and official records. Exploit/PoC links are deliberately left out.