CVE-2022-39317 json
Out of bounds read in zgfx decoder in FreeRDP
published 2022-11-16 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-41801
- cvss
- 4.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
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.
Patch / fix
- freerdp freerdp 2.9.0
- freerdp2 Debian 12 2.9.0+dfsg1-1
debian advisories DEBIAN-CVE-2022-39317
- freerdp2 Ubuntu 18.04 LTS 2.2.0+dfsg1-0ubuntu0.18.04.4
- freerdp2 Ubuntu 20.04 LTS 2.2.0+dfsg1-0ubuntu0.20.04.4
- freerdp2 Ubuntu 22.04 LTS 2.6.1+dfsg1-3ubuntu2.3
ubuntu advisories UBUNTU-CVE-2022-39317
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- freerdp RHEL 8 2:2.2.0-10.el8
- libwinpr RHEL 8 2:2.2.0-10.el8
- freerdp-libs RHEL 8 2:2.2.0-10.el8
- freerdp RHEL 9 2:2.4.1-5.el9
- libwinpr RHEL 9 2:2.4.1-5.el9
- freerdp-libs RHEL 9 2:2.4.1-5.el9
red hat advisories RHSA-2023:2851RHSA-2023:2326
- freerdp SLE Workstation Extension 12 SP5, SLE Software Development Kit 12 SP5 2.1.2-12.35.1
- freerdp SLE Workstation Extension 15 SP4, SLE Module for Package Hub 15 SP4, openSUSE Leap 15.4 2.4.0-150400.3.18.1
suse advisories SUSE-SU-2023:0400-1SUSE-SU-2023:0399-1
- freerdp AlmaLinux 8 2:2.2.0-10.el8
- libwinpr AlmaLinux 8 2:2.2.0-10.el8
- freerdp-libs AlmaLinux 8 2:2.2.0-10.el8
- freerdp AlmaLinux 9 2:2.4.1-5.el9
- libwinpr AlmaLinux 9 2:2.4.1-5.el9
- freerdp-libs AlmaLinux 9 2:2.4.1-5.el9
almalinux advisories ALSA-2023:2851ALSA-2023:2326
- freerdp Rocky Linux 8 2:2.2.0-10.el8
rocky linux advisories RLSA-2023:2851
- freerdp Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 2.9.0-r0
- freerdp2 Alpine 3.24, Alpine 3.23, Alpine 3.22 2.9.0-r0
alpine advisories ALPINE-CVE-2022-39317
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-39317 updated cvss 3.7
freerdp: undefined behaviour in zgfx decoder
-
Red Hat Enterprise Linux 6 freerdp, freerdp-libs, freerdp-plugins Red Hat Enterprise Linux 7 freerdp, libwinpr, freerdp-libs, freerdp-pluginsaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) freerdp 2.2.0-10.el8, libwinpr 2.2.0-10.el8, freerdp-libs 2.2.0-10.el8fixed: vendor fix RHSA-2023:2851
-
Red Hat Enterprise Linux AppStream (v. 9) freerdp 2.4.1-5.el9, libwinpr 2.4.1-5.el9, freerdp-libs 2.4.1-5.el9fixed: vendor fix RHSA-2023:2326
-
Red Hat Enterprise Linux CRB (v. 8) freerdp-devel 2.2.0-10.el8, freerdp-debuginfo 2.2.0-10.el8, libwinpr-debuginfo 2.2.0-10.el8, freerdp-debugsource 2.2.0-10.el8, freerdp-libs-debuginfo 2.2.0-10.el8fixed: vendor fix RHSA-2023:2851
-
Red Hat Enterprise Linux CRB (v. 9) freerdp-devel 2.4.1-5.el9, libwinpr-devel 2.4.1-5.el9, freerdp-debuginfo 2.4.1-5.el9, libwinpr-debuginfo 2.4.1-5.el9, freerdp-debugsource 2.4.1-5.el9, freerdp-libs-debuginfo 2.4.1-5.el9fixed: vendor fix RHSA-2023:2326
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.69% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.6 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L |
Affected products
- FreeRDP FreeRDP
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UDOTAOJBCZKREZJPT6VZ25GESI5T6RBG/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/YGQN3OWQNHSMWKOF4D35PF5ASKNLC74B/
vendor-advisory
-
security.gentoo.org
/glsa/202401-16
vendor-advisory
-
github.com
/FreeRDP/FreeRDP/security/advisories/GHSA-99cm-4gw7-c8jh
third-party-advisory
Sources
- CVE List CVE-2022-39317
- NVD CVE-2022-39317
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.