CVE-2023-40181
published medium CVSS 3.1 · 5.3Integer-Underflow leading to Out-Of-Bound Read 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 Integer-Underflow leading to Out-Of-Bound Read in the `zgfx_decompress_segment` function. In the context of `CopyMemory`, it's possible to read data beyond the transmitted packet range and likely cause a crash. 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
- 5.3 / 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:N/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-125 CWE-125: Out-of-bounds Read
- CWE-191 CWE-191: Integer Underflow (Wrap or Wraparound)
References
9- https://github.com/FreeRDP/FreeRDP/blob/2252d53001d9ce8a452f0a0a5b1f5ed9db6d57f1/libfreerdp/codec/zgfx.c#L256-L261
- https://github.com/FreeRDP/FreeRDP/blob/2252d53001d9ce8a452f0a0a5b1f5ed9db6d57f1/libfreerdp/codec/zgfx.c#L334-L355
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mxp4-rx7x-h2g8
- 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
Integer-Underflow leading to Out-Of-Bound Read in FreeRDP
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ca0775cd6a89ea72336e07452669750d364ba0c136cdca0a0ad95c4f0ad20c57
- Ingested
- 23 Sep 2026, 08:11:15 UTC
- Source record
- Official CVE record