# CVE-2026-22858: FreeRDP has a global-buffer-overflow in crypto\_base64\_decode

- Priority: **Routine**
- Reason: Not severe (CVSS 5.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-01-14 · Modified: 2026-08-19
- Aliases: UBUNTU-CVE-2026-22858, DEBIAN-CVE-2026-22858, CGA-45vr-7x36-wwf2, CGA-q7c9-6qc6-gcw3, CGA-rv36-8gwg-xmf4, CGA-x6xw-hqh4-7crf, ALPINE-CVE-2026-22858
- Record: https://cvemate.com/vulnerability/CVE-2026-22858 · JSON: https://cvemate.com/vulnerability/CVE-2026-22858/json

## Description

```text
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.20.1, global-buffer-overflow was observed in FreeRDP's Base64 decoding path. The root cause appears to be implementation-defined char signedness: on Arm/AArch64 builds, plain char is treated as unsigned, so the guard c <= 0 can be optimized into a simple c != 0 check. As a result, non-ASCII bytes (e.g., 0x80-0xFF) may bypass the intended range restriction and be used as an index into a global lookup table, causing out-of-bounds access. This vulnerability is fixed in 3.20.1.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- EPSS: 0.703%, percentile 54.697%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine freerdp (Alpine Linux): \< 3.22.0-r0
- chainguard freerdp-dev (Chainguard): All versions (No fix recorded)
- chainguard freerdp-libs (Chainguard): All versions (No fix recorded)
- wolfi freerdp-dev (Wolfi): All versions (No fix recorded)
- wolfi freerdp-libs (Wolfi): All versions (No fix recorded)
- debian freerdp2 (Debian): All versions (No fix recorded)
- debian freerdp3 (Debian): \< 3.15.0+dfsg-2.1+deb13u1 \| \< 3.20.2+dfsg-1
- ubuntu freerdp (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp2 (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp3 (Ubuntu): \< 3.5.1+dfsg1-0ubuntu1.4 \| \< 3.16.0+dfsg-2ubuntu0.3 \| \< 3.20.2+dfsg-1
- freerdp freerdp: \< 3.20.1

## References (first 20 of 26)

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-qmqf-m84q-x896>
- <https://github.com/FreeRDP/FreeRDP/releases/tag/3.20.1>
- <https://access.redhat.com/security/cve/CVE-2026-22858>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2429649>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22858.json>
- <https://access.redhat.com/errata/RHSA-2026:4471>
- <https://access.redhat.com/errata/RHSA-2026:4121>
- <https://access.redhat.com/errata/RHSA-2026:3068>
- <https://access.redhat.com/errata/RHSA-2026:19033>
- <https://access.redhat.com/errata/RHSA-2026:3334>
- <https://access.redhat.com/errata/RHSA-2026:4433>
- <https://access.redhat.com/errata/RHSA-2026:4439>
- <https://access.redhat.com/errata/RHSA-2026:4446>
- <https://access.redhat.com/errata/RHSA-2026:4440>
- <https://access.redhat.com/errata/RHSA-2026:4489>
- <https://access.redhat.com/errata/RHSA-2026:4437>
- <https://access.redhat.com/errata/RHSA-2026:4438>
- <https://access.redhat.com/errata/RHSA-2026:3975>
- <https://access.redhat.com/errata/RHSA-2026:3067>
- <https://ubuntu.com/security/CVE-2026-22858>

---

Data as of 2026-12-06T06:55:00.864Z. 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
