UBUNTU-CVE-2023-40574 (CVE-2023-40574)

Vulnerability from osv_ubuntu – Published: 2023-08-31 22:15 – Updated: 2025-07-16 05:09 – Source website
Withdrawn 2025-07-18 VLAI
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 Write in the writePixelBGRX function. This issue is likely down to incorrect calculations of the nHeight and srcStep variables. 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 Write in the `writePixelBGRX` function. This issue is likely down to incorrect calculations of the `nHeight` and `srcStep` variables. 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-40574",
  "modified": "2025-07-16T05:09:37Z",
  "published": "2023-08-31T22:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-40574"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-422p-gj6x-93cw"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/primitives/prim_YUV.c#L414-L445"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-40574"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2023-40574"
  ],
  "withdrawn": "2025-07-18T16:54:37Z"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

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.

Loading…

Loading…

Loading…

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.


Loading…