{"schemaVersion":3,"id":"CVE-2026-25997","aliases":["UBUNTU-CVE-2026-25997","DEBIAN-CVE-2026-25997"],"status":"published","duplicateOf":null,"title":null,"description":"FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, `xf_clipboard_format_equal` reads freed `lastSentFormats` memory because `xf_clipboard_formats_free` (called from the cliprdr channel thread during auto-reconnect) frees the array while the X11 event thread concurrently iterates it in `xf_clipboard_changed`, triggering a heap use after free. Version 3.23.0 fixes the issue.","dates":{"published":"2026-02-25T20:38:40.483Z","modified":"2026-02-25T21:39:08.071Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.5,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00922,"percentile":0.59717,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.3550000000000001,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00567},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00922,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00922,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00922,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00922,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00922,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00922,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00922,"percentile":0.59717}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00567,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00902,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00922,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00922,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00922,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00922,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00922,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00922,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00922,"percentile":0.59717}]},"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-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.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+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 3.23.0+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.15.0+dfsg-2.1+deb13u1 | < 3.23.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.5.1+dfsg1-0ubuntu1.4","noFixRecorded":false,"fixedIn":null},{"text":"< 3.16.0+dfsg-2ubuntu0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.5.1+dfsg1-0ubuntu1.4 | < 3.16.0+dfsg-2ubuntu0.3","eol":null,"hubHref":null},{"vendor":"freerdp","product":"freerdp","name":"freerdp","label":"freerdp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.23.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.23.0","eol":null,"hubHref":"/vendor/freerdp/freerdp"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-q5j3-m6jf-3jq4","label":"github.com/FreeRDP/FreeRDP/security/advisories/GHSA-q5j3-m6jf-3jq4","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Exploit","Mitigation","Patch","Vendor Advisory"]},{"url":"https://github.com/FreeRDP/FreeRDP/commit/58409406afe7c2a8a71ed2dc8e22075be4f41c0c","label":"github.com/FreeRDP/FreeRDP/commit/58409406afe7c2a8a71ed2dc8e22075be4f41c0c","hostname":"github.com","tags":["X Refsource MISC","Patch"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L1884","label":"github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L1889","label":"github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L265","label":"github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L616","label":"github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L831","label":"github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L851-L855","label":"github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L868-L875","label":"github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch"]},{"url":"https://ubuntu.com/security/CVE-2026-25997","label":"ubuntu.com/security/CVE-2026-25997","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-25997","label":"www.cve.org/CVERecord?id=CVE-2026-25997","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8105-1","label":"ubuntu.com/security/notices/USN-8105-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-25997","label":"security-tracker.debian.org/tracker/CVE-2026-25997","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0383","OPENSUSE-SU-2026:10408-1","OPENSUSE-SU-2026:10611-1","RHSA-2026:16014","RHSA-2026:19142","RHSA-2026:20605","USN-8105-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10408-1","OPENSUSE-SU-2026:10611-1","USN-8105-1"]},"timeline":[{"kind":"published","date":"2026-02-25T20:38:40.483Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-25T21:39:08.071Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T06:34:04.661Z","stale":false,"partial":false}}