{"schemaVersion":3,"id":"CVE-2018-20177","aliases":["ALPINE-CVE-2018-20177","UBUNTU-CVE-2018-20177","DEBIAN-CVE-2018-20177"],"status":"published","duplicateOf":null,"title":null,"description":"rdesktop versions up to and including v1.8.3 contain an Integer Overflow that leads to a Heap-Based Buffer Overflow in the function rdp_in_unistr() and results in memory corruption and possibly even a remote code execution.","dates":{"published":"2019-03-15T18:00:00.000Z","modified":"2024-08-05T11:58:18.260Z","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":"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},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","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 · 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}]},"epss":{"probability":0.07934,"percentile":0.94685,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.07934},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.07934,"percentile":0.94685}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.07934,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.07934,"percentile":0.94685}]},"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":"REF_6BF96B1AD98E52C3","name":"Exploit Reference (research.checkpoint.com)","source":"reference","url":"https://research.checkpoint.com/reverse-rdp-attack-code-execution-on-rdp-clients/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"},{"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":"alpine","product":"rdesktop","name":"rdesktop","label":"rdesktop","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/rdesktop","purlType":"apk","versions":[{"text":"< 1.8.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.6-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"rdesktop","name":"rdesktop","label":"rdesktop","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rdesktop","purlType":"deb","versions":[{"text":"< 1.8.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.4-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rdesktop","name":"rdesktop","label":"rdesktop","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rdesktop","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"opensuse","product":"backports","name":"backports","label":"backports","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"sle-15:sp1","noFixRecorded":false,"fixedIn":null}],"versionsText":"sle-15:sp1","eol":null,"hubHref":"/vendor/opensuse/backports"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.1","eol":{"isEol":true,"eolDate":"2021-02-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.1","label":"Leap 15.1","eolFrom":"2021-02-02T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"},{"vendor":"rdesktop","product":"rdesktop","name":"rdesktop","label":"rdesktop","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.8.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.8.3","eol":null,"hubHref":"/vendor/rdesktop/rdesktop"}],"affectedCount":7,"eol":{"hasEol":true,"count":2},"references":[{"url":"http://www.securityfocus.com/bid/106938","label":"www.securityfocus.com/bid/106938","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Broken Link","Third Party Advisory"]},{"url":"https://github.com/rdesktop/rdesktop/commit/4dca546d04321a610c1835010b5dad85163b65e1","label":"github.com/rdesktop/rdesktop/commit/4dca546d04321a610c1835010b5dad85163b65e1","hostname":"github.com","tags":["X Refsource MISC","Patch"]},{"url":"https://security.gentoo.org/glsa/201903-06","label":"security.gentoo.org/glsa/201903-06","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://research.checkpoint.com/reverse-rdp-attack-code-execution-on-rdp-clients/","label":"research.checkpoint.com/reverse-rdp-attack-code-execution-on-rdp-clients/","hostname":"research.checkpoint.com","tags":["X Refsource CONFIRM","Exploit","Third Party Advisory"]},{"url":"https://www.debian.org/security/2019/dsa-4394","label":"www.debian.org/security/2019/dsa-4394","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/02/msg00030.html","label":"lists.debian.org/debian-lts-announce/2019/02/msg00030.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00040.html","label":"lists.opensuse.org/opensuse-security-announce/2019-09/msg00040.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-20177","label":"security.alpinelinux.org/vuln/CVE-2018-20177","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-20177","label":"ubuntu.com/security/CVE-2018-20177","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/rdesktop/rdesktop/commit/766ebcf6f23ccfe8323ac10242ae6e127d4505d2","label":"github.com/rdesktop/rdesktop/commit/766ebcf6f23ccfe8323ac10242ae6e127d4505d2","hostname":"github.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20177","label":"www.cve.org/CVERecord?id=CVE-2018-20177","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-20177","label":"security-tracker.debian.org/tracker/CVE-2018-20177","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1683-1","DSA-4394-1","MGASA-2019-0041","OPENSUSE-SU-2019:2135-1","OPENSUSE-SU-2024:11298-1"],"duplicates":[],"related":["OPENSUSE-SU-2019:2135-1","OPENSUSE-SU-2024:11298-1"]},"timeline":[{"kind":"published","date":"2019-03-15T18:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T11:58:18.260Z","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-19T21:38:01.711Z","stale":false,"partial":false}}