# CVE-2026-22858: FreeRDP has a global-buffer-overflow in crypto_base64_decode

- Severity: Medium 5.6 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:P`
- 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.70%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-14T17:56:29.729Z
- Modified: 2026-08-19T12:05:00.911Z
- Weaknesses: CWE-125, CWE-758, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- FreeRDP FreeRDP: < 3.20.1; before 3.20.1
- freerdp: no versions given (not affected: from 2:3.10.3-12.el10_2.2 before *; from 2:3.10.3-5.el10_1.2 before *; from 2:3.10.3-3.el10_0.2 before *; from 0:2.1.1-5.el7_9.2 before *; from 2:2.11.7-3.el8_10 before *; from 2:2.0.0-46.rc4.el8_2.7 before *; from 2:2.2.0-8.el8_4 before *; from 2:2.2.0-7.el8_6.2 before *; from 2:2.2.0-12.el8_8.2 before *; from 2:2.11.7-1.el9_7.2 before *; from 2:2.4.1-3.el9_0.1 before *; from 2:2.4.1-6.el9_2.3 before *)

## Every score

- GitHub_M: CVSS:4.0 5.6 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:P`
- redhat-SADP: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`

## References

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

## Sources

- CVE List: [CVE-2026-22858](https://www.cve.org/CVERecord?id=CVE-2026-22858), CVE Terms of Use, modified 2026-08-19
- NVD: [CVE-2026-22858](https://nvd.nist.gov/vuln/detail/CVE-2026-22858), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-22858 · Whole record: https://cve.day/CVE-2026-22858.json · Rebuilt by cve.day 2026-11-25T22:59:12.835Z
