FreeRDP before 3.28.0 Heap Buffer Overflow via crypto_rsa_common
FreeRDP before 3.28.0 (affected <=3.27.1) contains a heap-based buffer overflow in crypto_rsa_common() (libfreerdp/crypto/crypto.c). The function writes the modular-exponentiation result into the caller's output buffer via BN_bn2bin() and only afterward checks output_length > out_length, so out-of-bounds bytes are written before the bounds check. On the server side, when a client selects RDP Standard Security, the encrypted client random is decrypted into a fixed 32-byte buffer. Because the server publishes its RSA public key, an unauthenticated attacker can forge a ciphertext whose decrypted value is up to the full modulus length (e.g. 256 bytes for RSA-2048), overflowing the 32-byte heap buffer by up to ~224 attacker-controlled bytes pre-authentication, resulting in denial of service.
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 help- Published
- Jul 20, 2026
- Updated
- Jul 28, 2026
- EPSS
- 0.9% · 58th 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
37
Monitor
Low priority for now.
- CVSS
- 37 / 40 · 9.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.9%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · VulnCheck
- 9.3
- 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:N/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.
Affected 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.28.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (VulnCheck). Independent of NVD's CPE analysis and usually ahead of it.
FreeRDP FreeRDP
- 3.28.0not affected
- before 3.28.0affected · semver
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.8 | 2:3.10.3-12.el10_2.8 |
| AlmaLinux:10 | freerdp-devel | before 2:3.10.3-12.el10_2.8 | 2:3.10.3-12.el10_2.8 |
| AlmaLinux:10 | freerdp-libs | before 2:3.10.3-12.el10_2.8 | 2:3.10.3-12.el10_2.8 |
| AlmaLinux:10 | freerdp-server | before 2:3.10.3-12.el10_2.8 | 2:3.10.3-12.el10_2.8 |
| AlmaLinux:10 | libwinpr | before 2:3.10.3-12.el10_2.8 | 2:3.10.3-12.el10_2.8 |
| AlmaLinux:10 | libwinpr-devel | before 2:3.10.3-12.el10_2.8 | 2:3.10.3-12.el10_2.8 |
| Debian:12 | freerdp2 | all versions | — |
| Debian:13 | freerdp3 | all versions | — |
| Debian:14 | freerdp3 | before 3.28.0+dfsg-1 | 3.28.0+dfsg-1 |
| Red Hat:enterprise_linux_eus:10.0 | freerdp | before 2:3.10.3-3.el10_0.11 | 2:3.10.3-3.el10_0.11 |
| Red Hat:enterprise_linux_eus:10.0 | freerdp-debuginfo | before 2:3.10.3-3.el10_0.11 | 2:3.10.3-3.el10_0.11 |
| Red Hat:enterprise_linux_eus:10.0 | freerdp-debugsource | before 2:3.10.3-3.el10_0.11 | 2:3.10.3-3.el10_0.11 |
| Red Hat:enterprise_linux_eus:10.0 | freerdp-devel | before 2:3.10.3-3.el10_0.11 | 2:3.10.3-3.el10_0.11 |
| Red Hat:enterprise_linux_eus:10.0 | freerdp-libs | before 2:3.10.3-3.el10_0.11 | 2:3.10.3-3.el10_0.11 |
| Red Hat:enterprise_linux_eus:10.0 | freerdp-libs-debuginfo | before 2:3.10.3-3.el10_0.11 | 2:3.10.3-3.el10_0.11 |
| Red Hat:enterprise_linux_eus:10.0 | freerdp-server | before 2:3.10.3-3.el10_0.11 | 2:3.10.3-3.el10_0.11 |
| Red Hat:enterprise_linux_eus:10.0 | freerdp-server-debuginfo | before 2:3.10.3-3.el10_0.11 | 2:3.10.3-3.el10_0.11 |
| Red Hat:enterprise_linux_eus:10.0 | libwinpr | before 2:3.10.3-3.el10_0.11 | 2:3.10.3-3.el10_0.11 |
| Red Hat:enterprise_linux_eus:10.0 | libwinpr-debuginfo | before 2:3.10.3-3.el10_0.11 | 2:3.10.3-3.el10_0.11 |
| Red Hat:enterprise_linux_eus:10.0 | libwinpr-devel | before 2:3.10.3-3.el10_0.11 | 2:3.10.3-3.el10_0.11 |
| Red Hat:enterprise_linux:10.2 | freerdp | before 2:3.10.3-12.el10_2.8 | 2:3.10.3-12.el10_2.8 |
| Red Hat:enterprise_linux:10.2 | freerdp-debuginfo | before 2:3.10.3-12.el10_2.8 | 2:3.10.3-12.el10_2.8 |
| Red Hat:enterprise_linux:10.2 | freerdp-debugsource | before 2:3.10.3-12.el10_2.8 | 2:3.10.3-12.el10_2.8 |
| Red Hat:enterprise_linux:10.2 | freerdp-devel | before 2:3.10.3-12.el10_2.8 | 2:3.10.3-12.el10_2.8 |
+8
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.28.0 | Vendor (CNA) |
| almalinux:freerdp | 2:3.10.3-12.el10_2.8 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:freerdp-devel | 2:3.10.3-12.el10_2.8 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:freerdp-libs | 2:3.10.3-12.el10_2.8 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:freerdp-server | 2:3.10.3-12.el10_2.8 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libwinpr | 2:3.10.3-12.el10_2.8 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:libwinpr-devel | 2:3.10.3-12.el10_2.8 · AlmaLinux:10 | Package registry (OSV) |
| debian:freerdp3 | 3.28.0+dfsg-1 · Debian:14 | Package registry (OSV) |
| red hat:freerdp | 2:3.10.3-12.el10_2.8 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:freerdp-debuginfo | 2:3.10.3-12.el10_2.8 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:freerdp-debugsource | 2:3.10.3-12.el10_2.8 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:freerdp-devel | 2:3.10.3-12.el10_2.8 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:freerdp-libs | 2:3.10.3-12.el10_2.8 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:freerdp-libs-debuginfo | 2:3.10.3-12.el10_2.8 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:freerdp-server | 2:3.10.3-12.el10_2.8 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:freerdp-server-debuginfo | 2:3.10.3-12.el10_2.8 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:libwinpr | 2:3.10.3-12.el10_2.8 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:libwinpr-debuginfo | 2:3.10.3-12.el10_2.8 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| red hat:libwinpr-devel | 2:3.10.3-12.el10_2.8 · Red Hat:enterprise_linux:10.2 | Package registry (OSV) |
| rocky linux:freerdp | 2:3.10.3-12.el10_2.8 · Rocky Linux:10 | 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.
- DavidKorczynskireporter
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-31883129 days apartFreeRDP has a `size_t` underflow in ADPCM decoder leads to heap-buffer-overflow write39Monitor
- CVE-2026-6730512 days apartFreeRDP Windows Client before 3.29.0 Heap Buffer Overflow via Cliprdr37Monitor
- CVE-2026-31806129 days apartFreeRDP has a Heap Buffer Overflow in nsc_process_message() via Unchecked SURFACE_BITS_COMMAND Bitmap Dimensions37Monitor
- CVE-2026-4442052 days apartFreeRDP cliprdr server heap-buffer-overflow via undersized capabilitySetLength in CB_CLIP_CAPS35Monitor
- CVE-2026-4442152 days apartFreeRDP RDPGFX CacheToSurface heap-buffer-overflow via clamped-rectangle validation bypass35Monitor
- CVE-2026-5715610 days apartFreeRDP: Integer overflow leading to heap buffer overflow in Orders Delta Points parsing34Monitor
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 user action 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
- None
- Scope
- X
Weakness class (CWE)
CWE-122 · Heap-based Buffer OverflowCVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/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/1f7a716d39b5605bb8a83b0c3c97a6ce386609ef
- www.vulncheck.com/advisories/freerdp-before-heap-buffer-overflow-via-crypto-rsa-common
Vendor advisories and official records. Exploit/PoC links are deliberately left out.