CVE-2019-9851 | LibreLogo global-event script execution

Exp

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-15 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2019-9851 is rated High Exploit Risk (88.9/100): CVSS Critical severity, with high exploitation likelihood (EPSS 85.08%, 99th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2019-9851

EDB-ID Source Kind Published Link
47298 exploit_db edb 2019-08-21 Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2019-9851

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-31 85.20% 85.08% -0.13%
2 2026-05-27 85.78% 85.20% -0.58%
3 2026-02-25 85.78%

Full EPSS history (30 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2019-9851

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2019-9851

OS Trackers for CVE-2019-9851

vendor priority summary link
alpine critical CVE-2019-9851: 1 source package rows (libreoffice); 7 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 0. https://security.alpinelinux.org/vuln/CVE-2019-9851
debian not yet assigned CVE-2019-9851 not yet assigned priority: Debian including 1 source packages (libreoffice), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2019-9851
redhat medium https://access.redhat.com/security/cve/CVE-2019-9851
suse medium CVE-2019-9851 severity moderate: SUSE including 984 source package names (libreoffice-6.2.6.2-3.21.1, libreoffice-6.2.6.2-lp150.2.16.1, …), 1181 product×package rows across 22 product lines (SUSE Linux Enterprise Desktop 12 SP4, SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP2, … (22 product lines)): Fixed 1181. https://www.suse.com/security/cve/CVE-2019-9851/
ubuntu medium CVE-2019-9851 medium priority: Ubuntu including 1 source packages (libreoffice), 5 status rows across 5 suites (bionic, disco, trusty, upstream, xenial): released 4, DNE 1. https://ubuntu.com/security/CVE-2019-9851

Affected software / configurations for CVE-2019-9851

Vendor Product Version Raw CPE
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 19.04 cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
fedoraproject fedora 29 cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
opensuse leap 15.0 cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
opensuse leap 15.1 cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
libreoffice libreoffice < 6.2.6 cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*

References for CVE-2019-9851

URL Tags
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html Mailing List Third Party Advisory
http://packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.html Third Party Advisory VDB Entry
https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/
https://seclists.org/bugtraq/2019/Aug/28 Mailing List Third Party Advisory
https://usn.ubuntu.com/4102-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4501 Third Party Advisory
https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9851 Vendor Advisory
cvelogic Threat Intelligence