{"id":"CVE-2019-9851","published":"2019-08-15T21:35:46Z","modified":"2024-09-16T22:03:31Z","title":"LibreLogo global-event script execution","vendor":"Document Foundation","product":"LibreOffice","tier":"core","eol":null,"affectedVersions":[{"vendor":"Document Foundation","product":"LibreOffice","versions":[">= unspecified, < 6.2.6"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"In Document Foundation's LibreOffice, the bundled LibreLogo turtle graphics script can be triggered through global script event handlers, such as document-open, to run arbitrary Python commands embedded in a document. An attacker who can supply a crafted document to a user running a vulnerable LibreOffice version (prior to 6.2.6) can achieve code execution through this path, which bypasses the earlier protection that only blocked LibreLogo calls from document-level event handlers.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:16:23Z"},"cvss":null,"epss":{"score":0.77837,"percentile":0.9957,"date":"2026-11-01","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":1,"pulses":[{"name":"Thor-Lite Linux 64 (06.11.24) - enriched a bit more but not 'pruned'","url":"https://otx.alienvault.com/pulse/6668b85065eec626e4766a38","created":"2024-06-11"}],"provenance":"machine"},"cwes":[],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9851","tags":["x_refsource_CONFIRM"]},{"url":"https://seclists.org/bugtraq/2019/Aug/28","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://www.debian.org/security/2019/dsa-4501","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.html","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://usn.ubuntu.com/4102-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html","tags":["mailing-list","x_refsource_MLIST"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2019-19207","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-19207","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":47298,"url":"https://www.exploit-db.com/exploits/47298","title":"LibreOffice < 6.2.6 Macro - Python Code Execution (Metasploit)","type":"remote","platform":"multiple","date":"2019-08-21","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2019-08-21"},"metasploit":[{"name":"LibreOffice Macro Python Code Execution","module":"exploit/multi/fileformat/libreoffice_logo_exec","type":"exploit","disclosureDate":"2019-07-16","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/fileformat/libreoffice_logo_exec.rb"}],"first":{"date":"2019-07-16","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/fileformat/libreoffice_logo_exec.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.html"],"flow":[],"timeline":[{"date":"2019-07-16","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2019-08-21","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/fileformat/libreoffice_logo_exec.rb","provenance":"source"},{"date":"2019-08-15","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2019-9851","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":25.6,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.91,"detail":"percentile 0.9957"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 NVD exploit link; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}