# CVE-2022-39317: Out of bounds read in zgfx decoder in FreeRDP

- Severity: Medium 4.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Published: 2022-11-16T00:00:00.000Z
- Modified: 2026-06-17T04:58:07.947Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- FreeRDP FreeRDP: < 2.9.0; before 2.9.0
- fedoraproject fedora: 36; 37

## Every score

- GitHub_M: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L`

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-99cm-4gw7-c8jh> (third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UDOTAOJBCZKREZJPT6VZ25GESI5T6RBG/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YGQN3OWQNHSMWKOF4D35PF5ASKNLC74B/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202401-16> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-39317](https://www.cve.org/CVERecord?id=CVE-2022-39317), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-39317](https://nvd.nist.gov/vuln/detail/CVE-2022-39317), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39317 · Whole record: https://cve.day/CVE-2022-39317.json · Rebuilt by cve.day 2026-11-25T22:58:16.559Z
