{"id":"CVE-2019-9848","details":"LibreOffice has a feature where documents can specify that pre-installed scripts can be executed on various document events such as mouse-over, etc. LibreOffice is typically also bundled with LibreLogo, a programmable turtle vector graphics script, which can be manipulated into executing arbitrary python commands. By using the document event feature to trigger LibreLogo to execute python contained within a document a malicious document could be constructed which would execute arbitrary python commands silently without warning. In the fixed versions, LibreLogo cannot be called from a document event handler. This issue affects: Document Foundation LibreOffice versions prior to 6.2.5.","modified":"2026-05-18T14:18:33.323458Z","published":"2019-07-17T12:15:10.770Z","related":["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"],"database_specific":{"unresolved_ranges":[{"source":"CPE_FIELD","extracted_events":[{"last_affected":"16.04"},{"last_affected":"18.04"},{"last_affected":"19.04"}],"vendor_product":"canonical:ubuntu_linux","cpes":["cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*"]},{"source":"CPE_FIELD","extracted_events":[{"last_affected":"8.0"}],"vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"]},{"source":"CPE_FIELD","extracted_events":[{"last_affected":"29"},{"last_affected":"30"}],"vendor_product":"fedoraproject:fedora","cpes":["cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*"]},{"source":"CPE_FIELD","extracted_events":[{"last_affected":"15.0"},{"last_affected":"15.1"}],"vendor_product":"opensuse:leap","cpes":["cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*","cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"]}]},"references":[{"type":"WEB","url":"http://www.securityfocus.com/bid/109374"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XPTZJCNN52VNGSVC5DFKVW3EDMRDWKMP/"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2019/Aug/28"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201908-13"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4063-1/"},{"type":"ADVISORY","url":"https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9848"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libreoffice/core","events":[{"introduced":"0"},{"fixed":"af17b2cd26a1e36edf0b995f81a2e0757086dad1"}],"database_specific":{"source":"CPE_FIELD","cpe":"cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"6.2.5"}]}}],"versions":["cp-6.2-4","CODE-4.2.0-4","cp-6.2-3","CODE-4.2.0-3","CODE-4.2.0-2","co-6.2-2","CODE-4.2.0-1","co-6.2-1","cp-6.2-branch-point","libreoffice-6-2-branch-point","libreoffice-6-1-branch-point","libreoffice-6-0-branch-point","gpg4libre-review-5.4.99","libreoffice-5-4-branch-point","libreoffice-5-3-branch-point","libreoffice-5-2-branch-point","libreoffice-5-1-branch-point","libreoffice-5-0-branch-point","libreoffice-4-4-branch-point","libreoffice-4-3-branch-point","sdremote-2.0.0","libreoffice-4-2-branch-point","libreoffice-4-2-milestone-1","libreoffice-4-1-branch-point","libreoffice-4-0-branch-point","libreoffice-3-6-branch-point","libreoffice-3.5.0.0","libreoffice-3-5-branch-point","windows_build_successful_2011_11_08","MELD_LIBREOFFICE_REPOS"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-9848.json","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/libreoffice/core/commit/af17b2cd26a1e36edf0b995f81a2e0757086dad1","id":"CVE-2019-9848-eee0652d","target":{"file":"comphelper/source/misc/lok.cxx"},"deprecated":false,"signature_type":"Line","digest":{"threshold":0.9,"line_hashes":["233200441047925480252906591352144612406","264490658401332878748836263305079951235","203216785748593587068655570867337821875","12987806305500356543948192892457400390","35224439694116169344374987044831240565","149819950462864929760415489721791099395","29851043395935371125434107625009581462","35004788861910209482010217534733274947"]}}],"vanir_signatures_modified":"2026-05-18T14:18:33Z"}}],"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"}]}