CVE-2022-39316 json
Out of bound read in FreeRDP
published 2022-11-16 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-41800
- cvss
- 4.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
FreeRDP is a free remote desktop protocol library and clients. In affected versions there is an out of bound read in ZGFX decoder component of FreeRDP. A malicious server can trick a FreeRDP based client to read out of bound data and try to decode it likely resulting in a crash. This issue has been addressed in the 2.9.0 release. Users are advised to upgrade.
Patch / fix
- freerdp freerdp 2.9.0
- freerdp2 Debian 12 2.9.0+dfsg1-1
debian advisories DEBIAN-CVE-2022-39316
- 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-39316
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
- freerdp2 openSUSE Tumbleweed 2.9.0-1.1
opensuse advisories openSUSE-SU-2024:12523-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-39316
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-39316 updated cvss 4.8
freerdp: out of bounds read 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
Exploit prediction
1.06% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
Affected products
- FreeRDP FreeRDP
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/FreeRDP/FreeRDP/commit/e865c24efc40ebc52e75979c94cdd4ee2c1495b0
patch, third-party-advisory
-
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-5w4j-mrrh-jjrm
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2023/11/msg00010.html
mailing-list
- lists.debian.org /debian-lts-announce/2025/02/msg00016.html
Sources
- CVE List CVE-2022-39316
- NVD CVE-2022-39316
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.