Out of bounds read in zgfx decoder in FreeRDP
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 4 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing a range check for input offset index in ZGFX decoder. A malicious server can trick a FreeRDP based client to read out of bound data and try to decode it. This issue has been addressed in version 2.9.0. There are no known workarounds for this issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| FreeRDP | FreeRDP | before 2.9.0 | 2.9.0 | Patch available | CNA |
- FreeRDP VendorFreeRDP Affected before 2.9.0 Fixed in 2.9.0 Patch available CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:* | before 2.9.0 | Vulnerable | FreeRDP |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* | 37 | Vulnerable | Fedoraproject |
- cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:* Versions before 2.9.0 Vulnerable ·FreeRDP
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject
Remediation
- Fix · CNA FreeRDP (FreeRDP) Fixed in 2.9.0
Red Hat 2 advisories
- RHSA-2023:2851 Released 2023-05-16 · Red Hat rating Moderatefreerdp security update
- Red Hat Enterprise Linux AppStream (v. 8) freerdp-2:2.2.0-10.el8, freerdp-libs-2:2.2.0-10.el8, libwinpr-2:2.2.0-10.el8 +1
- Red Hat Enterprise Linux CRB (v. 8) freerdp-devel-2:2.2.0-10.el8
- RHSA-2023:2326 Released 2023-05-09 · Red Hat rating Moderatefreerdp security update
- Red Hat Enterprise Linux AppStream (v. 9) freerdp-2:2.4.1-5.el9, freerdp-libs-2:2.4.1-5.el9, libwinpr-2:2.4.1-5.el9
- Red Hat Enterprise Linux CRB (v. 9) freerdp-devel-2:2.4.1-5.el9, libwinpr-devel-2:2.4.1-5.el9
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
FreeRDP — FEDORA-2022-076b1c9978
7 records Highest priority Priority LOW 7 LOW
Other records, highest priority first
- TI-2022-18722 Missing path sanitation with `drive` channel in FreeRDPPriority LOW 28
- TI-2022-18694 Division by zero in urbdrc channel in FreeRDPPriority LOW 28
- TI-2022-18692 Out of bound read in FreeRDPPriority LOW 28
- Advisory ·
FreeRDP — GLSA-202401-16
7 records Highest priority Priority LOW 7 LOW
Other records, highest priority first
- TI-2022-18722 Missing path sanitation with `drive` channel in FreeRDPPriority LOW 28
- TI-2022-18694 Division by zero in urbdrc channel in FreeRDPPriority LOW 28
- TI-2022-18692 Out of bound read in FreeRDPPriority LOW 28
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:2851 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:2326 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2023:2851 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2023:2326 |
Timeline
- 2026-10-02 Threatist record created from CVE-2022-39317
References
More Freerdp vulnerabilities
- TI-2026-85092 Use-after-free in FreeRDP rdpgfx channel close handling CVSS 4.0CRITICAL 9.3
- TI-2026-85091 Out-of-bounds write in FreeRDP proxy via bitmap cache v2 capability CVSS 4.0CRITICAL 9.3
- TI-2026-24435 FreeRDP has a `size_t` underflow in ADPCM decoder leads to heap-buffer-overflow write CVSS 3.1CRITICAL 9.8
- TI-2023-21373 Out-Of-Bounds Write in FreeRDP CVSS 3.1CRITICAL 9.8
- TI-2022-08692 Server side NTLM does not properly check parameters in FreeRDP CVSS 3.1CRITICAL 9.1
- TI-2023-21374 Out-Of-Bounds Read in FreeRDP CVSS 3.1CRITICAL 9.1
Sources
- CVE-2022-39317 · CVE Program
- CVE-2022-39317 · NVD
- FIRST EPSS
- CVE-2022-39317 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences