Skip to content
Heist/ feed
Back to feed
Medium

Invalid offset validation leading to Out Of Bound Write in FreeRDP

Type: advisorySources: OSV

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an invalid offset validation leading to Out Of Bound Write. This can be triggered when the values `rect->left` and `rect->top` are exactly equal to `surface->width` and `surface->height`. eg. `rect->left` == `surface->width` && `rect->top` == `surface->height`. In practice this should 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 vulnerability.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-39352
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 02:09 UTC · Revision 1

Source evidence

Invalid offset validation leading to Out Of Bound Write in FreeRDP

core-osv · Original source

Published 31 Aug 2023, 20:46 UTC

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an invalid offset validation leading to Out Of Bound Write. This can be triggered when the values `rect->left` and `rect->top` are exactly equal to `surface->width` and `surface->height`. eg. `rect->left` == `surface->width` && `rect->top` == `surface->height`. In practice this should 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 vulnerability.

osv:CVE-2023-39352
Complete source record
{
  "id": "6fbe1c14805930b9e7fe93081f78b052d35df59d34175052a3e6da41155bf170",
  "url": "https://osv.dev/vulnerability/CVE-2023-39352",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Invalid offset validation leading to Out Of Bound Write in FreeRDP",
    "summary": "FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an invalid offset validation leading to Out Of Bound Write. This can be triggered when the values `rect->left` and `rect->top` are exactly equal to `surface->width` and `surface->height`. eg. `rect->left` == `surface->width` && `rect->top` == `surface->height`. In practice this should 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 vulnerability.",
    "evidence": "osv:CVE-2023-39352",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-39352",
      "aliases": [
        "CVE-2023-39352",
        "GHSA-whwr-qcf2-2mvj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/freerdp/freerdp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1384b3c33b9bd7599633cc54bf20cf20ec6be83c"
                },
                {
                  "introduced": "f468a06d88c55b9ed484757326a9528cf27d33f4"
                },
                {
                  "last_affected": "d3e428c51fab65cb87901835d4d671d1d02d16d9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.11.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:freerdp:freerdp:3.0.0:beta1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0-beta1"
                      },
                      {
                        "last_affected": "3.0.0-beta1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:freerdp:freerdp:3.0.0:beta2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0-beta2"
                      },
                      {
                        "last_affected": "3.0.0-beta2"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.0.0-beta1",
            "3.0.0-beta2",
            "2.10.0",
            "2.9.0",
            "2.8.1",
            "2.8.0",
            "2.7.0",
            "2.6.1",
            "2.6.0",
            "2.5.0",
            "2.4.1",
            "2.3.2",
            "2.3.1",
            "2.3.0",
            "2.2.0",
            "2.1.2",
            "2.1.1",
            "2.1.0",
            "2.0.0",
            "2.0.0-rc4",
            "2.0.0-rc3",
            "2.0.0-rc2",
            "2.0.0-rc1",
            "2.0.0-rc0",
            "2.0.0-beta1+android11",
            "2.0.0-beta1+android10",
            "1.2.0-beta1+android9",
            "1.2.0-beta1+android7",
            "1.1.0-beta+2013071101",
            "1.1.0-beta1+ios4",
            "1.1.0-beta1+android5",
            "1.1.0-beta1+android4",
            "1.1.0-beta1+ios3",
            "1.1.0-beta1+ios2",
            "1.1.0-beta1+android3",
            "1.1.0-beta1+android2",
            "1.1.0-beta1+ios1",
            "1.1.0-beta1",
            "1.0.1",
            "1.0.0",
            "1.0-beta5",
            "1.0-beta4",
            "1.0-beta2",
            "1.0-beta1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-39352.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.722569551Z",
      "provider": "osv",
      "references": [
        "https://github.com/FreeRDP/FreeRDP/blob/63a2f65618748c12f79ff7450d46c6e194f2db76/libfreerdp/gdi/gfx.c#L1219-L1239",
        "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/package-announce@lists.fedoraproject.org/message/A6LLDAPEXRDJOM3PREDDD267SSNT77DP/",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IHMTGKCZXJPQOR5ZD2I4GPDNP2DKRXMF/",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OH2ATH2BKDNKCJAU4WPPXK4SHLE3UJUV/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39352.json",
        "https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-whwr-qcf2-2mvj",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-39352",
        "https://security.gentoo.org/glsa/202401-16"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-787"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39352.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-39352",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509391,
  "published_at": "2023-08-31T20:46:31.858+00:00"
}