CVE-2019-9851
CriticalPublic exploitLibreOffice 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.
Published Aug 15, 2019 · Updated Aug 4, 2026 · Also known as DEBIAN-CVE-2019-9851, UBUNTU-CVE-2019-9851
Key Facts
Patch immediately- CVE-2019-9851 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting LibreOffice, Ubuntu Linux (Canonical), Debian Linux and 22 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 78% probability of exploitation in the next 30 days.
- Fixed versions are available, including autocorr-af 1:5.3.6.1-24.0.1.el7, autocorr-af 1:6.0.6.1-20.0.1.el8, autocorr-bg 1:5.3.6.1-24.0.1.el7.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
78%
Higher than 99.5% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2019-9851 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Affected Products
1,105 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| LibreOfficeLibreoffice | >= unspecified | 6.2.6 |
| Ubuntu LinuxCanonical | 16.04, 18.04, 19.04 | n/a |
| Debian LinuxDebian | 10.0, 8.0, 9.0 | n/a |
| FedoraFedoraproject | 29 | n/a |
| LeapOpensuse | 15.0, 15.1 | n/a |
Patched Releases
autocorr-af
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-bg
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-ca
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-cs
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-da
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-de
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-en
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-es
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-fa
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-fi
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-fr
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-ga
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-hr
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-hu
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-is
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-it
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-ja
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-ko
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-lb
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-lt
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-mn
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-nl
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-pl
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-pt
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
autocorr-ro
1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8
Timeline
Publicly disclosed
Aug 15, 2019
Last updated
Aug 4, 2026
Weakness Type
- CWE-20 Improper Input Validation
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- advisoryopenSUSE-SU-2019:2057
- advisoryopenSUSE-SU-2019:2183
- advisoryhttp://packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.html
- advisoryRHSA-2020:1151
- advisoryRHSA-2020:1598
FAQ
Common Questions.
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.
Affected: LibreOffice versions >= unspecified; Ubuntu Linux (Canonical) versions 16.04, 18.04, 19.04; Debian Linux versions 10.0, 8.0, 9.0, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including autocorr-af 1:5.3.6.1-24.0.1.el7, autocorr-af 1:6.0.6.1-20.0.1.el8, autocorr-bg 1:5.3.6.1-24.0.1.el7.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2019-9851 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo