CVE-2019-9851LibreOffice Code Injection
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.
Published Aug 15, 2019 · Updated Nov 3, 2026 · Also known as ALPINE-CVE-2019-9851, CLEANSTART-2025-KL40837, 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. A public exploit is reported by tracking sources, but no code link is listed yet.
- 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.
Scores
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
Exploit maturity
Weaponized
ATLAS score
71/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
2
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://security.alpinelinux.org/vuln/CVE-2019-9851
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2019-9851
- advisoryhttps://ubuntu.com/security/CVE-2019-9851
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2019-9851
- advisoryhttps://www.libreoffice.org/about-us/security/advisories/cve-2019-9851/
- advisoryhttps://www.libreoffice.org/about-us/security/advisories/CVE-2019-9851
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,110 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
Nov 3, 2026
Weakness Type
- CWE-20 Improper Input Validation
- CWE-94 Improper Control of Generation of Code
References
- advisorysecurity.alpinelinux.org · CVE-2019-9851
- advisorysecurity-tracker.debian.org · CVE-2019-9851
- advisoryubuntu.com · CVE-2019-9851
- advisorycve.org · CVERecord
- advisorylibreoffice.org · CVE-2019-9851
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.
A public exploit is reported by tracking sources, but no code link is listed yet.
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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo