CVE-2023-40181
No exploitation reported by the sources we read.
- Published2023-08-31
- Fixed in2.11.0
- WeaknessCWE-125 · CWE-191
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2023-08-3122:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.11 | < 2.11.0 | 2.11.0 | NVD |
| 3.0 | = 3.0.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 37.x | = 37 | no fix published | NVD |
| 38.x | = 38 | no fix published | NVD |
| 39.x | = 39 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- freerdpTuxCare:CentOS:7all versions · fixed in 2.1.1-5.el7_9.tuxcare.els1and 4 other packages
- freerdpSUSE:Linux Enterprise Workstation Extension 15 SP5all versions · fixed in 2.4.0-150400.3.23.1
- freerdpSUSE:Linux Enterprise Workstation Extension 15 SP4all versions · fixed in 2.4.0-150400.3.23.1
- freerdpSUSE:Linux Enterprise Workstation Extension 12 SP5all versions · fixed in 2.1.2-12.38.1
- freerdpSUSE:Linux Enterprise Software Development Kit 12 SP5all versions · fixed in 2.1.2-12.38.1
- freerdpSUSE:Linux Enterprise Module for Package Hub 15 SP5all versions · fixed in 2.4.0-150400.3.23.1
- freerdpSUSE:Linux Enterprise Module for Package Hub 15 SP4all versions · fixed in 2.4.0-150400.3.23.1
- freerdpRed Hat:enterprise_linux:9::appstreamall versions · fixed in 2:2.11.2-1.el9and 6 other packages
18 more package ranges on OSV.dev
Vendor advisories
freerdp: integer-Underflow leading to Out-Of-Bound Read in zgfx_decompress_segment
freerdp as a component of Red Hat Enterprise Linux 6 · freerdp-devel as a component of Red Hat Enterprise Linux 6 · freerdp-libs as a component of Red Hat Enterprise Linux 6 · +15 more
Red Hat Security Advisory: freerdp security update
Fix
- Update Freerdp to 2.11.0
- Vendor fix Red Hat Product Security RHSA-2024:2208 · 65 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- No fix available, says the vendor Red Hat Product Security CVE-2023-40181 · 6 productsFix deferred
- No fix planned, says the vendor Red Hat Product Security CVE-2023-40181 · 12 productsOut of support scope
Advisories and patches
- github.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CNACVSS 3.15.3known since 2026-10-23
- NVDCVSS 3.19.1read 2026-10-23
- CNAweakness (CWE)CWE-125, CWE-191known since 2026-10-23
- FIRST EPSSEPSS score1.7 %2026-11-08
- OSVaffected packages—
Identifiers
- EUVD-2023-44781same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- ALSA-2024:2208advisory covering several CVEsAlmaLinux · MIT
- DLA-3606-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-4053-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2023-0318advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2023-1656advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:13504-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2024:2208advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2023:4611-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:4893-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-6401-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Published
- 2023-08-31
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2023-40181?
Is CVE-2023-40181 actively exploited?
What is the CVSS score for CVE-2023-40181?
Running freerdp? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0