{"schemaVersion":3,"id":"CVE-2017-3158","aliases":["UBUNTU-CVE-2017-3158","GHSA-3vv3-585q-wv6x"],"status":"published","duplicateOf":null,"title":null,"description":"A race condition in Guacamole's terminal emulator in versions 0.9.5 through 0.9.10-incubating could allow writes of blocks of printed data to overlap. Such overlapping writes could cause packet data to be misread as the packet length, resulting in the remaining data being written beyond the end of a statically-allocated buffer.","dates":{"published":"2018-01-18T20:00:00.000Z","modified":"2024-09-16T16:37:33.486Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/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":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Maven","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.01221,"percentile":0.6829,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01221},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01398,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01221,"percentile":0.6829}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01398,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01221,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01221,"percentile":0.6829}]},"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-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","description":"The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/362.html"}],"affected":[{"vendor":"apache software foundation","product":"apache guacamole","name":"Apache Guacamole","label":"apache guacamole","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"Apache Guacamole 0.9.5 to 0.9.10-incubating","noFixRecorded":false,"fixedIn":null}],"versionsText":"Apache Guacamole 0.9.5 to 0.9.10-incubating","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_guacamole"},{"vendor":"apache","product":"guacamole","name":"guacamole","label":"guacamole","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.9.9","noFixRecorded":false,"fixedIn":null},{"text":"0.9.10-incubating","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.9.9 | 0.9.10-incubating","eol":null,"hubHref":"/vendor/apache/guacamole"},{"vendor":"ubuntu","product":"guacamole-client","name":"guacamole-client","label":"guacamole-client","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/guacamole-client","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"guacamole-server","name":"guacamole-server","label":"guacamole-server","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/guacamole-server","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"org.apache.guacamole","product":"guacamole-common","name":"org.apache.guacamole:guacamole-common","label":"guacamole-common","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.guacamole/guacamole-common","purlType":"maven","versions":[{"text":"≥ 0.9.5, < 0.9.11-incubating","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.9.5, < 0.9.11-incubating","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread.html/b218d36bfdaf655d27382daec4dcd02ec717631f4aee8b7e4300ad65%40%3Cuser.guacamole.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["X Refsource MISC"]},{"url":"https://ubuntu.com/security/CVE-2017-3158","label":"ubuntu.com/security/CVE-2017-3158","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://lists.apache.org/thread.html/b218d36bfdaf655d27382daec4dcd02ec717631f4aee8b7e4300ad65@%3Cuser.guacamole.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["REPORT","WEB"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-3158","label":"www.cve.org/CVERecord?id=CVE-2017-3158","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-3158","label":"nvd.nist.gov/vuln/detail/CVE-2017-3158","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-01-18T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T16:37:33.486Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:56:08.634Z","stale":false,"partial":false}}