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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-11-16 · Modified: 2025-04-23
- Aliases: UBUNTU-CVE-2022-39317, DEBIAN-CVE-2022-39317, ALPINE-CVE-2022-39317
- Record: https://cvemate.com/vulnerability/CVE-2022-39317 · JSON: https://cvemate.com/vulnerability/CVE-2022-39317/json

## Description

```text
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.
```

## Signals

- CVSS: 4.6 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
- EPSS: 0.827%, percentile 58.758%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine freerdp (Alpine Linux): \< 2.9.0-r0
- alpine freerdp2 (Alpine Linux): \< 2.9.0-r0
- debian freerdp2 (Debian): \< 2.9.0+dfsg1-1
- ubuntu freerdp (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp2 (Ubuntu): \< 2.2.0+dfsg1-0ubuntu0.18.04.4 \| \< 2.2.0+dfsg1-0ubuntu0.20.04.4 \| \< 2.6.1+dfsg1-3ubuntu2.3
- fedoraproject fedora: 36 \| 37
- freerdp freerdp: \< 2.9.0

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-99cm-4gw7-c8jh>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UDOTAOJBCZKREZJPT6VZ25GESI5T6RBG/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YGQN3OWQNHSMWKOF4D35PF5ASKNLC74B/>
- <https://security.gentoo.org/glsa/202401-16>
- <https://ubuntu.com/security/CVE-2022-39317>
- <https://ubuntu.com/security/notices/USN-5734-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-39317>
- <https://security-tracker.debian.org/tracker/CVE-2022-39317>
- <https://security.alpinelinux.org/vuln/CVE-2022-39317>

---

Data as of 2026-12-05T07:09:16.061Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
