CVE-2019-9851: LibreLogo global-event script execution
Vulnerability summary
CVE-2019-9851 is a critical (CVSS 9.8) Improper Input Validation vulnerability in canonical ubuntu_linux. EPSS estimates a 77.84% chance of exploitation in the next 30 days, higher than 99.5% of scored vulnerabilities. 2 public exploits are recorded.
Weaponized exploit (Metasploit, 16-07-2019)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 7Timeline
- 15-08-2019PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 4 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
77.84%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 77.84% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundLibreOffice < 6.2.6 Macro - Python Code Execution (Metasploit)
Maturity: poc
LibreOffice Macro Python Code Execution
exploit/multi/fileformat/libreoffice_logo_exec
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- libreoffice< 1:6.3.0-1
- debian_linuxEOL8.0 | 9.0 | 10.0
Alpine1 product
- libreoffice< 6.2.6.2-r0 | < 6.3.0.4-r0
Canonical1 product
- ubuntu_linuxEOL16.04 | 18.04 | 19.04
Document foundation1 product
- libreoffice≥ unspecified, < 6.2.6
Fedoraproject1 product
- fedoraEOL29
Libreoffice1 product
- libreoffice< 6.2.6
Opensuse1 product
- leapEOL15.0 | 15.1
Ubuntu1 product
- libreoffice< 1:5.1.6~rc2-0ubuntu1~xenial9 | < 1:6.0.7-0ubuntu0.18.04.9
8 vendors · 9 products
References
15 links- www.libreoffice.org/about-us/security/advisories/CVE-2019-9851X Refsource CONFIRMREPORTVendor Advisory
- packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.htmlX Refsource MISCThird Party AdvisoryVDB Entry
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory
- lists.debian.org/debian-lts-announce/2019/10/msg00005.htmlMailing ListX Refsource MLISTThird Party Advisory