# CVE-2019-9851: LibreLogo global-event script execution

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 77.8%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-08-15T21:35:46.759Z
- Modified: 2026-06-17T02:44:43.303Z
- Weaknesses: CWE-20
- Assigned by: Document Fdn.

## 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.

(As written by CVE List.)

## Affected

- Document Foundation LibreOffice: from unspecified before 6.2.6
- canonical ubuntu_linux: 16.04; 18.04; 19.04
- debian debian_linux: 8.0; 9.0; 10.0
- fedoraproject fedora: 29
- opensuse leap: 15.0; 15.1
- libreoffice libreoffice: before 6.2.6

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <http://packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.html> (exploit, third-party-advisory, vdb-entry)
- <https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9851> (vendor-advisory)
- <https://seclists.org/bugtraq/2019/Aug/28> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2019/dsa-4501> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/> (vendor-advisory)
- <https://usn.ubuntu.com/4102-1/> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2019-9851](https://www.cve.org/CVERecord?id=CVE-2019-9851), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2019-9851](https://nvd.nist.gov/vuln/detail/CVE-2019-9851), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-9851 · Whole record: https://cve.day/CVE-2019-9851.json · Rebuilt by cve.day 2026-11-25T22:57:46.552Z
