CVE-2023-40181
CVE-2023-40181 — Integer-Underflow leading to Out-Of-Bound Read in FreeRDP
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
2%
chance of exploitation in 30 days
CVSS base
5.3
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.3 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-125
- CWE-191
References
9 on the record
- github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mxp4-rx7x-h2g8
x_refsource_CONFIRM
- github.com/FreeRDP/FreeRDP/blob/2252d53001d9ce8a452f0a0a5b1f5ed9db6d57f1/libfreerdp/codec/zgfx.c#L256-L261
x_refsource_MISC
- github.com/FreeRDP/FreeRDP/blob/2252d53001d9ce8a452f0a0a5b1f5ed9db6d57f1/libfreerdp/codec/zgfx.c#L334-L355
x_refsource_MISC
- lists.fedoraproject.org/archives/list/[email protected]/message/OH2ATH2BKDNKCJAU4WPPXK4SHLE3UJUV/
reference
- lists.fedoraproject.org/archives/list/[email protected]/message/A6LLDAPEXRDJOM3PREDDD267SSNT77DP/
reference
- lists.fedoraproject.org/archives/list/[email protected]/message/IHMTGKCZXJPQOR5ZD2I4GPDNP2DKRXMF/
reference
- lists.debian.org/debian-lts-announce/2023/10/msg00008.html
reference
- security.gentoo.org/glsa/202401-16
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2024-32459 FreeRDP Out-Of-Bounds Read in ncrush_decompressCVSS 9.8
- CVE-2026-3055 Insufficient input validation leading to memory overreadCVSS 9.8 · CISA KEV
- CVE-2014-0497 Adobe Flash Player Integer Underflow VulnerablityCVSS 9.8 · CISA KEV
- CVE-2021-31956 Microsoft Windows NTFS Privilege Escalation VulnerabilityCVSS 9.3 · CISA KEV
- CVE-2026-11645 Google Chromium V8 Out-of-Bounds Read and Write VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2025-5419 Google Chromium V8 Out-of-Bounds Read and Write VulnerabilityCVSS 8.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.