{"schemaVersion":3,"id":"CVE-2025-68118","aliases":["UBUNTU-CVE-2025-68118","CGA-9p92-72pp-7cvr","CGA-cg94-4wwp-c957","CGA-cwc4-645x-mrf2","CGA-ff2j-f4v2-83wx"],"status":"published","duplicateOf":null,"title":null,"description":"FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.20.0, a vulnerability exists in FreeRDP’s certificate handling code on Windows platforms. The function `freerdp_certificate_data_hash_ uses` the Microsoft-specific `_snprintf` function to format certificate cache filenames without guaranteeing NUL termination when truncation occurs. According to Microsoft documentation, `_snprintf` does not append a terminating NUL byte if the formatted output exceeds the destination buffer size. If an attacker controls the hostname value (for example via server redirection or a crafted .rdp file), the resulting filename buffer may not be NUL-terminated. Subsequent string operations performed on this buffer may read beyond the allocated memory region, resulting in a heap-based out-of-bounds read. In default configurations, the connection is typically terminated before sensitive data can be meaningfully exposed, but unintended memory read or a client crash may still occur under certain conditions. Version 3.20.0 has a patch for the issue.","dates":{"published":"2025-12-17T22:01:14.722Z","modified":"2025-12-18T15:07:39.063Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"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:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.6,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.6,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/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.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00244,"percentile":0.14761,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00244},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00244,"percentile":0.14761}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00244,"percentile":0.14761}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"chainguard","product":"freerdp-dev","name":"freerdp-dev","label":"freerdp-dev","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/freerdp-dev","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"freerdp-libs","name":"freerdp-libs","label":"freerdp-libs","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/freerdp-libs","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"freerdp-dev","name":"freerdp-dev","label":"freerdp-dev","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/freerdp-dev","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"freerdp-libs","name":"freerdp-libs","label":"freerdp-libs","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/freerdp-libs","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","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":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"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.20.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.20.0","eol":null,"hubHref":"/vendor/freerdp/freerdp"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-h78c-5cjx-jw6x","label":"github.com/FreeRDP/FreeRDP/security/advisories/GHSA-h78c-5cjx-jw6x","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Advisory","Vendor Advisory"]},{"url":"https://github.com/FreeRDP/FreeRDP/commit/a0b21f992a9de1de2468fc9e600aa2b7a4066307","label":"github.com/FreeRDP/FreeRDP/commit/a0b21f992a9de1de2468fc9e600aa2b7a4066307","hostname":"github.com","tags":["X Refsource MISC","REPORT","FIX","Patch"]},{"url":"https://ubuntu.com/security/CVE-2025-68118","label":"ubuntu.com/security/CVE-2025-68118","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-68118","label":"www.cve.org/CVERecord?id=CVE-2025-68118","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68118.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68118.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68118","label":"nvd.nist.gov/vuln/detail/CVE-2025-68118","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-8RCX-F63X-GVP6"]},"timeline":[{"kind":"published","date":"2025-12-17T22:01:14.722Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-12-18T15:07:39.063Z","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-21T14:29:54.243Z","stale":false,"partial":false}}