CVE-2023-40186
published medium CVSS 3.1 · 6.5IntegerOverflow leading to Out-Of-Bound Write Vulnerability in FreeRDP
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeRDP | — | FreeRDP< 2.11.0 · >= 3.0.0-beta1, < 3.0.0-beta3 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2269 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | freerdp | Advisory build | 2:2.11.2-1.el9 | ALSA-2024:2208 |
| Debian | bullseye | freerdp2 | Advisory build | 2.3.0+dfsg1-2+deb11u2 | DLA-4053-1 |
| Oracle Linux | 9 | freerdpaarch64 | Advisory build | 2:2.11.2-1.el9 | ELSA-2024-2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdpaarch64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| SUSE / openSUSE | SLE-12-SP5 | freerdpx86_64 | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| AlmaLinux | 9 | freerdp-devel | Advisory build | 2:2.11.2-1.el9 | ALSA-2024:2208 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | freerdp-libs | Advisory build | 2:2.11.2-1.el9 | ALSA-2024:2208 |
| AlmaLinux | 9 | libwinpr | Advisory build | 2:2.11.2-1.el9 | ALSA-2024:2208 |
| AlmaLinux | 9 | libwinpr-devel | Advisory build | 2:2.11.2-1.el9 | ALSA-2024:2208 |
| Debian | buster | freerdp2 | Advisory build | 2.3.0+dfsg1-2+deb10u3 | DLA-3606-1 |
| Oracle Linux | 9 | freerdpx86_64 | Advisory build | 2:2.11.2-1.el9 | ELSA-2024-2208 |
| Oracle Linux | 9 | freerdp-develaarch64 | Advisory build | 2:2.11.2-1.el9 | ELSA-2024-2208 |
| Oracle Linux | 9 | freerdp-develx86_64 | Advisory build | 2:2.11.2-1.el9 | ELSA-2024-2208 |
| Oracle Linux | 9 | freerdp-libsaarch64 | Advisory build | 2:2.11.2-1.el9 | ELSA-2024-2208 |
| Oracle Linux | 9 | freerdp-libsx86_64 | Advisory build | 2:2.11.2-1.el9 | ELSA-2024-2208 |
| Oracle Linux | 9 | libwinpraarch64 | Advisory build | 2:2.11.2-1.el9 | ELSA-2024-2208 |
| Oracle Linux | 9 | libwinprx86_64 | Advisory build | 2:2.11.2-1.el9 | ELSA-2024-2208 |
| Oracle Linux | 9 | libwinpr-develaarch64 | Advisory build | 2:2.11.2-1.el9 | ELSA-2024-2208 |
| Oracle Linux | 9 | libwinpr-develx86_64 | Advisory build | 2:2.11.2-1.el9 | ELSA-2024-2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdpppc64le | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdps390x | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdpsrc | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdpx86_64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-debuginfoaarch64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-debuginfoi686 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-debuginfoppc64le | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-debuginfos390x | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-debuginfox86_64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-debugsourceaarch64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-debugsourcei686 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-debugsourceppc64le | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-debugsources390x | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-debugsourcex86_64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-develaarch64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-develi686 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-develppc64le | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-devels390x | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-develx86_64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-libsaarch64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-libsi686 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-libsppc64le | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-libss390x | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-libsx86_64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-libs-debuginfoaarch64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-libs-debuginfoi686 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-libs-debuginfoppc64le | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-libs-debuginfos390x | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | freerdp-libs-debuginfox86_64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinpraarch64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinpri686 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinprppc64le | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinprs390x | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinprx86_64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinpr-debuginfoaarch64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinpr-debuginfoi686 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinpr-debuginfoppc64le | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinpr-debuginfos390x | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinpr-debuginfox86_64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinpr-develaarch64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinpr-develi686 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinpr-develppc64le | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinpr-devels390x | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| Red Hat Enterprise Linux | RHEL-9 | libwinpr-develx86_64 | Advisory build | 2:2.11.2-1.el9 | RHSA-2024:2208 |
| SUSE / openSUSE | SLE-12-SP5 | freerdp-develaarch64 | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | freerdp-develppc64le | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | freerdp-devels390x | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | freerdp-develx86_64 | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | freerdp-proxyx86_64 | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | freerdp-serverx86_64 | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | libfreerdp2aarch64 | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | libfreerdp2ppc64le | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | libfreerdp2s390x | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | libfreerdp2x86_64 | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | libwinpr2aarch64 | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | libwinpr2ppc64le | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | libwinpr2s390x | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | libwinpr2x86_64 | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | winpr2-develaarch64 | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | winpr2-develppc64le | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | winpr2-devels390x | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-12-SP5 | winpr2-develx86_64 | Advisory build | 2.1.2-12.38.1 | SUSE-SU-2023:4611-1 |
| SUSE / openSUSE | SLE-15-SP4 | freerdpaarch64 | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | freerdpppc64le | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | freerdps390x | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | freerdpx86_64 | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | freerdp-develaarch64 | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | freerdp-develppc64le | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | freerdp-devels390x | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | freerdp-develx86_64 | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | freerdp-proxyaarch64 | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | freerdp-proxyppc64le | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | freerdp-proxys390x | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | freerdp-proxyx86_64 | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | libfreerdp2aarch64 | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | libfreerdp2ppc64le | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | libfreerdp2s390x | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | libfreerdp2x86_64 | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | libwinpr2aarch64 | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | libwinpr2ppc64le | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
| SUSE / openSUSE | SLE-15-SP4 | libwinpr2s390x | Advisory build | 2.4.0-150400.3.23.1 | SUSE-SU-2023:4893-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an IntegerOverflow leading to Out-Of-Bound Write Vulnerability in the `gdi_CreateSurface` function. This issue affects FreeRDP based clients only. FreeRDP proxies are not affected as image decoding is not done by a proxy. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeRDP | FreeRDP | < 2.11.0 (affected)>= 3.0.0-beta1, < 3.0.0-beta3 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-787 CWE-787: Out-of-bounds Write
- CWE-190 CWE-190: Integer Overflow or Wraparound
References
8- https://github.com/FreeRDP/FreeRDP/blob/fee2b10ba1154f952769a53eb608f044782e22f8/libfreerdp/gdi/gfx.c#L1156-L1165
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-hcj4-3c3r-5j3v
- https://lists.debian.org/debian-lts-announce/2023/10/msg00008.html
- https://lists.debian.org/debian-lts-announce/2025/02/msg00016.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/A6LLDAPEXRDJOM3PREDDD267SSNT77DP/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IHMTGKCZXJPQOR5ZD2I4GPDNP2DKRXMF/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/OH2ATH2BKDNKCJAU4WPPXK4SHLE3UJUV/
- https://security.gentoo.org/glsa/202401-16
Provider assertions
2GitHub_M · cna
IntegerOverflow leading to Out-Of-Bound Write Vulnerability in FreeRDP
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5dc52d6556190aa9768866df83521899663dfcace7a5561e87638c3f49b4b127
- Ingested
- 23 Sep 2026, 08:11:15 UTC
- Source record
- Official CVE record