Home / Document Foundation / LibreOffice / CVE-2019-9851
CVE-2019-9851: is it exploited, and which versions of Document Foundation LibreOffice are affected and fixed?
CVE-2019-9851 is an improper input validation vulnerability in Document Foundation LibreOffice. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: LibreOffice before 6.2.6 (CVE record by Document Fdn.). Fixed in 6.2.6 (CVE record by Document Fdn.). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 28, 2026, 20:40 UTC and NVD November 19, 2026, 08:20 UTC.
What is CVE-2019-9851?
LibreLogo global-event script execution
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.
From the CVE record by Document Fdn., last updated September 16, 2024, 22:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Document Foundation | LibreOffice | before 6.2.6 | 6.2.6 |
As the CVE record by Document Fdn. states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| canonical | ubuntu linux | 19.04 | operating system |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
| fedoraproject | fedora | 29 | operating system |
| opensuse | leap | 15.0 | operating system |
| opensuse | leap | 15.1 | operating system |
| libreoffice | libreoffice | before 6.2.6 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:44 UTC.
How severe is CVE-2019-9851?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-9851 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 77.8% probability of exploitation activity in the next 30 days, percentile 99.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9851 x_refsource_CONFIRM
- 20190815 [SECURITY] [DSA 4501-1] libreoffice security update mailing-list, x_refsource_BUGTRAQ
- DSA-4501 vendor-advisory, x_refsource_DEBIAN
- http://packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.html x_refsource_MISC
- FEDORA-2019-2fe22a3a2c vendor-advisory, x_refsource_FEDORA
- USN-4102-1 vendor-advisory, x_refsource_UBUNTU
- openSUSE-SU-2019:2057 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2019:2183 vendor-advisory, x_refsource_SUSE
- [debian-lts-announce] 20191006 [SECURITY] [DLA 1947-1] libreoffice security update mailing-list, x_refsource_MLIST
Who found and reported it?
- Thanks to Gabriel Masei of 1&1 for discovering and reporting this issue (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 17, 2019
- Published
- August 15, 2019, 21:35 UTC
- CVE record updated
- September 16, 2024, 22:03 UTC by Document Fdn.
- NVD
- Modified, last modified June 17, 2026, 02:44 UTC
- Last checked
- CVE list November 28, 2026, 20:40 UTC; NVD November 19, 2026, 08:20 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect LibreOffice?
- Sep 27, 2019CVE-2019-9853 Document Foundation LibreOffice: improper output encoding
- Sep 6, 2019CVE-2019-9855 Document Foundation LibreOffice: Windows 8.3 path equivalence handling flaw
- Sep 6, 2019CVE-2019-9854 Document Foundation LibreOffice: path traversal (reading or writing files outside the intended folder)
- Aug 15, 2019CVE-2019-9852 Document Foundation LibreOffice: improper output encoding
- Aug 15, 2019CVE-2019-9850 Document Foundation LibreOffice: improper input validation
- Jul 17, 2019CVE-2019-9849 Document Foundation LibreOffice: In 'stealth mode' where only trusted documents are allowed to download remote resources untrusted documents could downlo
- Jul 17, 2019CVE-2019-9848 Document Foundation LibreOffice: code injection (remote code execution)
- May 9, 2019CVE-2019-9847 Document Foundation LibreOffice: improper input validation
Questions about CVE-2019-9851
Is CVE-2019-9851 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 77.8% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Document Foundation LibreOffice are affected by CVE-2019-9851?
LibreOffice before 6.2.6, per the CVE record by Document Fdn.. The tables above give every range the sources list.
Which version fixes CVE-2019-9851?
6.2.6, per the CVE record by Document Fdn.. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-9851?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-9851?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.