{"schemaVersion":3,"id":"CVE-2019-9852","aliases":["UBUNTU-CVE-2019-9852","DEBIAN-CVE-2019-9852"],"status":"published","duplicateOf":null,"title":null,"description":"LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2018-16858, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed. However this new protection could be bypassed by a URL encoding attack. In the fixed versions, the parsed url describing the script location is correctly encoded before further processing. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.","dates":{"published":"2019-08-15T21:40:18.556Z","modified":"2024-09-17T03:42:47.414Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/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":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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}]},"epss":{"probability":0.01752,"percentile":0.77553,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.17299999999999988,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01925},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01752,"percentile":0.77553}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01925,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01752,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01752,"percentile":0.77553}]},"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-116","name":"Improper Encoding or Escaping of Output","description":"The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/116.html"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null},{"text":"19.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"16.04 | 18.04 | 19.04","eol":{"isEol":true,"eolDate":"2021-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"16.04","label":"16.04 'Xenial Xerus' (LTS)","eolFrom":"2021-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"16.04.7"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"libreoffice","name":"libreoffice","label":"libreoffice","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libreoffice","purlType":"deb","versions":[{"text":"< 1:6.3.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:6.3.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libreoffice","name":"libreoffice","label":"libreoffice","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libreoffice","purlType":"deb","versions":[{"text":"< 1:5.1.6~rc2-0ubuntu1~xenial9","noFixRecorded":false,"fixedIn":null},{"text":"< 1:6.0.7-0ubuntu0.18.04.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:5.1.6~rc2-0ubuntu1~xenial9 | < 1:6.0.7-0ubuntu0.18.04.9","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},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0 | 10.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":"document foundation","product":"libreoffice","name":"LibreOffice","label":"libreoffice","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 6.2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 6.2.6","eol":null,"hubHref":"/vendor/document_foundation/libreoffice"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"29","noFixRecorded":false,"fixedIn":null}],"versionsText":"29","eol":{"isEol":true,"eolDate":"2019-11-26T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"29","label":"29","eolFrom":"2019-11-26T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"libreoffice","product":"libreoffice","name":"libreoffice","label":"libreoffice","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.2.6","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"libreoffice","label":"LibreOffice","category":"app"}},"hubHref":"/vendor/libreoffice/libreoffice"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.0","noFixRecorded":false,"fixedIn":null},{"text":"15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.0 | 15.1","eol":{"isEol":true,"eolDate":"2019-12-03T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.0","label":"Leap 15.0","eolFrom":"2019-12-03T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"}],"affectedCount":8,"eol":{"hasEol":true,"count":4},"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9852","label":"www.libreoffice.org/about-us/security/advisories/CVE-2019-9852","hostname":"www.libreoffice.org","tags":["X Refsource MISC","REPORT","Patch","Vendor Advisory"]},{"url":"https://seclists.org/bugtraq/2019/Aug/28","label":"seclists.org/bugtraq/2019/Aug/28","hostname":"seclists.org","tags":["Mailing List","X Refsource BUGTRAQ","REPORT","Issue Tracking","Third Party Advisory"]},{"url":"https://www.debian.org/security/2019/dsa-4501","label":"www.debian.org/security/2019/dsa-4501","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://usn.ubuntu.com/4102-1/","label":"usn.ubuntu.com/4102-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html","label":"lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://seclists.org/bugtraq/2019/Sep/17","label":"seclists.org/bugtraq/2019/Sep/17","hostname":"seclists.org","tags":["Mailing List","X Refsource BUGTRAQ","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html","label":"lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html","label":"lists.debian.org/debian-lts-announce/2019/10/msg00005.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-9852","label":"ubuntu.com/security/CVE-2019-9852","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2019-9852/","label":"www.libreoffice.org/about-us/security/advisories/cve-2019-9852/","hostname":"www.libreoffice.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4102-1","label":"ubuntu.com/security/notices/USN-4102-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-9852","label":"www.cve.org/CVERecord?id=CVE-2019-9852","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-9852","label":"security-tracker.debian.org/tracker/CVE-2019-9852","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1947-1","DSA-4501-1","MGASA-2019-0340","OPENSUSE-SU-2019:2057-1","OPENSUSE-SU-2019:2183-1","RHSA-2020:1151","RHSA-2020:1598","SUSE-SU-2019:2231-1","SUSE-SU-2019:2401-1","SUSE-SU-2019:2402-1","USN-4102-1"],"duplicates":[],"related":["OPENSUSE-SU-2019:2057-1","OPENSUSE-SU-2019:2183-1","SUSE-SU-2019:2231-1","SUSE-SU-2019:2401-1","SUSE-SU-2019:2402-1","USN-4102-1"]},"timeline":[{"kind":"published","date":"2019-08-15T21:40:18.556Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T03:42:47.414Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T20:08:31.920Z","stale":false,"partial":false}}