{"id":"CVE-2019-9851","details":"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.","modified":"2026-04-09T06:46:28.639866Z","published":"2019-08-15T22:15:22.290Z","related":["MGASA-2019-0340","SUSE-SU-2019:2231-1","SUSE-SU-2019:2401-1","SUSE-SU-2019:2402-1","openSUSE-SU-2019:2057-1","openSUSE-SU-2019:2183-1","openSUSE-SU-2024:10983-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2019/Aug/28"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4501"},{"type":"ADVISORY","url":"https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9851"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4102-1/"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html"},{"type":"ADVISORY","url":"http://packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libreoffice/core","events":[{"introduced":"0"},{"fixed":"7c4bdddf82580ab62e442ff6497af92e69fddd5e"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"6.2.6"}]}}],"versions":["CODE-4.2.0-1","CODE-4.2.0-2","CODE-4.2.0-3","CODE-4.2.0-4","CP-Android-iOS-4.2.0","MELD_LIBREOFFICE_REPOS","co-6.2-1","co-6.2-2","cp-6.2-3","cp-6.2-4","cp-6.2-5","cp-6.2-branch-point","gpg4libre-review-5.4.99","libreoffice-3-5-branch-point","libreoffice-3-6-branch-point","libreoffice-3.5.0.0","libreoffice-4-0-branch-point","libreoffice-4-1-branch-point","libreoffice-4-2-branch-point","libreoffice-4-2-milestone-1","libreoffice-4-3-branch-point","libreoffice-4-4-branch-point","libreoffice-5-0-branch-point","libreoffice-5-1-branch-point","libreoffice-5-2-branch-point","libreoffice-5-3-branch-point","libreoffice-5-4-branch-point","libreoffice-6-0-branch-point","libreoffice-6-1-branch-point","libreoffice-6-2-branch-point","sdremote-2.0.0","windows_build_successful_2011_11_08"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.04"}]},{"events":[{"introduced":"0"},{"last_affected":"19.04"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"10.0"}]},{"events":[{"introduced":"0"},{"last_affected":"29"}]},{"events":[{"introduced":"0"},{"last_affected":"15.0"}]},{"events":[{"introduced":"0"},{"last_affected":"15.1"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-9851.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}