ubuntu-cve-2023-40576 Withdrawn 2025-07-18
Vulnerability from osv_ubuntu
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an Out-Of-Bounds Read in the RleDecompress function. This Out-Of-Bounds Read occurs because FreeRDP processes the pbSrcBuffer variable without checking if it contains data of sufficient length. Insufficient data in the pbSrcBuffer variable may cause errors or crashes. This issue has been addressed in version 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "freerdp2-dev",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
},
{
"binary_name": "freerdp2-shadow-x11",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
},
{
"binary_name": "freerdp2-wayland",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
},
{
"binary_name": "freerdp2-x11",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
},
{
"binary_name": "libfreerdp-client2-2",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
},
{
"binary_name": "libfreerdp-server2-2",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
},
{
"binary_name": "libfreerdp-shadow-subsystem2-2",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
},
{
"binary_name": "libfreerdp-shadow2-2",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
},
{
"binary_name": "libfreerdp2-2",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
},
{
"binary_name": "libuwac0-0",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
},
{
"binary_name": "libuwac0-dev",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
},
{
"binary_name": "libwinpr-tools2-2",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
},
{
"binary_name": "libwinpr2-2",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
},
{
"binary_name": "libwinpr2-dev",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
},
{
"binary_name": "winpr-utils",
"binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "freerdp2",
"purl": "pkg:deb/ubuntu/freerdp2@2.2.0+dfsg1-0ubuntu0.20.04.4?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.0+dfsg1-0ubuntu0.20.04.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.0~git20190204.1.2693389a+dfsg1-1",
"2.0.0~git20190204.1.2693389a+dfsg1-2",
"2.0.0~git20190204.1.2693389a+dfsg1-2build1",
"2.0.0~git20190204.1.2693389a+dfsg1-2build2",
"2.1.1+dfsg1-0ubuntu0.20.04.1",
"2.2.0+dfsg1-0ubuntu0.20.04.1",
"2.2.0+dfsg1-0ubuntu0.20.04.2",
"2.2.0+dfsg1-0ubuntu0.20.04.3"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "freerdp2-dev",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "freerdp2-shadow-x11",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "freerdp2-shadow-x11-dbgsym",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "freerdp2-wayland",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "freerdp2-wayland-dbgsym",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "freerdp2-x11",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "freerdp2-x11-dbgsym",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libfreerdp-client2-2",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libfreerdp-client2-2-dbgsym",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libfreerdp-server2-2",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libfreerdp-server2-2-dbgsym",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libfreerdp-shadow-subsystem2-2",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libfreerdp-shadow-subsystem2-2-dbgsym",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libfreerdp-shadow2-2",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libfreerdp-shadow2-2-dbgsym",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libfreerdp2-2",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libfreerdp2-2-dbgsym",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libuwac0-0",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libuwac0-0-dbgsym",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libuwac0-dev",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libwinpr-tools2-2",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libwinpr-tools2-2-dbgsym",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libwinpr2-2",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libwinpr2-2-dbgsym",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "libwinpr2-dev",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "winpr-utils",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
},
{
"binary_name": "winpr-utils-dbgsym",
"binary_version": "2.6.1+dfsg1-3ubuntu2.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "freerdp2",
"purl": "pkg:deb/ubuntu/freerdp2@2.6.1+dfsg1-3ubuntu2.3?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.1+dfsg1-3ubuntu2.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.3.0+dfsg1-2build1",
"2.3.0+dfsg1-2ubuntu1",
"2.3.0+dfsg1-2ubuntu2",
"2.4.1+dfsg1-1",
"2.4.1+dfsg1-1ubuntu1",
"2.4.1+dfsg1-1ubuntu2",
"2.5.0+dfsg1-1",
"2.6.0+dfsg1-1",
"2.6.1+dfsg1-1",
"2.6.1+dfsg1-3",
"2.6.1+dfsg1-3ubuntu1",
"2.6.1+dfsg1-3ubuntu2",
"2.6.1+dfsg1-3ubuntu2.1",
"2.6.1+dfsg1-3ubuntu2.2"
]
}
],
"aliases": [],
"details": "FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an Out-Of-Bounds Read in the `RleDecompress` function. This Out-Of-Bounds Read occurs because FreeRDP processes the `pbSrcBuffer` variable without checking if it contains data of sufficient length. Insufficient data in the `pbSrcBuffer` variable may cause errors or crashes. This issue has been addressed in version 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.",
"id": "UBUNTU-CVE-2023-40576",
"modified": "2025-07-16T05:09:37Z",
"published": "2023-08-31T22:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-40576"
},
{
"type": "REPORT",
"url": "https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-x3x5-r7jm-5pq2"
},
{
"type": "REPORT",
"url": "https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/codec/include/bitmap.c#L94-L113"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-40576"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-40576"
],
"withdrawn": "2025-07-18T16:54:37Z"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.