CVE-2019-9851: canonical ubuntu_linux Improper Input Validation
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.
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
5 scores · 3 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
EPSS trend
Probability
77.84%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
-0.51 pp
From 78.35% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
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
Debian2 products
- libreoffice< 1:6.3.0-1
- debian_linuxEOL8.0 | 9.0 | 10.0
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
7 vendors · 8 products
References
14 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