Home / Document Foundation / LibreOffice / CVE-2019-9854
CVE-2019-9854: is it exploited, and which versions of Document Foundation LibreOffice are affected and fixed?
CVE-2019-9854 is a path traversal (reading or writing files outside the intended folder) 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, 10:08 UTC). Affected: LibreOffice from 6.2 before 6.2.7 and LibreOffice from 6.3 before 6.3.1 (CVE record by Document Fdn.). Fixed in 6.2.7 and 6.3.1 (CVE record by Document Fdn.). Severity: High (7.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:20 UTC.
What is CVE-2019-9854?
Unsafe URL assembly flaw in allowed script location check
LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2019-9852, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed by employing a URL encoding attack to defeat the path verification step. However this protection could be bypassed by taking advantage of a flaw in how LibreOffice assembled the final script URL location directly from components of the passed in path as opposed to solely from the sanitized output of the path verification step. This issue affects: Document Foundation LibreOffice 6.2 versions prior to 6.2.7; 6.3 versions prior to 6.3.1.
From the CVE record by Document Fdn., last updated September 16, 2024, 19:24 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Document Foundation | LibreOffice | from 6.2 before 6.2.7 from 6.3 before 6.3.1 | 6.2.7, 6.3.1 |
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 |
|---|---|---|---|
| libreoffice | libreoffice | from 6.2.0 before 6.2.7 | application |
| libreoffice | libreoffice | from 6.3.0 before 6.3.1 | application |
| 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 |
| redhat | enterprise linux | 7.0 | operating system |
| redhat | enterprise linux | 8.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:44 UTC.
How severe is CVE-2019-9854?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/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-9854 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.76% probability of exploitation activity in the next 30 days, percentile 78.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9854/ x_refsource_CONFIRM
- DSA-4519 vendor-advisory, x_refsource_DEBIAN
- 20190910 [SECURITY] [DSA 4519-1] libreoffice security update mailing-list, x_refsource_BUGTRAQ
- FEDORA-2019-9627e1402e vendor-advisory, x_refsource_FEDORA
- USN-4138-1 vendor-advisory, x_refsource_UBUNTU
- 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
- openSUSE-SU-2019:2361 vendor-advisory, x_refsource_SUSE
Who found and reported it?
- Thanks to RiceX(@ricex_cc) for 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
- September 6, 2019, 18:30 UTC
- CVE record updated
- September 16, 2024, 19:24 UTC by Document Fdn.
- NVD
- Modified, last modified June 17, 2026, 02:44 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:20 UTC; KEV December 3, 2026, 10: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
- Aug 15, 2019CVE-2019-9852 Document Foundation LibreOffice: improper output encoding
- Aug 15, 2019CVE-2019-9851 Document Foundation LibreOffice: improper input validation
- 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-9854
Is CVE-2019-9854 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 1.76% 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-9854?
LibreOffice from 6.2 before 6.2.7 and LibreOffice from 6.3 before 6.3.1, per the CVE record by Document Fdn.. The tables above give every range the sources list.
Which version fixes CVE-2019-9854?
6.2.7 and 6.3.1, per the CVE record by Document Fdn.. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-9854?
High (7.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-9854?
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.