{"id":"CVE-2019-9851","url":"https://www.cyber-defence.io/tools/cve/CVE-2019-9851","generatedAt":"2026-11-05T02:46:50.026Z","title":"LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained with the document it is launched from.","description":"LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained with the document it is launched from. Protection was added, to address CVE-2019-9848, to block calling LibreLogo from document event script handers, e.g. mouse over. However LibreOffice also has a separate feature where documents can specify that pre-installed scripts can be executed on various global script events such as document-open, etc. In the fixed versions, global script event handlers are validated equivalently to document script event handlers. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.","published":"2019-08-15T22:15:22.000Z","lastModified":"2026-06-17T02:44:43.000Z","status":"Modified","sourceIdentifier":"security@documentfoundation.org","cvss":{"version":"3.1","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"},"cwe":["CWE-20"],"affected":["canonical/ubuntu linux","debian/debian linux","fedoraproject/fedora","opensuse/leap","libreoffice/libreoffice"],"epss":{"score":0.77837,"percentile":0.99571,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2019-08-21","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":47298,"kind":"exploit","title":"LibreOffice < 6.2.6 Macro - Python Code Execution (Metasploit)","url":"https://www.exploit-db.com/exploits/47298","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/remote/47298.rb","file":"exploits/multiple/remote/47298.rb","published":"2019-08-21","added":"2019-08-21","updated":"2019-08-21","author":"LoadLow","type":"remote","platform":"multiple","port":null,"verified":false,"codes":["CVE-2019-9851"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 77.8%, higher than 100% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html","tags":["Mailing List","Third Party Advisory"],"source":"security@documentfoundation.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html","tags":["Mailing List","Third Party Advisory"],"source":"security@documentfoundation.org"},{"url":"http://packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.html","tags":["Third Party Advisory","VDB Entry"],"source":"security@documentfoundation.org"},{"url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html","tags":["Mailing List","Third Party Advisory"],"source":"security@documentfoundation.org"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/","source":"security@documentfoundation.org"},{"url":"https://seclists.org/bugtraq/2019/Aug/28","tags":["Mailing List","Third Party Advisory"],"source":"security@documentfoundation.org"},{"url":"https://usn.ubuntu.com/4102-1/","tags":["Third Party Advisory"],"source":"security@documentfoundation.org"},{"url":"https://www.debian.org/security/2019/dsa-4501","tags":["Third Party Advisory"],"source":"security@documentfoundation.org"},{"url":"https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9851","tags":["Vendor Advisory"],"source":"security@documentfoundation.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.html","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://seclists.org/bugtraq/2019/Aug/28","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/4102-1/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2019/dsa-4501","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9851","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-9851","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}