{"schemaVersion":3,"id":"CVE-2026-29774","aliases":["UBUNTU-CVE-2026-29774","DEBIAN-CVE-2026-29774"],"status":"published","duplicateOf":null,"title":null,"description":"FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.24.0, a client-side heap buffer overflow occurs in the FreeRDP client's AVC420/AVC444 YUV-to-RGB conversion path due to missing horizontal bounds validation of H.264 metablock regionRects coordinates.  In yuv.c, the clamp() function (line 347) only validates top/bottom against the surface/YUV height, but never checks left/right against the surface width. When avc420_yuv_to_rgb (line 67) computes destination and source pointers using rect->left, it performs unchecked pointer arithmetic that can reach far beyond the allocated surface buffer. A malicious server sends a WIRE_TO_SURFACE_PDU_1 with AVC420 codec containing a regionRects entry where left greatly exceeds the surface width (e.g., left=60000 on a 128px surface). The H.264 bitstream decodes successfully, then yuv420_process_work_callback calls avc420_yuv_to_rgb which computes pDstPoint = pDstData + rect->top * nDstStep + rect->left * 4, writing 16-byte SSE vectors 1888+ bytes past the allocated heap region. This vulnerability is fixed in 3.24.0.","dates":{"published":"2026-03-13T17:26:58.208Z","modified":"2026-03-16T17:05:01.346Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","exploitability":10,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","exploitability":10,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00505,"percentile":0.41934,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.182,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00323},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00505,"percentile":0.41934}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00486,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00505,"percentile":0.41934}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_FREERDP_FREERDP","name":"Freerdp","source":"github","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-5wr6-8m8j-3h7f","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"freerdp2","name":"freerdp2","label":"freerdp2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/freerdp2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"freerdp3","name":"freerdp3","label":"freerdp3","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/freerdp3","purlType":"deb","versions":[{"text":"< 3.15.0+dfsg-2.1+deb13u2","noFixRecorded":false,"fixedIn":null},{"text":"< 3.24.0+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.15.0+dfsg-2.1+deb13u2 | < 3.24.0+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"freerdp","name":"freerdp","label":"freerdp","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/freerdp","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"freerdp2","name":"freerdp2","label":"freerdp2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/freerdp2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"freerdp3","name":"freerdp3","label":"freerdp3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/freerdp3","purlType":"deb","versions":[{"text":"< 3.30.0+dfsg-0ubuntu0.24.04.1","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 3.30.0+dfsg-0ubuntu0.24.04.1 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"freerdp","product":"freerdp","name":"freerdp","label":"freerdp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.24.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.24.0","eol":null,"hubHref":"/vendor/freerdp/freerdp"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-5q35-hv9x-7794","label":"github.com/FreeRDP/FreeRDP/security/advisories/GHSA-5q35-hv9x-7794","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Exploit","Patch","Vendor Advisory"]},{"url":"https://github.com/FreeRDP/FreeRDP/commit/6482b7a92fff3959582cef052d1967ad6bde3738","label":"github.com/FreeRDP/FreeRDP/commit/6482b7a92fff3959582cef052d1967ad6bde3738","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch"]},{"url":"https://ubuntu.com/security/CVE-2026-29774","label":"ubuntu.com/security/CVE-2026-29774","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-29774","label":"www.cve.org/CVERecord?id=CVE-2026-29774","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8561-1","label":"ubuntu.com/security/notices/USN-8561-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-29774","label":"security-tracker.debian.org/tracker/CVE-2026-29774","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:10408-1","USN-8561-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10408-1","USN-8561-1"]},"timeline":[{"kind":"published","date":"2026-03-13T17:26:58.208Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-03-16T17:05:01.346Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T05:44:43.090Z","stale":false,"partial":false}}