CVE-2023-39355

Source
https://cve.org/CVERecord?id=CVE-2023-39355
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-39355.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-39355
Aliases
  • GHSA-hvwj-vmg6-2f5h
Downstream
Published
2023-08-31T19:45:02Z
Modified
2026-10-22T15:54:46Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H CVSS Calculator
Summary
FreeRDP Use-After-Free in RDPGFX_CMDID_RESETGRAPHICS
Details

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Versions of FreeRDP on the 3.x release branch before beta3 are subject to a Use-After-Free in processing RDPGFX_CMDID_RESETGRAPHICS packets. If context->maxPlaneSize is 0, context->planesBuffer will be freed. However, without updating context->planesBuffer, this leads to a Use-After-Free exploit vector. In most environments this should only result in a crash. This issue has been addressed in version 3.0.0-beta3 and users of the beta 3.x releases are advised to upgrade. There are no known workarounds for this vulnerability.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39355.json"
}
References

Affected packages

Git / github.com/freerdp/freerdp

Affected ranges

Type
GIT
Repo
https://github.com/freerdp/freerdp
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "3.0.0-beta1"
                },
                {
                    "fixed": "3.0.0-beta3"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "d6f9d33a7db0b346195b6a15b5b99944ba41beee"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

3.*
3.0.0-beta1
3.0.0-beta2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-39355.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "8326005397468354657744994645114137215",
            "length": 1566
        },
        "id": "CVE-2023-39355-73b9d249",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/freerdp/freerdp/commit/d6f9d33a7db0b346195b6a15b5b99944ba41beee",
        "target": {
            "file": "libfreerdp/codec/planar.c",
            "function": "freerdp_bitmap_planar_context_reset"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "88329874706966125854549930492169399694",
            "length": 7287
        },
        "id": "CVE-2023-39355-d732cb3e",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/freerdp/freerdp/commit/d6f9d33a7db0b346195b6a15b5b99944ba41beee",
        "target": {
            "file": "libfreerdp/codec/planar.c",
            "function": "planar_decompress"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "194926003039830719533436365746818489476",
                "62355571802881454012467124654191535344",
                "212957162387454209643961518346275856678",
                "253896774820634812098220497064658463859",
                "17072384889343812471774940415236153208",
                "159814068293776551036909995826028367954",
                "186884143635836416720149150784197357385",
                "53850506407583982337459031169446563065",
                "336768949278781451977457418478639599430",
                "281181492880114234633211490880534146326",
                "8231775332401508225243646921162403061",
                "154162759041484075640124897202390892980",
                "223660674096962521482178309025629087828",
                "338776047022570174670435260705154394080",
                "215762115127731684199496710379772986907",
                "39869948956247679209735938665788638053",
                "155243645165628058139309185102777262695",
                "106308935416299077081110012724044260596",
                "293027317774507806656286465724874022032",
                "71630917944578514948653472936633817712",
                "67089040148777065596118687843534089525",
                "47095725739668815857524208818309984757",
                "144349077763416262564105660586153705400",
                "102653151136886816516301727531565214644",
                "89347826045596513026329716228604275095",
                "155655538147304036978283624775284662225",
                "301960747642467993643089796645682912162",
                "315858214415531309837354037798530753416",
                "253412420883922672794592172673004100587",
                "168298585741381071085371739564983784509",
                "308972224242592697351685004375170409899",
                "150070659790146153804104715015444191125",
                "15476164313691114992361886659938769592",
                "249997356844339560418851415341271055261",
                "265752488664628217629751710394723818320",
                "110938461617072343327140990812579895665"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2023-39355-f4ad70d0",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/freerdp/freerdp/commit/d6f9d33a7db0b346195b6a15b5b99944ba41beee",
        "target": {
            "file": "libfreerdp/codec/planar.c"
        }
    }
]
vanir_signatures_modified
"2026-10-22T15:54:46Z"